From 35dcf67c7ea0a28cf7a5b75da4e63c330af51588 Mon Sep 17 00:00:00 2001 From: Matthew Rasmus Date: Sun, 6 Feb 2011 18:22:03 -0800 Subject: Fix for lp:597317 --- src/dialog.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/dialog.c b/src/dialog.c index 51b1682..9633224 100644 --- a/src/dialog.c +++ b/src/dialog.c @@ -226,5 +226,20 @@ logout_dialog_new (LogoutDialogType type) gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_OK); + /* The following is a workaround to fix an issue in GtkMessageDialog + in which the user can tab through the text in addition to + the buttons. */ + GtkWidget *message_area = gtk_message_dialog_get_message_area(GTK_MESSAGE_DIALOG(dialog)); + GList *children = gtk_container_get_children(GTK_CONTAINER(message_area)); + GList *l; + + for (l = children; l != NULL; l = g_list_next (l)) + { + GtkWidget *child = l->data; + gtk_widget_set_can_focus(child, FALSE); + } + + g_list_free (children); + return dialog; } -- cgit v1.2.3 From a5e8b16aa7c16b50c52b4fa86f0a0dffcf28f729 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Fri, 11 Feb 2011 10:35:42 -0600 Subject: 0.2.13 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 0fd00e0..8350dd5 100644 --- a/configure.ac +++ b/configure.ac @@ -4,7 +4,7 @@ AC_INIT(src/indicator-session.c) AC_PREREQ(2.53) AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE(indicator-session, 0.2.12) +AM_INIT_AUTOMAKE(indicator-session, 0.2.13) AM_MAINTAINER_MODE -- cgit v1.2.3