pkgbuild ready for 0.6.1, fix in systray

This commit is contained in:
Nikos Kouremenos 2005-04-02 21:48:12 +00:00
parent a1e7e9b191
commit 8e419e899c
5 changed files with 8 additions and 9 deletions

View File

@ -9,7 +9,6 @@ url="http://www.gajim.org"
license="GPL"
depends=(pygtk)
source=($url/downloads/$pkgname-$pkgver.tar.bz2)
md5sums=(ac8bc1a3b67016467835fbd1a4a7982a)
build() {
cd $startdir/src/$pkgname-$pkgver
@ -28,3 +27,4 @@ build() {
make DESTDIR=$startdir/pkg install
}
md5sums=('4861b308498d7e20d651106a3d46e79d')

Binary file not shown.

After

Width:  |  Height:  |  Size: 736 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 841 B

After

Width:  |  Height:  |  Size: 841 B

View File

@ -1378,7 +1378,6 @@ class Roster_window:
self.hidden_lines = self.plugin.config['hiddenlines'].split('\t')
self.draw_roster()
if len(self.plugin.accounts) == 0:
self.plugin.windows['accounts'] = Accounts_window(self.plugin)
if len(self.plugin.accounts) == 0: # if no account
self.plugin.windows['account_modification_window'] = \
Account_modification_window(self.plugin, {})

View File

@ -211,22 +211,22 @@ class Systray:
self.make_menu(event)
def on_online_menuitem_activate(self, widget):
self.plugin.roster.cb.set_active(0) # 0 is online
self.plugin.roster.status_combobox.set_active(0) # 0 is online
def on_away_menuitem_activate(self, widget):
self.plugin.roster.cb.set_active(1) # 1 is away
self.plugin.roster.status_combobox.set_active(1) # 1 is away
def on_xa_menuitem_activate(self, widget):
self.plugin.roster.cb.set_active(2) # 2 is xa
self.plugin.roster.status_combobox.set_active(2) # 2 is xa
def on_dnd_menuitem_activate(self, widget):
self.plugin.roster.cb.set_active(3) # 3 is dnd
self.plugin.roster.status_combobox.set_active(3) # 3 is dnd
def on_invisible_menuitem_activate(self, widget):
self.plugin.roster.cb.set_active(4) # 4 is invisible
self.plugin.roster.status_combobox.set_active(4) # 4 is invisible
def on_offline_menuitem_activate(self, widget):
self.plugin.roster.cb.set_active(5) # 5 is offline
self.plugin.roster.status_combobox.set_active(5) # 5 is offline
def show_icon(self):
if not self.t: