diff options
author | Ken VanDine <ken.vandine@canonical.com> | 2011-02-17 15:36:31 -0500 |
---|---|---|
committer | Ken VanDine <ken.vandine@canonical.com> | 2011-02-17 15:36:31 -0500 |
commit | 2c72a12af069feed829318238b0726a238f61f54 (patch) | |
tree | f51692bc0794d332c6c72ecfdd2d85b4b28f0cdb /src/indicator-session.c | |
parent | 51e2f14b053cb1c4538dfe36e53281b0955be25b (diff) | |
parent | 220d1bbffd0f4116f1e1a71e31b7054f3fc690c1 (diff) | |
download | ayatana-indicator-session-2c72a12af069feed829318238b0726a238f61f54.tar.gz ayatana-indicator-session-2c72a12af069feed829318238b0726a238f61f54.tar.bz2 ayatana-indicator-session-2c72a12af069feed829318238b0726a238f61f54.zip |
releasing version 0.2.14-0ubuntu1
Diffstat (limited to 'src/indicator-session.c')
-rw-r--r-- | src/indicator-session.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/indicator-session.c b/src/indicator-session.c index 2104281..97e2ce9 100644 --- a/src/indicator-session.c +++ b/src/indicator-session.c @@ -72,6 +72,7 @@ INDICATOR_SET_TYPE(INDICATOR_SESSION_TYPE) static GtkLabel * get_label (IndicatorObject * io); static GtkImage * get_icon (IndicatorObject * io); static GtkMenu * get_menu (IndicatorObject * io); +static const gchar * get_accessible_desc (IndicatorObject * io); static gboolean build_menu_switch (DbusmenuMenuitem * newitem, DbusmenuMenuitem * parent, DbusmenuClient * client, gpointer user_data); static gboolean new_user_item (DbusmenuMenuitem * newitem, DbusmenuMenuitem * parent, DbusmenuClient * client, gpointer user_data); static void icon_changed (IndicatorSession * session, const gchar * icon_name); @@ -99,6 +100,7 @@ indicator_session_class_init (IndicatorSessionClass *klass) io_class->get_label = get_label; io_class->get_image = get_icon; io_class->get_menu = get_menu; + io_class->get_accessible_desc = get_accessible_desc; return; } @@ -253,6 +255,12 @@ get_label (IndicatorObject * io) return NULL; } +static const gchar * +get_accessible_desc (IndicatorObject * io) +{ + return _("Session"); +} + static void icon_changed (IndicatorSession * session, const gchar * icon_name) { |