diff options
author | Ted Gould <ted@canonical.com> | 2009-08-07 19:36:33 +0100 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-08-07 19:36:33 +0100 |
commit | be90d5341e81d2fab644b9deddd121a5163c2ac6 (patch) | |
tree | bad3a45596afb71d9a792c4e3ab1b88a537685bb /src/indicator-sus.c | |
parent | 04cc48ee124c9eb1668fa9b6447239855e781534 (diff) | |
download | ayatana-indicator-session-be90d5341e81d2fab644b9deddd121a5163c2ac6.tar.gz ayatana-indicator-session-be90d5341e81d2fab644b9deddd121a5163c2ac6.tar.bz2 ayatana-indicator-session-be90d5341e81d2fab644b9deddd121a5163c2ac6.zip |
Using the user name
Diffstat (limited to 'src/indicator-sus.c')
-rw-r--r-- | src/indicator-sus.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |