From be90d5341e81d2fab644b9deddd121a5163c2ac6 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Fri, 7 Aug 2009 19:36:33 +0100 Subject: Using the user name --- src/indicator-sus.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/indicator-sus.c b/src/indicator-sus.c index 18b6c44..d1296e0 100644 --- a/src/indicator-sus.c +++ b/src/indicator-sus.c @@ -25,6 +25,7 @@ static GtkWidget * loading_item = NULL; static DBusGConnection * connection = NULL; static DBusGProxy * proxy = NULL; +static DBusGProxy * status_proxy = NULL; typedef enum { STATUS_SECTION, @@ -41,7 +42,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; } -- cgit v1.2.3