Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/dialogs.py
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@sugarlabs.org>2014-04-11 02:09:28 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2014-05-14 21:21:41 (GMT)
commit92ea9320a77e5e7a173b576590c98932d9edb238 (patch)
treef0db791f363451c019a1d1d04e6637ea21e84fa1 /dialogs.py
parent24bf5a350a4e029c6b3eb10484826a9924c2aff5 (diff)
gtk3 port: notebook append_page
Diffstat (limited to 'dialogs.py')
-rw-r--r--dialogs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/dialogs.py b/dialogs.py
index cd4eb0b..bc4a0bc 100644
--- a/dialogs.py
+++ b/dialogs.py
@@ -163,10 +163,10 @@ class QuestionDialog(_DialogWindow):
self.notebook = Gtk.Notebook()
self.notebook.set_show_tabs(False)
# add a page with the controls to reply the question
- self.notebook.append_page(scrollwin)
+ self.notebook.append_page(scrollwin, None)
# ... and another to show the smiley according to the result
self.image_result = Gtk.Image()
- self.notebook.append_page(self.image_result)
+ self.notebook.append_page(self.image_result, None)
self.content_vbox.pack_start(self.notebook, True, True)
self.content_vbox.set_border_width(0)