/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/notifications.py

  • Committer: Jelmer Vernooij
  • Date: 2010-02-28 15:19:15 UTC
  • mfrom: (674.1.1 bzr-gtk)
  • Revision ID: jelmer@samba.org-20100228151915-bvwflj8ongj2fwqd
Merge qense's indicator application work, but don't require appindicator to be installed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
 
34
34
 
35
35
class NotificationsPage(gtk.VBox):
36
 
 
37
36
    def __init__(self, config, homogeneous=False, spacing=6):
38
37
        self.config = config
39
38
        gtk.VBox.__init__(self, homogeneous=homogeneous, spacing=spacing)
40
39
        self.set_spacing(spacing) # The vertical one
41
 
 
 
40
        
42
41
        lan_frame = gtk.Frame("LAN Notifications")
43
42
 
44
43
        lan_vbox = gtk.VBox()
68
67
        self.pack_start(email_frame)
69
68
 
70
69
        cia_frame = gtk.Frame("CIA notifications")
71
 
 
 
70
        
72
71
        cia_user_hbox = gtk.HBox()
73
72
        cia_user_hbox.pack_start(gtk.Label("Author name"))
74
73
        self.cia_user = gtk.Entry()
75
74
        cia_user_hbox.pack_start(self.cia_user)
76
 
 
 
75
    
77
76
        cia_frame.add(cia_user_hbox)
78
77
        cia_frame.set_sensitive(has_cia())
79
78