Example #1
0
 def onClicked(self, gWin, gevent):
     if ui.winMaximized:
         gWin.unmaximize()
     else:
         gWin.maximize()
     ui.winMaximized = not ui.winMaximized
     ui.saveLiveConf()
Example #2
0
 def quit(self, widget=None, event=None):
     try:
         ui.saveLiveConf()
     except:
         myRaise()
     if self.trayMode>1 and self.sicon:
         self.sicon.set_visible(False) ## needed for windows ## before or after main_quit ?
     return gtk.main_quit()
Example #3
0
 def stickyClicked(self, check):
     if check.get_active():
         self.stick()
         ui.winSticky = True
     else:
         self.unstick()
         ui.winSticky = False
     ui.saveLiveConf()
Example #4
0
 def stickyClicked(self, check):
     if check.get_active():
         self.stick()
         ui.winSticky = True
     else:
         self.unstick()
         ui.winSticky = False
     ui.saveLiveConf()
Example #5
0
 def _do_showDescItemToggled(self):
     active = self.showDescItem.get_active()
     #self.showDescItem.set_active(active)
     ui.eventManShowDescription = active
     ui.saveLiveConf()## FIXME
     if active:
         self.treev.append_column(self.colDesc)
     else:
         self.treev.remove_column(self.colDesc)
Example #6
0
 def quit(self, widget=None, event=None):
     try:
         ui.saveLiveConf()
     except:
         myRaise()
     if self.statusIconMode>1 and self.sicon:
         self.sicon.set_visible(False) ## needed for windows ## before or after main_quit ?
     ######
     core.stopRunningThreads()
     ######
     return gtk.main_quit()
Example #7
0
 def quit(self, widget=None, event=None):
     try:
         ui.saveLiveConf()
     except:
         myRaise()
     if self.statusIconMode > 1 and self.sicon:
         self.sicon.set_visible(
             False)  ## needed for windows ## before or after main_quit ?
     ######
     core.stopRunningThreads()
     ######
     return gtk.main_quit()
Example #8
0
 def prefUpdateBgColor(self, cal):
     ui.prefDialog.colorbBg.set_color(ui.bgColor)
     ui.saveLiveConf()
Example #9
0
 def expanderExpanded(self, exp):
     ui.pluginsTextIsExpanded = not exp.get_expanded()
     ui.saveLiveConf()
Example #10
0
 def onClicked(self, *a):
     ui.wcal_toolbar_weekNum_negative = not ui.wcal_toolbar_weekNum_negative
     self.updateLabel()
     ui.saveLiveConf()
Example #11
0
 def prefUpdateBgColor(self, cal):
     if ui.prefDialog:
         ui.prefDialog.colorbBg.set_color(ui.bgColor)
     #else:## FIXME
     ui.saveLiveConf()
Example #12
0
 def onResponse(self, dialog, response_id):
     ui.eventManPos = self.get_position()
     ui.saveLiveConf()
     ###
     self.hide()
     self.emit('config-change')
Example #13
0
	def expanderExpanded(self, exp):
		ui.pluginsTextIsExpanded = not exp.get_expanded()
		ui.saveLiveConf()
Example #14
0
 def keepAboveClicked(self, check):
     act = check.get_active()
     self.set_keep_above(act)
     ui.winKeepAbove = act
     ui.saveLiveConf()
Example #15
0
 def keepAboveClicked(self, check):
     act = check.get_active()
     self.set_keep_above(act)
     ui.winKeepAbove = act
     ui.saveLiveConf()
Example #16
0
 def prefUpdateBgColor(self, cal):
     if ui.prefDialog:
         ui.prefDialog.colorbBg.set_color(ui.bgColor)
     #else:## FIXME
     ui.saveLiveConf()
Example #17
0
	def onClicked(self, *a):
		ui.wcal_toolbar_weekNum_negative = not ui.wcal_toolbar_weekNum_negative
		self.updateLabel()
		ui.saveLiveConf()