aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-sus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/indicator-sus.c')
-rw-r--r--src/indicator-sus.c3
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;
}