projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9adb9c2
)
Fixes NB#134700, play a sound after a send&receive if new headers are received and...
author
Sergio Villar Senin
<svillar@igalia.com>
Wed, 26 Aug 2009 14:36:21 +0000
(16:36 +0200)
committer
Sergio Villar Senin
<svillar@igalia.com>
Wed, 26 Aug 2009 14:38:53 +0000
(16:38 +0200)
src/hildon2/modest-platform.c
patch
|
blob
|
history
diff --git
a/src/hildon2/modest-platform.c
b/src/hildon2/modest-platform.c
index
ea4b9e8
..
e857ca9
100644
(file)
--- a/
src/hildon2/modest-platform.c
+++ b/
src/hildon2/modest-platform.c
@@
-1605,10
+1605,12
@@
modest_platform_on_new_headers_received (GList *URI_list,
app_in_foreground = hildon_program_get_is_topmost (hildon_program_get_instance ());
screen_on = modest_window_mgr_screen_is_on (modest_runtime_get_window_mgr ());
app_in_foreground = hildon_program_get_is_topmost (hildon_program_get_instance ());
screen_on = modest_window_mgr_screen_is_on (modest_runtime_get_window_mgr ());
- /* If the screen is on and the app is in the
- foreground we don't show anything */
- if (screen_on && app_in_foreground)
+ /* If the screen is on and the app is in the foreground we
+ don't show anything, just play a chime */
+ if (screen_on && app_in_foreground) {
+ modest_platform_play_email_tone ();
return;
return;
+ }
if (g_list_length (URI_list) == 0)
return;
if (g_list_length (URI_list) == 0)
return;