Trac is being migrated to new services! Issues can be found in our new
YouTrack instance and WIKI pages can be found on our
website.
- Timestamp:
-
Apr 9, 2016, 7:58:30 AM (8 years ago)
- Author:
-
lew21
- Comment:
-
Update to pydbus 0.5.
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v9
|
v10
|
|
151 | 151 | {{{ |
152 | 152 | #!python |
153 | | for conv in purple.PurpleGetIms()[0]: |
154 | | purple.PurpleConvImSend(purple.PurpleConvIm(conv)[0], "Ignore.") |
| 153 | for conv in purple.PurpleGetIms(): |
| 154 | purple.PurpleConvImSend(purple.PurpleConvIm(conv), "Ignore.") |
155 | 155 | }}} |
156 | 156 | |
… |
… |
|
160 | 160 | def set_message(message): |
161 | 161 | # Get current status type (Available/Away/etc.) |
162 | | current = purple.PurpleSavedstatusGetType(purple.PurpleSavedstatusGetCurrent()[0])[0] |
| 162 | current = purple.PurpleSavedstatusGetType(purple.PurpleSavedstatusGetCurrent()) |
163 | 163 | # Create new transient status and activate it |
164 | | status = purple.PurpleSavedstatusNew("", current)[0] |
| 164 | status = purple.PurpleSavedstatusNew("", current) |
165 | 165 | purple.PurpleSavedstatusSetMessage(status, message) |
166 | 166 | purple.PurpleSavedstatusActivate(status) |
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!