/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: Mark Lee
  • Date: 2009-07-11 18:39:14 UTC
  • mto: This revision was merged to the branch mainline in revision 661.
  • Revision ID: bzr@lazymalevolence.com-20090711183914-zuii3et5skiv2njo
Re-ignore credits.pickle.

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