예제 #1
0
 def __init__(self, group):
     BaseWidgetClass.__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)
예제 #2
0
파일: vcs.py 프로젝트: ilius/starcal2
 def __init__(self, group):
     BaseWidgetClass.__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)
예제 #3
0
파일: vcs.py 프로젝트: amirkarimi/starcal
 def __init__(self, group):
     BaseWidgetClass.__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)
예제 #4
0
파일: vcs.py 프로젝트: ilius/starcal2
 def updateVars(self):
     BaseWidgetClass.updateVars(self)
     self.group.showAuthor = self.authorCheck.get_active()
     self.group.showShortHash = self.shortHashCheck.get_active()
     self.group.showStat = self.statCheck.get_active()
예제 #5
0
파일: vcs.py 프로젝트: ilius/starcal2
 def updateWidget(self):
     BaseWidgetClass.updateWidget(self)
     self.authorCheck.set_active(self.group.showAuthor)
     self.shortHashCheck.set_active(self.group.showShortHash)
     self.statCheck.set_active(self.group.showStat)
예제 #6
0
 def updateVars(self):
     BaseWidgetClass.updateVars(self)
     self.group.showStat = self.statCheck.get_active()
예제 #7
0
 def updateWidget(self):
     BaseWidgetClass.updateWidget(self)
     self.statCheck.set_active(self.group.showStat)
예제 #8
0
파일: vcs.py 프로젝트: amirkarimi/starcal
 def updateVars(self):
     BaseWidgetClass.updateVars(self)
     self.group.showAuthor = self.authorCheck.get_active()
     self.group.showShortHash = self.shortHashCheck.get_active()
     self.group.showStat = self.statCheck.get_active()
예제 #9
0
파일: vcs.py 프로젝트: amirkarimi/starcal
 def updateWidget(self):
     BaseWidgetClass.updateWidget(self)
     self.authorCheck.set_active(self.group.showAuthor)
     self.shortHashCheck.set_active(self.group.showShortHash)
     self.statCheck.set_active(self.group.showStat)