+eyes_check_display(DBusGProxy *object, const char *status, EyesPluginContent *eyes)
+{
+ if (strncmp(status, MCE_DISPLAY_ON_STRING,
+ strlen(MCE_DISPLAY_ON_STRING) + 1) == 0
+ && eyes-> visible)
+ {
+ hildon_banner_show_information(NULL, NULL, eyes->theme_name);
+ eyes_applet_fill(eyes);
+ }
+ else if (strncmp(status, MCE_DISPLAY_OFF_STRING,
+ strlen(MCE_DISPLAY_OFF_STRING) + 1) == 0)
+ {
+ if (eyes->timeout_id != 0)
+ {
+ g_source_remove (eyes->timeout_id);
+ eyes->timeout_id = 0;
+ }
+ }
+
+}
+
+static void