Commit a541b4ef authored by Philipp Hörist's avatar Philipp Hörist

Select correct notebook tab - Fixes #133

parent 6065fa67
[info] [info]
name: Plugin Installer name: Plugin Installer
short_name: plugin_installer short_name: plugin_installer
version: 0.14 version: 0.15
description: Install and upgrade plugins from ftp description: Install and upgrade plugins from ftp
authors: Denis Fomin <fominde@gmail.com> authors: Denis Fomin <fominde@gmail.com>
Yann Leboulanger <asterix@lagaule.org> Yann Leboulanger <asterix@lagaule.org>
......
...@@ -102,7 +102,8 @@ class PluginInstaller(GajimPlugin): ...@@ -102,7 +102,8 @@ class PluginInstaller(GajimPlugin):
self.upgrading = True self.upgrading = True
self.pl_menuitem.activate() self.pl_menuitem.activate()
nb = gajim.interface.instances['plugins'].plugins_notebook nb = gajim.interface.instances['plugins'].plugins_notebook
GLib.idle_add(nb.set_current_page, 1) page = nb.page_num(self.hpaned)
GLib.idle_add(nb.set_current_page, page)
if plugins: if plugins:
plugins_str = '\n'.join(plugins) plugins_str = '\n'.join(plugins)
YesNoDialog(_('Plugins updates'), _('Some updates are available for' YesNoDialog(_('Plugins updates'), _('Some updates are available for'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment