/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to preferences/__init__.py

  • Committer: Curtis Hovey
  • Date: 2011-08-13 02:44:14 UTC
  • mto: This revision was merged to the branch mainline in revision 741.
  • Revision ID: sinzui.is@verizon.net-20110813024414-2jhxbw4qkt7h3zjf
Updated gpreferences to gtk3.
Lots of gtk_widget_size_allocate() that need future investigation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
        """ Initialize the Status window. """
33
33
        super(PreferencesWindow, self).__init__(flags=Gtk.DialogFlags.MODAL)
34
34
        self.set_title("Bazaar Preferences")
35
 
        self.set_has_separator(False)
36
35
        self.config = config
37
36
        if self.config is None:
38
37
            self.config = GlobalConfig()
48
47
            notebook.append_page(page, Gtk.Label(label=label))
49
48
 
50
49
        notebook.set_current_page(0)
51
 
        self.vbox.set_border_width(0)
52
 
        self.vbox.pack_start(notebook, True, True)
53
 
        self.vbox.show_all()
54
 
        self.action_area.set_border_width(12)
 
50
        content_area = self.get_content_area()
 
51
        content_area.set_border_width(0)
 
52
        content_area.pack_start(notebook, True, True, 0)
 
53
        content_area.show_all()
 
54
        self.get_action_area().set_border_width(12)
55
55
 
56
56
    def _create_pages(self):
57
57
        return [("Identity", IdentityPage(self.config)),