Select correct notebook tab - Fixes #133
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
[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):
|
|||||||
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'
|
||||||
|
|||||||
Reference in New Issue
Block a user