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

  • Committer: Jelmer Vernooij
  • Date: 2008-06-27 16:55:09 UTC
  • mto: This revision was merged to the branch mainline in revision 506.
  • Revision ID: jelmer@samba.org-20080627165509-7b68w2chzvvgc8vz
Use helper script to open patches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
    def __init__(self, config):
27
27
        self.config = config
28
28
        gtk.Table.__init__(self, rows=4, columns=2)
29
 
        self.set_border_width(12)
30
29
        self.set_row_spacings(6)
31
30
        self.set_col_spacings(6)
32
31
 
33
 
        align = gtk.Alignment(0.0, 0.5)
 
32
        align = gtk.Alignment(1.0, 0.5)
34
33
        label = gtk.Label()
35
 
        label.set_markup("E-Mail:")
 
34
        label.set_markup("<b>User Id:</b>")
36
35
        align.add(label)
37
36
        self.attach(align, 0, 1, 0, 1, gtk.FILL, gtk.FILL)
38
37
 
40
39
        self.username.set_text(self.config.username())
41
40
        self.attach(self.username, 1, 2, 0, 1, gtk.EXPAND | gtk.FILL, gtk.FILL)
42
41
 
43
 
        align = gtk.Alignment(0.0, 0.5)
 
42
        align = gtk.Alignment(1.0, 0.5)
44
43
        label = gtk.Label()
45
 
        label.set_markup("GPG signing command:")
 
44
        label.set_markup("<b>GPG signing command:</b>")
46
45
        align.add(label)
47
46
        self.attach(align, 0, 1, 1, 2, gtk.FILL, gtk.FILL)
48
47
 
50
49
        self.email.set_text(self.config.gpg_signing_command())
51
50
        self.attach(self.email, 1, 2, 1, 2, gtk.EXPAND | gtk.FILL, gtk.FILL)
52
51
 
53
 
        align = gtk.Alignment(0.0, 0.1)
 
52
        align = gtk.Alignment(1.0, 0.5)
54
53
        label = gtk.Label()
55
 
        label.set_markup("Check GPG Signatures:")
 
54
        label.set_markup("<b>Check GPG Signatures:</b>")
56
55
        align.add(label)
57
56
        self.attach(align, 0, 1, 2, 3, gtk.FILL, gtk.FILL)
58
57
 
69
68
        # FIXME: Set default
70
69
        self.attach(sigvals, 1, 2, 2, 3, gtk.EXPAND | gtk.FILL, gtk.FILL)
71
70
 
72
 
        align = gtk.Alignment(0.0, 0.1)
 
71
        align = gtk.Alignment(1.0, 0.5)
73
72
        label = gtk.Label()
74
 
        label.set_markup("Create GPG Signatures:")
 
73
        label.set_markup("<b>Create GPG Signatures:</b>")
75
74
        align.add(label)
76
75
        self.attach(align, 0, 1, 3, 4, gtk.FILL, gtk.FILL)
77
76