/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: Jelmer Vernooij
  • Date: 2008-10-28 16:02:01 UTC
  • Revision ID: jelmer@samba.org-20081028160201-5t1bznxbbgoqj5or
Add notifications tab in preferences dialog.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
from bzrlib.config import GlobalConfig
26
26
from identity import IdentityPage
27
27
from plugins import PluginsPage
 
28
from notifications import NotificationsPage
28
29
 
29
30
class PreferencesWindow(gtk.Dialog):
30
31
    """Displays global preferences windows."""
60
61
 
61
62
    def _create_pages(self):
62
63
        return [("Identity", IdentityPage(self.config)), 
63
 
                ("Plugins", PluginsPage())]
 
64
                ("Plugins", PluginsPage()),
 
65
                ("Notifications", NotificationsPage(self.config))]
64
66
 
65
67
    def display(self):
66
68
        self.window.show_all()