|
2011-02-06
, 14:56
|
|
Posts: 1,637 |
Thanked: 4,424 times |
Joined on Apr 2009
@ Germany
|
#412
|
The Following 2 Users Say Thank You to nicolai For This Useful Post: | ||
|
2011-02-06
, 15:09
|
Posts: 123 |
Thanked: 99 times |
Joined on Sep 2010
@ Russia
|
#413
|
So, as expected I finally have time again for things like this
I incorporated the two patches submitted so far and fixed a small bug, 2.0.1is now in extras-devel!
Thanks a lot for the contribution!
--- /opt/alarmed/alarmed_gui.py 2011-02-06 15:22:23.000000000 +0300 +++ 1/alarmed/alarmed_gui.py 2011-02-01 23:34:57.000000000 +0300 @@ -563,9 +563,9 @@ s = self.fields["schedules"] i = self.fields["intervals"] t = self.fields["types"] - eventInfo["schedule"] = str(self.schedulePicker.currentText()) - eventInfo["type"] = str(self.typePicker.currentText()) - eventInfo["title"] = str(self.titlePicker.text()) + eventInfo["schedule"] = self.schedulePicker.currentText() + eventInfo["type"] = self.typePicker.currentText() + eventInfo["title"] = self.titlePicker.text() if self.schedulePicker.currentText() in [s["weekly"], s["biweekly"]]: if not self.weekdays: @@ -587,7 +587,7 @@ dateTime = dateTime.addSecs(secs) eventInfo["ttime"] = int(dateTime.toTime_t()) eventInfo["number"] = int(self.numberPicker.value()) - eventInfo["interval"] = str(self.intervalPicker.currentText()) + eventInfo["interval"] = self.intervalPicker.currentText() elif self.schedulePicker.currentText() == s["next"]: day = self.rWeekdayPicker.currentText() if day == mon: day = 1 @@ -622,7 +622,7 @@ eventInfo["ttime"] = int(time.mktime(td.timetuple())) eventInfo["cron"] = cronstring elif self.schedulePicker.currentText() == s["date"]: - eventInfo["date"] = str(self.datesyntaxPicker.text()) + eventInfo["date"] = self.datesyntaxPicker.text() ttime = alarmed_backend.interpretDateString( eventInfo["date"]) if not ttime[0]: @@ -641,13 +641,13 @@ type = self.typePicker.currentText() content = "" if type == t["exec_type"]: - content = str(self.execPicker.text()) + content = self.execPicker.text() eventInfo["content"] = content elif type == t["builtin_type"]: - content = str(self.builtinPicker.currentText()) + content = self.builtinPicker.currentText() eventInfo["content"] = content elif type == t["profile_type"]: - content = str(self.profilePicker.currentText()) + content = self.profilePicker.currentText() eventInfo["content"] = content if self.weekdays: eventInfo["weekdays"] = self.weekdays
|
2011-02-06
, 15:57
|
|
Posts: 433 |
Thanked: 312 times |
Joined on Nov 2009
@ U.K
|
#414
|
alarms are stored in
/var/cache/alarmd/alarm_queue.ini
http://talk.maemo.org/showpost.php?p...&postcount=358
|
2011-02-06
, 16:23
|
Posts: 123 |
Thanked: 99 times |
Joined on Sep 2010
@ Russia
|
#415
|
I also found that using cli I can't list events if there is non-english name, error in alarmed.py:110, but I didn't fix it yet.
|
2011-02-07
, 14:48
|
Posts: 187 |
Thanked: 345 times |
Joined on Nov 2009
|
#416
|
does that mean you implemented the patch from #406 and deactivated support for tweakr-profiles? Or do they still work?
The Following User Says Thank You to shapeshifter For This Useful Post: | ||
|
2011-02-07
, 15:25
|
Posts: 539 |
Thanked: 165 times |
Joined on Feb 2010
@ Berlin, Germany
|
#417
|
No, they will not work anymore. ProfilesX has the same (and better) functionality than tweakr and integrates much more nicely than tweakr. It's also still active while tweakr has been dead for the last 6 months. I suggest you either don't upgrade alarmed or switch to ProfilesX. Sorry.
|
2011-02-07
, 15:42
|
Posts: 270 |
Thanked: 37 times |
Joined on Sep 2010
|
#418
|
|
2011-02-07
, 22:11
|
Posts: 539 |
Thanked: 165 times |
Joined on Feb 2010
@ Berlin, Germany
|
#419
|
@x-lette I uninstalled tweakr and installed profilesx and it is better. What are the "more useful functions"?
|
2011-02-08
, 01:14
|
Posts: 968 |
Thanked: 974 times |
Joined on Nov 2008
@ Ohio
|
#420
|
Because every night between about 01:15 and 03:40 my phone will automatically go into offline mode and then back to online mode afterwards but I can't find a alarm entry anywhere
But I do remember testing such an alarm so my work couldn't call me at night but can't remember which program I used, it's not much of a problem normally as I'm asleep so had forgotten about it but last night I wasn't and a saw it happen and now I want to stop it.
I'm stumped and any help will be appreciated.