From 5fc4b1809b41c5acc7622df02744aba8dff91639 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 1 Aug 2012 20:36:04 +0200 Subject: [PATCH] info: Fix mnemonic activation for 'other media action' The mnemonic was pointing at a box, which is not activatable. https://bugzilla.gnome.org/show_bug.cgi?id=681211 --- panels/info/cc-info-panel.c | 6 ++++++ panels/info/info.ui | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/panels/info/cc-info-panel.c b/panels/info/cc-info-panel.c index 96a39de0d..e64d86804 100644 --- a/panels/info/cc-info-panel.c +++ b/panels/info/cc-info-panel.c @@ -1237,6 +1237,7 @@ other_type_combo_box_changed (GtkComboBox *combo_box, GtkTreeModel *model; char *x_content_type; GtkWidget *action_container; + GtkWidget *action_label; x_content_type = NULL; @@ -1264,6 +1265,11 @@ other_type_combo_box_changed (GtkComboBox *combo_box, prepare_combo_box (self, self->priv->other_application_combo, NULL); gtk_widget_show (self->priv->other_application_combo); + action_label = GTK_WIDGET (gtk_builder_get_object (self->priv->builder, + "media_other_action_label")); + + gtk_label_set_mnemonic_widget (GTK_LABEL (action_label), self->priv->other_application_combo); + g_free (x_content_type); } diff --git a/panels/info/info.ui b/panels/info/info.ui index 5e07805dd..bfc0423b2 100644 --- a/panels/info/info.ui +++ b/panels/info/info.ui @@ -103,13 +103,12 @@ - + True False 0 Acti_on: True - media_other_action_container 0