Пример #1
0
 def onClicked(self, gWin, gevent):
     if ui.winMaximized:
         gWin.unmaximize()
     else:
         gWin.maximize()
     ui.winMaximized = not ui.winMaximized
     ui.saveLiveConf()
Пример #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()
Пример #3
0
 def stickyClicked(self, check):
     if check.get_active():
         self.stick()
         ui.winSticky = True
     else:
         self.unstick()
         ui.winSticky = False
     ui.saveLiveConf()
Пример #4
0
 def stickyClicked(self, check):
     if check.get_active():
         self.stick()
         ui.winSticky = True
     else:
         self.unstick()
         ui.winSticky = False
     ui.saveLiveConf()
Пример #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)
Пример #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()
Пример #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()
Пример #8
0
 def prefUpdateBgColor(self, cal):
     ui.prefDialog.colorbBg.set_color(ui.bgColor)
     ui.saveLiveConf()
Пример #9
0
 def expanderExpanded(self, exp):
     ui.pluginsTextIsExpanded = not exp.get_expanded()
     ui.saveLiveConf()
Пример #10
0
 def onClicked(self, *a):
     ui.wcal_toolbar_weekNum_negative = not ui.wcal_toolbar_weekNum_negative
     self.updateLabel()
     ui.saveLiveConf()
Пример #11
0
 def prefUpdateBgColor(self, cal):
     if ui.prefDialog:
         ui.prefDialog.colorbBg.set_color(ui.bgColor)
     #else:## FIXME
     ui.saveLiveConf()
Пример #12
0
 def onResponse(self, dialog, response_id):
     ui.eventManPos = self.get_position()
     ui.saveLiveConf()
     ###
     self.hide()
     self.emit('config-change')
Пример #13
0
	def expanderExpanded(self, exp):
		ui.pluginsTextIsExpanded = not exp.get_expanded()
		ui.saveLiveConf()
Пример #14
0
 def keepAboveClicked(self, check):
     act = check.get_active()
     self.set_keep_above(act)
     ui.winKeepAbove = act
     ui.saveLiveConf()
Пример #15
0
 def keepAboveClicked(self, check):
     act = check.get_active()
     self.set_keep_above(act)
     ui.winKeepAbove = act
     ui.saveLiveConf()
Пример #16
0
 def prefUpdateBgColor(self, cal):
     if ui.prefDialog:
         ui.prefDialog.colorbBg.set_color(ui.bgColor)
     #else:## FIXME
     ui.saveLiveConf()
Пример #17
0
	def onClicked(self, *a):
		ui.wcal_toolbar_weekNum_negative = not ui.wcal_toolbar_weekNum_negative
		self.updateLabel()
		ui.saveLiveConf()