Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/sugar/graphics/notebook.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/sugar/graphics/notebook.py')
-rw-r--r--src/sugar/graphics/notebook.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/sugar/graphics/notebook.py b/src/sugar/graphics/notebook.py
index 65d3522..603b7c9 100644
--- a/src/sugar/graphics/notebook.py
+++ b/src/sugar/graphics/notebook.py
@@ -27,13 +27,14 @@ STABLE.
import gtk
import gobject
+
class Notebook(gtk.Notebook):
+
__gtype_name__ = 'SugarNotebook'
__gproperties__ = {
'can-close-tabs': (bool, None, None, False,
- gobject.PARAM_READWRITE |
- gobject.PARAM_CONSTRUCT_ONLY)
+ gobject.PARAM_READWRITE | gobject.PARAM_CONSTRUCT_ONLY),
}
def __init__(self, **kwargs):