From 381577689496911d9b5661046f80bd92b421fc28 Mon Sep 17 00:00:00 2001 From: Aneesh Dogra Date: Tue, 18 Dec 2012 17:22:00 +0000 Subject: Fixes. --- (limited to 'mmm_modules/image_category.py') diff --git a/mmm_modules/image_category.py b/mmm_modules/image_category.py index 92af2ee..30cc866 100755 --- a/mmm_modules/image_category.py +++ b/mmm_modules/image_category.py @@ -154,8 +154,8 @@ class CategoryDirectory (object): class ImageSelectorWidget (Gtk.Table): - __gsignals__ = {'category_press' : (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, ()), - 'image_press' : (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, ()),} + __gsignals__ = {'category_press' : (GObject.SIGNAL_RUN_LAST, GObject.TYPE_NONE, ()), + 'image_press' : (GObject.SIGNAL_RUN_LAST, GObject.TYPE_NONE, ()),} def __init__ (self,parentp, width=IMAGE_SIZE, @@ -393,7 +393,7 @@ class ImageSelectorWidget (Gtk.Table): self.image.set_from_pixbuf(self.category.get_image(obj.get('filename', None))) class CategorySelector (Gtk.ScrolledWindow): - __gsignals__ = {'selected' : (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, (str,))} + __gsignals__ = {'selected' : (GObject.SIGNAL_RUN_LAST, GObject.TYPE_NONE, (str,))} def __init__ (self, title=None, selected_category_path=None, path=None, extra=()): Gtk.ScrolledWindow.__init__ (self) -- cgit v0.9.1