コード例 #1
0
ファイル: starcal.py プロジェクト: greyzero/starcal
 def stickyClicked(self, check):
     if check.get_active():
         self.stick()
         ui.winSticky = True
     else:
         self.unstick()
         ui.winSticky = False
     ui.saveLiveConf()
コード例 #2
0
ファイル: starcal.py プロジェクト: ubuntu-ir/starcal
	def stickyClicked(self, check):
		if check.get_active():
			self.stick()
			ui.winSticky = True
		else:
			self.unstick()
			ui.winSticky = False
		ui.saveLiveConf()
コード例 #3
0
ファイル: manager.py プロジェクト: mehrdad-shokri/starcal
	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)
コード例 #4
0
ファイル: manager.py プロジェクト: ubuntu-ir/starcal
	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)
コード例 #5
0
ファイル: starcal.py プロジェクト: greyzero/starcal
 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 ?
     self.destroy()
     ######
     core.stopRunningThreads()
     ######
     return gtk.main_quit()
コード例 #6
0
ファイル: starcal.py プロジェクト: ubuntu-ir/starcal
	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 ?
		self.destroy()
		######
		core.stopRunningThreads()
		######
		return gtk.main_quit()
コード例 #7
0
ファイル: pluginsText.py プロジェクト: ilius/starcal
	def expanderExpanded(self, exp):
		ui.pluginsTextIsExpanded = not exp.get_expanded()
		ui.saveLiveConf()
コード例 #8
0
ファイル: starcal.py プロジェクト: greyzero/starcal
 def keepAboveClicked(self, check):
     act = check.get_active()
     self.set_keep_above(act)
     ui.winKeepAbove = act
     ui.saveLiveConf()
コード例 #9
0
ファイル: starcal.py プロジェクト: greyzero/starcal
 def prefUpdateBgColor(self, cal):
     if ui.prefDialog:
         ui.prefDialog.colorbBg.set_color(ui.bgColor)
     #else:## FIXME
     ui.saveLiveConf()
コード例 #10
0
ファイル: pluginsText.py プロジェクト: goodosuser/starcal
 def expanderExpanded(self, exp):
     ui.pluginsTextIsExpanded = not exp.get_expanded()
     ui.saveLiveConf()
コード例 #11
0
ファイル: weekCal.py プロジェクト: ilius/starcal
	def onClicked(self, *a):
		ui.wcal_toolbar_weekNum_negative = not ui.wcal_toolbar_weekNum_negative
		self.updateLabel()
		ui.saveLiveConf()
コード例 #12
0
ファイル: starcal.py プロジェクト: ubuntu-ir/starcal
	def keepAboveClicked(self, check):
		act = check.get_active()
		self.set_keep_above(act)
		ui.winKeepAbove = act
		ui.saveLiveConf()
コード例 #13
0
ファイル: starcal.py プロジェクト: ubuntu-ir/starcal
	def prefUpdateBgColor(self, cal):
		if ui.prefDialog:
			ui.prefDialog.colorbBg.set_color(ui.bgColor)
		#else:## FIXME
		ui.saveLiveConf()
コード例 #14
0
ファイル: weekCal.py プロジェクト: ubuntu-ir/starcal
	def onClicked(self, *a):
		ui.wcal_toolbar_weekNum_negative = not ui.wcal_toolbar_weekNum_negative
		self.updateLabel()
		ui.saveLiveConf()
コード例 #15
0
ファイル: manager.py プロジェクト: mehrdad-shokri/starcal
	def onResponse(self, dialog, response_id):
		ui.eventManPos = self.get_position()
		ui.saveLiveConf()
		###
		self.hide()
		self.emit("config-change")
コード例 #16
0
ファイル: manager.py プロジェクト: ubuntu-ir/starcal
	def onResponse(self, dialog, response_id):
		ui.eventManPos = self.get_position()
		ui.saveLiveConf()
		###
		self.hide()
		self.emit('config-change')