Karl Lattimer has proposed merging
lp:~karl-qdh/indicator-datetime/updateonresume into lp:indicator-datetime.
Requested reviews:
Ted Gould (ted)
Related bugs:
Bug #726053 in Indicator Date and Time: "Resuming from suspend should trigger
a time update"
https://bugs.launchpad.net/indicator-datetime/+bug/726053
For more details, see:
https://code.launchpad.net/~karl-qdh/indicator-datetime/updateonresume/+merge/55724
Simple change to a different signal and the clock will refresh on resume from
suspend. It will also refresh whenever the session changes from idle to active
too but there's not much we can do about that.
--
https://code.launchpad.net/~karl-qdh/indicator-datetime/updateonresume/+merge/55724
Your team ayatana-commits is subscribed to branch lp:indicator-datetime.
=== modified file 'src/indicator-datetime.c'
--- src/indicator-datetime.c 2011-03-30 21:55:14 +0000
+++ src/indicator-datetime.c 2011-03-31 10:39:45 +0000
@@ -830,7 +830,7 @@
{
// Just returned from suspend
IndicatorDatetime * self = INDICATOR_DATETIME(user_data);
- if (g_strcmp0(signal_name, "ActiveChanged") == 0) {
+ if (g_strcmp0(signal_name, "SystemIdleHintChanged") == 0 && g_variant_get_boolean(parameters) == FALSE) {
update_time(self);
}
return;
_______________________________________________
Mailing list: https://launchpad.net/~ayatana-commits
Post to : [email protected]
Unsubscribe : https://launchpad.net/~ayatana-commits
More help : https://help.launchpad.net/ListHelp