;ò ¤‰Ec@sfdklZlZlZlZdkZdkZdkZea dei fd„ƒYZ d„Z dS((sgsDialogsinfosconfirmNs TimerButtoncBs2tZdZd„Zd„Zd„Zd„ZRS(s*An 'egg-timer' button for the main window'cCsktii|dƒt|_t|_|itiƒti ƒ}|i |t dƒƒ|i dtƒdS(NsTs'Click here to set the count-down timer.sclicked(sgsButtons__init__sselfsNonesend_timestimeouts unset_flagss CAN_FOCUSsTooltipsstipssset_tips_sconnects edit_timer(sselfstips((sA/mnt/gmirror/ports/deskutils/rox-memo/work/memo-2.0/Memo/timer.pys__init__ s   csFtiƒ|ˆ_‡d†}|ƒotid|ƒˆ_ndS(Ncs•ˆitiƒ}|djotˆ_ˆiƒtSn|djo(dt|dƒt|dƒf}ndt|ƒ}ˆi |ƒt SdS(Nii<s%dm%ds%ss( sselfsend_timestimeswaitsNonestimeoutsalarmsFalsesintstexts set_labelsTrue(stextswait(sself(sA/mnt/gmirror/ports/deskutils/rox-memo/work/memo-2.0/Memo/timer.pys update_timers    ( iè(stimessecssselfsend_times update_timersgobjects timeout_addstimeout(sselfssecss update_timer((sselfsA/mnt/gmirror/ports/deskutils/rox-memo/work/memo-2.0/Memo/timer.pys set_timers   cCs9|iƒtiƒotiƒnttdƒƒdS(NsMemo : Time is up!(sselfs clear_timers dbus_notifys is_availablestimersinfos_(sself((sA/mnt/gmirror/ports/deskutils/rox-memo/work/memo-2.0/Memo/timer.pysalarm*s  cCsA|idƒt|_|ioti|iƒt|_ndS(NsT(sselfs set_labelsNonesend_timestimeoutsgobjects source_remove(sself((sA/mnt/gmirror/ports/deskutils/rox-memo/work/memo-2.0/Memo/timer.pys clear_timer1s    (s__name__s __module__s__doc__s__init__s set_timersalarms clear_timer(((sA/mnt/gmirror/ports/deskutils/rox-memo/work/memo-2.0/Memo/timer.pys TimerButton s   c s€totiƒnˆio/ttdƒtiƒoˆiƒndSnt dtdƒdˆi ƒdti ƒad„}ti d|ƒ‡‡‡d†}ti d |ƒtitd ƒ}|id ƒtii|ttd ƒ|ititd ƒƒttd ƒtitd ƒ}|i|ttd ƒtid d d ddƒ‰tiˆƒ}|id ƒ|itƒ|i|ttd ƒ|ititdƒƒttdƒtid d dddƒ‰tiˆƒ}|id ƒ|itƒ|i|ttd ƒ|ititdƒƒttdƒtiti ti!ƒtiti"ti#ƒti$ti#ƒti%ƒdS(Ns$The timer is already set - clear it?stitles Memo TimersparentsflagscCs tadS(N(sNonesedit_timer_box(sbox((sA/mnt/gmirror/ports/deskutils/rox-memo/work/memo-2.0/Memo/timer.pys destroyedCssdestroycsC|ttiƒjoˆiˆidˆiƒn|i ƒdS(Ni<( srespsintsgs RESPONSE_OKstimers set_timersminsvaluessecsdsdestroy(sdsresp(sminstimerssec(sA/mnt/gmirror/ports/deskutils/rox-memo/work/memo-2.0/Memo/timer.pysresponseIssresponseiis&Set the count-down timer and click OK.içismin ii;ssec(&sedit_timer_boxsdestroystimersend_timesconfirms_sgs STOCK_CLEARs clear_timersDialogs get_toplevelsDIALOG_NO_SEPARATORs destroyedsconnectsresponsesVBoxsFalsesvboxsset_border_widths pack_startsTruesLabelsHBoxshboxs Adjustmentsmins SpinButtonsspins set_digitssset_activates_defaultssecs add_buttons STOCK_CANCELsRESPONSE_CANCELsSTOCK_OKs RESPONSE_OKsset_default_responsesshow_all(stimersspinsmins destroyedsvboxssecsresponseshbox((stimerssecsminsA/mnt/gmirror/ports/deskutils/rox-memo/work/memo-2.0/Memo/timer.pys edit_timer8sD *  %  %  %( sroxsgsDialogsinfosconfirmsgobjectstimes dbus_notifysNonesedit_timer_boxsButtons TimerButtons edit_timer( sinfos dbus_notifysgsconfirms edit_timersDialogstimesgobjects TimerButton((sA/mnt/gmirror/ports/deskutils/rox-memo/work/memo-2.0/Memo/timer.pys?s    .