/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: 2012-03-20 12:31:44 UTC
  • Revision ID: sinzui.is@verizon.net-20120320123144-1fzwkjsnrk3cpaut
Update tests to reflect the changes to setup the the dialog for nautilus.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
from bzrlib.config import GlobalConfig
20
20
from bzrlib.plugins.gtk.preferences.identity import IdentityPage
21
21
from bzrlib.plugins.gtk.preferences.plugins import PluginsPage
 
22
from bzrlib.plugins.gtk.preferences.notifications import NotificationsPage
22
23
 
23
24
class PreferencesWindow(Gtk.Dialog):
24
25
    """Displays global preferences windows."""
54
55
 
55
56
    def _create_pages(self):
56
57
        return [("Identity", IdentityPage(self.config)),
57
 
                ("Plugins", PluginsPage())]
 
58
                ("Plugins", PluginsPage()),
 
59
                ("Notifications", NotificationsPage(self.config))]
58
60
 
59
61
    def display(self):
60
62
        self.window.show_all()