aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-datetime.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-03-31 14:30:50 -0500
committerTed Gould <ted@gould.cx>2011-03-31 14:30:50 -0500
commitb455c2a2ecf0b8d9b012e194788237450db2aa77 (patch)
tree59a6874b0cb262ecbafa2561d1215d40dc1a6f09 /src/indicator-datetime.c
parent73d5ba3818692cd324d17cd075d21fe72f1490da (diff)
parenta38d01ace21692b8fa0157acc3b9d48b2acbcda3 (diff)
downloadayatana-indicator-datetime-b455c2a2ecf0b8d9b012e194788237450db2aa77.tar.gz
ayatana-indicator-datetime-b455c2a2ecf0b8d9b012e194788237450db2aa77.tar.bz2
ayatana-indicator-datetime-b455c2a2ecf0b8d9b012e194788237450db2aa77.zip
* New upstream release.
* Add tooltips on the error icons * Fix marking to refresh as the calendar changes * Recycle old entries to make the refresh cleaner * Use day when timezone is set to 'locale' * Reset time when coming back from suspend (LP: #726053)
Diffstat (limited to 'src/indicator-datetime.c')
-rw-r--r--src/indicator-datetime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indicator-datetime.c b/src/indicator-datetime.c
index ec08f92..a999f42 100644
--- a/src/indicator-datetime.c
+++ b/src/indicator-datetime.c
@@ -830,7 +830,7 @@ session_active_change_cb (GDBusProxy * proxy, gchar * sender_name, gchar * signa
{
// 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;