diff options
Diffstat (limited to 'plugin_installer/plugin_installer.py')
-rw-r--r-- | plugin_installer/plugin_installer.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugin_installer/plugin_installer.py b/plugin_installer/plugin_installer.py index 666dd72..ec993da 100644 --- a/plugin_installer/plugin_installer.py +++ b/plugin_installer/plugin_installer.py @@ -450,7 +450,9 @@ class PluginInstaller(GajimPlugin): root_iter = self.available_plugins_model.get_iter_first() selection.select_iter(root_iter) scr_win = self.xml.get_object('scrolledwindow2') - scr_win.get_vadjustment().set_value(0) + vadjustment = scr_win.get_vadjustment() + if vadjustment: + vadjustment.set_value(0) class Ftp(threading.Thread): |