changeset 39e2e2a91b48 in /home/hg/repos/gajim
branches: gtk3 details:http://hg.gajim.org/gajim?cmd=changeset;node=39e2e2a91b48 description: GObject -> GLib
diffstat:
src/plugins/gui.py | 7 +++---- 1 файлов изменено, 3 вставок(+), 4 удалений(-)
различия (31 строк):
diff -r 3aed37852ec6 -r 39e2e2a91b48 src/plugins/gui.py --- a/src/plugins/gui.py Tue Jul 30 20:05:28 2013 +0400 +++ b/src/plugins/gui.py Tue Jul 30 23:00:27 2013 +0400 @@ -29,7 +29,7 @@ from gi.repository import Pango from gi.repository import Gtk from gi.repository import GdkPixbuf -from gi.repository import GObject +from gi.repository import GLib import os
import gtkgui_helpers @@ -68,8 +68,7 @@ for widget_name in widgets_to_extract: setattr(self, widget_name, self.xml.get_object(widget_name))
- self.installed_plugins_model = Gtk.ListStore(GObject.TYPE_PYOBJECT, - GObject.TYPE_STRING, GObject.TYPE_BOOLEAN, GObject.TYPE_BOOLEAN, + self.installed_plugins_model = Gtk.ListStore(object, str, bool, bool, GdkPixbuf.Pixbuf) self.installed_plugins_treeview.set_model(self.installed_plugins_model) self.installed_plugins_treeview.set_rules_hint(True) @@ -117,7 +116,7 @@
def on_plugins_notebook_switch_page(self, widget, page, page_num): - GObject.idle_add(self.xml.get_object('close_button').grab_focus) + GLib.idle_add(self.xml.get_object('close_button').grab_focus)
@log_calls('PluginsWindow') def installed_plugins_treeview_selection_changed(self, treeview_selection):