← Back to team overview

ayatana-commits team mailing list archive

[Merge] lp:~themuso/indicator-session/a11y-desc into lp:indicator-session

 

Luke Yelavich has proposed merging lp:~themuso/indicator-session/a11y-desc into lp:indicator-session.

Requested reviews:
  Indicator Applet Developers (indicator-applet-developers)

For more details, see:
https://code.launchpad.net/~themuso/indicator-session/a11y-desc/+merge/49750
-- 
https://code.launchpad.net/~themuso/indicator-session/a11y-desc/+merge/49750
Your team ayatana-commits is subscribed to branch lp:indicator-session.
=== modified file 'src/indicator-session.c'
--- src/indicator-session.c	2011-01-28 17:14:45 +0000
+++ src/indicator-session.c	2011-02-15 01:05:59 +0000
@@ -72,6 +72,7 @@
 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 @@
 	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 @@
 	return NULL;
 }
 
+static const gchar *
+get_accessible_desc (IndicatorObject * io)
+{
+	return _("Session");
+}
+
 static void
 icon_changed (IndicatorSession * session, const gchar * icon_name)
 {


Follow ups