[gtksourceview] Make the chooser widget properly accessible
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] Make the chooser widget properly accessible
- Date: Wed, 31 Dec 2014 08:58:15 +0000 (UTC)
commit a8d0e8f2437365658dd8ce4f796704be9e04f2d0
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Wed Dec 31 09:57:56 2014 +0100
Make the chooser widget properly accessible
gtksourceview/gtksourcestyleschemechooserwidget.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gtksourceview/gtksourcestyleschemechooserwidget.c
b/gtksourceview/gtksourcestyleschemechooserwidget.c
index b58632e..a5044d2 100644
--- a/gtksourceview/gtksourcestyleschemechooserwidget.c
+++ b/gtksourceview/gtksourcestyleschemechooserwidget.c
@@ -135,12 +135,16 @@ make_row (GtkSourceStyleScheme *scheme,
GtkSourceLanguage *language)
{
GtkWidget *row;
+ AtkObject *accessible;
GtkWidget *event;
GtkSourceBuffer *buffer;
GtkWidget *view;
gchar *text;
row = gtk_list_box_row_new ();
+ accessible = gtk_widget_get_accessible (row);
+ atk_object_set_name (accessible,
+ gtk_source_style_scheme_get_name (scheme));
gtk_widget_show (row);
g_object_set_data (G_OBJECT (row), "scheme", scheme);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]