~ken-vandine/indicator-me/u1_prefs_path

« back to all changes in this revision

Viewing changes to src/indicator-session.c

  • Committer: Ted Gould
  • Date: 2009-10-08 14:51:20 UTC
  • mfrom: (49.2.6 confused-icon)
  • Revision ID: ted@canonical.com-20091008145120-164pgew57700ko2h
Changing the icon so that if you are disconnected it is 'system-shutdown-panel' and making sure that we see it sometimes by not allocating the EmpathyAccountManager isn't allocated until status is set.

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
GtkImage *
77
77
get_icon (void)
78
78
{
79
 
        g_debug("Changing status icon: '%s'", "user-offline");
80
 
        status_image = GTK_IMAGE(gtk_image_new_from_icon_name("user-offline", GTK_ICON_SIZE_MENU));
 
79
        g_debug("Changing status icon: '%s'", "system-shutdown-panel");
 
80
        status_image = GTK_IMAGE(gtk_image_new_from_icon_name("system-shutdown-panel", GTK_ICON_SIZE_MENU));
81
81
        gtk_widget_show(GTK_WIDGET(status_image));
82
82
        return status_image;
83
83
}