Changeset 6b1d64afe2adb48823dd4dd68d1d563a80537874
- Timestamp:
- 02/08/09 19:33:28 (3 years ago)
- Author:
- Leo 'costela' Antunes <leo@…>
- Children:
- 826d0d375e42d8e4018950dd84b37689b3f666fa
- Parents:
- d4640cf4f5580adc11efd1fb84eb4a429b7e3840
- git-committer:
- Leo 'costela' Antunes <leo@…> (02/08/09 19:33:28)
- Message:
-
fix activation when auto-away is on
- add logic to avoid touching the status when auto-away is on
- bumped to 0.2
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r7bfa81d
|
r6b1d64a
|
|
| 21 | 21 | #define PURPLE_PLUGINS |
| 22 | 22 | |
| 23 | | #define AWAYONLOCK_VERSION "0.1" |
| | 23 | #define AWAYONLOCK_VERSION "0.2" |
| 24 | 24 | #define AWAYONLOCK_PLUGIN_ID "core-costela-awayonlock" |
| 25 | 25 | |
| … |
… |
|
| 50 | 50 | PurpleStatusPrimitive status_type = purple_savedstatus_get_type(status_current); |
| 51 | 51 | |
| 52 | | if(screensaver_status && (status_type != PURPLE_STATUS_OFFLINE && status_type != PURPLE_STATUS_INVISIBLE)) { |
| | 52 | if(screensaver_status && (status_type != PURPLE_STATUS_OFFLINE && status_type != PURPLE_STATUS_INVISIBLE) && ! purple_savedstatus_is_idleaway()) { |
| 53 | 53 | status_saved = status_current; |
| 54 | 54 | purple_debug(PURPLE_DEBUG_INFO, PACKAGE, N_("setting status as away and storing '%s'\n"), purple_savedstatus_get_title(status_saved)); |