Esempio n. 1
0
 def __init__(self, group):
     BaseGroupWidget.__init__(self, group)
     ####
     hbox = gtk.HBox()
     label = gtk.Label(_('Tag Description'))
     label.set_alignment(0, 0.5)
     self.sizeGroup.add_widget(label)
     pack(hbox, label)
     ##
     self.statCheck = gtk.CheckButton(_('Stat'))
     pack(hbox, self.statCheck)
     ##
     pack(self, hbox)
Esempio n. 2
0
File: vcs.py Progetto: Noori/starcal
 def __init__(self, group):
     BaseGroupWidget.__init__(self, group)
     ####
     hbox = gtk.HBox()
     label = gtk.Label(_('Commit Description'))
     label.set_alignment(0, 0.5)
     self.sizeGroup.add_widget(label)
     pack(hbox, label)
     ##
     self.statCheck = gtk.CheckButton(_('Stat'))
     pack(hbox, self.statCheck)
     ##
     pack(hbox, gtk.Label('   '))
     ##
     self.authorCheck = gtk.CheckButton(_('Author'))
     pack(hbox, self.authorCheck)
     ##
     pack(hbox, gtk.Label('   '))
     ##
     self.shortHashCheck = gtk.CheckButton(_('Short Hash'))
     pack(hbox, self.shortHashCheck)
     ##
     pack(self, hbox)
Esempio n. 3
0
File: vcs.py Progetto: Noori/starcal
 def updateVars(self):
     BaseGroupWidget.updateVars(self)
     self.group.showAuthor = self.authorCheck.get_active()
     self.group.showShortHash = self.shortHashCheck.get_active()
     self.group.showStat = self.statCheck.get_active()
Esempio n. 4
0
File: vcs.py Progetto: Noori/starcal
 def updateWidget(self):
     BaseGroupWidget.updateWidget(self)
     self.authorCheck.set_active(self.group.showAuthor)
     self.shortHashCheck.set_active(self.group.showShortHash)
     self.statCheck.set_active(self.group.showStat)
Esempio n. 5
0
 def updateVars(self):
     BaseGroupWidget.updateVars(self)
     self.group.showStat = self.statCheck.get_active()
Esempio n. 6
0
 def updateWidget(self):
     BaseGroupWidget.updateWidget(self)
     self.statCheck.set_active(self.group.showStat)