~mterry/indicator-datetime/update-after-resume

« back to all changes in this revision

Viewing changes to src/indicator-datetime.c

Switching to using SystemIdleHintChanged

Show diffs side-by-side

added added

removed removed

Lines of Context:
830
830
{
831
831
        // Just returned from suspend
832
832
        IndicatorDatetime * self = INDICATOR_DATETIME(user_data);
833
 
        if (g_strcmp0(signal_name, "ActiveChanged") == 0) {
 
833
        if (g_strcmp0(signal_name, "SystemIdleHintChanged") == 0 && g_variant_get_boolean(parameters) == FALSE) {
834
834
                update_time(self);
835
835
        }
836
836
        return;