aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-sus.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-08-07 19:36:33 +0100
committerTed Gould <ted@canonical.com>2009-08-07 19:36:33 +0100
commitbe90d5341e81d2fab644b9deddd121a5163c2ac6 (patch)
treebad3a45596afb71d9a792c4e3ab1b88a537685bb /src/indicator-sus.c
parent04cc48ee124c9eb1668fa9b6447239855e781534 (diff)
downloadayatana-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.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;
}