/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-29 15:47:30 UTC
  • mto: This revision was merged to the branch mainline in revision 519.
  • Revision ID: jelmer@samba.org-20080629154730-xfsotoxwkiytf0ph
Pass graph object rather than full repository to linegraph.

Show diffs side-by-side

added added

removed removed

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