pkgbuild ready for 0.6.1, fix in systray
This commit is contained in:
parent
a1e7e9b191
commit
8e419e899c
2
PKGBUILD
2
PKGBUILD
|
@ -9,7 +9,6 @@ url="http://www.gajim.org"
|
||||||
license="GPL"
|
license="GPL"
|
||||||
depends=(pygtk)
|
depends=(pygtk)
|
||||||
source=($url/downloads/$pkgname-$pkgver.tar.bz2)
|
source=($url/downloads/$pkgname-$pkgver.tar.bz2)
|
||||||
md5sums=(ac8bc1a3b67016467835fbd1a4a7982a)
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $startdir/src/$pkgname-$pkgver
|
cd $startdir/src/$pkgname-$pkgver
|
||||||
|
@ -28,3 +27,4 @@ build() {
|
||||||
|
|
||||||
make DESTDIR=$startdir/pkg install
|
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 |
|
@ -1378,7 +1378,6 @@ class Roster_window:
|
||||||
|
|
||||||
self.hidden_lines = self.plugin.config['hiddenlines'].split('\t')
|
self.hidden_lines = self.plugin.config['hiddenlines'].split('\t')
|
||||||
self.draw_roster()
|
self.draw_roster()
|
||||||
if len(self.plugin.accounts) == 0:
|
if len(self.plugin.accounts) == 0: # if no account
|
||||||
self.plugin.windows['accounts'] = Accounts_window(self.plugin)
|
|
||||||
self.plugin.windows['account_modification_window'] = \
|
self.plugin.windows['account_modification_window'] = \
|
||||||
Account_modification_window(self.plugin, {})
|
Account_modification_window(self.plugin, {})
|
||||||
|
|
|
@ -211,22 +211,22 @@ class Systray:
|
||||||
self.make_menu(event)
|
self.make_menu(event)
|
||||||
|
|
||||||
def on_online_menuitem_activate(self, widget):
|
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):
|
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):
|
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):
|
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):
|
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):
|
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):
|
def show_icon(self):
|
||||||
if not self.t:
|
if not self.t:
|
||||||
|
|
Loading…
Reference in New Issue