projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3c6c80b
)
Fixes NB#116720, make the notifications persistent. This mean that they'll survive...
author
Sergio Villar Senín
<svillar@igalia.com>
Mon, 18 May 2009 10:41:34 +0000
(12:41 +0200)
committer
Sergio Villar Senín
<svillar@igalia.com>
Mon, 18 May 2009 10:41:34 +0000
(12:41 +0200)
src/hildon2/modest-platform.c
patch
|
blob
|
history
diff --git
a/src/hildon2/modest-platform.c
b/src/hildon2/modest-platform.c
index
18db4b3
..
1a338b3
100644
(file)
--- a/
src/hildon2/modest-platform.c
+++ b/
src/hildon2/modest-platform.c
@@
-1604,12
+1604,14
@@
modest_platform_on_new_headers_received (TnyList *header_list,
first_notification = FALSE;
first_notification = FALSE;
- /* Set the led pattern */
+ /* Set the led pattern and make the notification persistent */
notify_notification_set_hint_int32 (NOTIFY_NOTIFICATION (notification),
"dialog-type", 4);
notify_notification_set_hint_string(NOTIFY_NOTIFICATION (notification),
"led-pattern",
MODEST_NEW_MAIL_LIGHTING_PATTERN);
notify_notification_set_hint_int32 (NOTIFY_NOTIFICATION (notification),
"dialog-type", 4);
notify_notification_set_hint_string(NOTIFY_NOTIFICATION (notification),
"led-pattern",
MODEST_NEW_MAIL_LIGHTING_PATTERN);
+ notify_notification_set_hint_byte (NOTIFY_NOTIFICATION (notification),
+ "persistent", TRUE);
/* Set the account of the headers */
account = tny_folder_get_account (folder);
/* Set the account of the headers */
account = tny_folder_get_account (folder);