aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-sus.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-08-07 21:05:58 +0100
committerTed Gould <ted@canonical.com>2009-08-07 21:05:58 +0100
commitc4dbc5ba3f963a74952c35ef23249694c3593217 (patch)
tree7a9bbd072edfe7ca86c271d7463f4b7e512fb8a4 /src/indicator-sus.c
parent61e75b021a7adc56b685b890ff195a7d03cdb720 (diff)
parentd109578b8a84e07678762906021234404e53a8bf (diff)
downloadayatana-indicator-session-c4dbc5ba3f963a74952c35ef23249694c3593217.tar.gz
ayatana-indicator-session-c4dbc5ba3f963a74952c35ef23249694c3593217.tar.bz2
ayatana-indicator-session-c4dbc5ba3f963a74952c35ef23249694c3593217.zip
Merging in status shuffle branch to package it.
Diffstat (limited to 'src/indicator-sus.c')
-rw-r--r--src/indicator-sus.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/indicator-sus.c b/src/indicator-sus.c
index 18b6c44..9d1c66c 100644
--- a/src/indicator-sus.c
+++ b/src/indicator-sus.c
@@ -41,7 +41,7 @@ static guint session_menu_pos_offset (void);
GtkLabel *
get_label (void)
{
- GtkLabel * returnval = GTK_LABEL(gtk_label_new("Ted Gould"));
+ GtkLabel * returnval = GTK_LABEL(gtk_label_new(g_get_user_name()));
gtk_widget_show(GTK_WIDGET(returnval));
return returnval;
}
@@ -49,7 +49,8 @@ get_label (void)
GtkImage *
get_icon (void)
{
- return NULL;
+ GtkImage * image = GTK_IMAGE(gtk_image_new_from_icon_name("user-offline", GTK_ICON_SIZE_MENU));
+ return image;
}
static void