/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: David Planella
  • Date: 2011-03-06 08:24:07 UTC
  • mfrom: (718 trunk)
  • mto: This revision was merged to the branch mainline in revision 719.
  • Revision ID: david.planella@ubuntu.com-20110306082407-y9zwkjje5oue9egw
Added preliminary internationalization support. Merged from trunk.

Show diffs side-by-side

added added

removed removed

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