[meld] Give our NotebookLabel a custom type



commit f47b1c8825c75253caea1aa37f73b1c2d0ea1876
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sun Mar 31 14:07:48 2013 +1000

    Give our NotebookLabel a custom type

 meld/ui/notebooklabel.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/meld/ui/notebooklabel.py b/meld/ui/notebooklabel.py
index 00331ca..e0eeb2d 100644
--- a/meld/ui/notebooklabel.py
+++ b/meld/ui/notebooklabel.py
@@ -34,6 +34,8 @@ gtk.rc_parse_string(
     """)
 
 class NotebookLabel(gtk.HBox):
+    __gtype_name__ = "NotebookLabel"
+
     tab_width_in_chars = 30
 
     def __init__(self, iconname, text, onclose):


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