changeset 32f4e9334baf in /home/hg/repos/gajim-plugins

author: lovetox <forenjun...@chelo.at>
branches: 
details:gajim-plugins?cmd=changeset;node=32f4e9334baf
description: Select correct notebook tab - Fixes #133

diffstat:

 plugin_installer/manifest.ini        |  2 +-
 plugin_installer/plugin_installer.py |  3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r c77d2e02ad88 -r 32f4e9334baf plugin_installer/manifest.ini
--- a/plugin_installer/manifest.ini     Tue Sep 20 16:41:39 2016 +0200
+++ b/plugin_installer/manifest.ini     Thu Sep 22 18:53:06 2016 +0200
@@ -1,7 +1,7 @@
 [info]
 name: Plugin Installer
 short_name: plugin_installer
-version: 0.11.30
+version: 0.11.40
 description: Install and upgrade plugins from ftp
 authors: Denis Fomin <fomi...@gmail.com>
  Yann Leboulanger <aste...@lagaule.org>
diff -r c77d2e02ad88 -r 32f4e9334baf plugin_installer/plugin_installer.py
--- a/plugin_installer/plugin_installer.py      Tue Sep 20 16:41:39 2016 +0200
+++ b/plugin_installer/plugin_installer.py      Thu Sep 22 18:53:06 2016 +0200
@@ -97,7 +97,8 @@
             self.upgrading = True
             self.pl_menuitem.activate()
             nb = gajim.interface.instances['plugins'].plugins_notebook
-            gobject.idle_add(nb.set_current_page, 1)
+            page = nb.page_num(self.hpaned)
+            gobject.idle_add(nb.set_current_page, page)
         if plugins:
             plugins_str = '\n'.join(plugins)
             YesNoDialog(_('Plugins updates'), _('Some updates are available 
for'
_______________________________________________
Commits mailing list
Commits@gajim.org
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to