mirror of
https://github.com/pulb/mailnag.git
synced 2026-02-09 21:36:45 +01:00
added workaround for gtk3 (gtk3 < 3.8) bug
This commit is contained in:
@@ -352,6 +352,10 @@ class ConfigWindow:
|
||||
|
||||
|
||||
def _on_treeview_plugins_cursor_changed(self, treeview):
|
||||
# Workaround for a bug in GTK < 3.8,
|
||||
# see http://permalink.gmane.org/gmane.comp.gnome.svn/694089
|
||||
if not self._window.get_visible(): return
|
||||
|
||||
plugin, model, iter = self._get_selected_plugin()
|
||||
if iter != None:
|
||||
self._button_edit_plugin.set_sensitive(plugin.has_config_ui())
|
||||
|
||||
Reference in New Issue
Block a user