aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-sus.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-08-07 21:54:26 +0100
committerTed Gould <ted@canonical.com>2009-08-07 21:54:26 +0100
commita52ff08217de74771d2721b6e3a3707d43fbe780 (patch)
tree2dd8c1e9c43293900548fd823bfad28652c9dfd7 /src/indicator-sus.c
parent9b7303cd469357b2d17cb87313d83d47ffc16470 (diff)
parent848e09b4d35f6609c4deaf1298c8b4360ed15a22 (diff)
downloadayatana-indicator-session-a52ff08217de74771d2721b6e3a3707d43fbe780.tar.gz
ayatana-indicator-session-a52ff08217de74771d2721b6e3a3707d43fbe780.tar.bz2
ayatana-indicator-session-a52ff08217de74771d2721b6e3a3707d43fbe780.zip
Merging the branch for better status service.
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