[gedit] Add the gtype to the popup.



commit 059f39e1b94ea5453087d33384fe2a563e6c00dc
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Mon Jan 17 18:37:09 2011 +0100

    Add the gtype to the popup.
    
    We must do this otherwise a bug is produced that the parent window
    is the one that gets the overriden methods. (thanks nud ;)

 plugins/quickopen/quickopen/popup.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/quickopen/quickopen/popup.py b/plugins/quickopen/quickopen/popup.py
index a8ecb18..899ebd0 100644
--- a/plugins/quickopen/quickopen/popup.py
+++ b/plugins/quickopen/quickopen/popup.py
@@ -24,6 +24,8 @@ import xml.sax.saxutils
 from virtualdirs import VirtualDirectory
 
 class Popup(Gtk.Dialog):
+        __gtype_name__ = "QuickOpenPopup"
+
         def __init__(self, window, paths, handler):
                 Gtk.Dialog.__init__(self,
                                     title=_('Quick Open'),



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]