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
This commit is contained in:
Matthias Clasen 2012-08-01 20:36:04 +02:00
parent 34caef89ef
commit 5fc4b1809b
2 changed files with 7 additions and 2 deletions

View file

@ -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);
}

View file

@ -103,13 +103,12 @@
</packing>
</child>
<child>
<object class="GtkLabel" id="label64">
<object class="GtkLabel" id="media_other_action_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">Acti_on:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">media_other_action_container</property>
</object>
<packing>
<property name="left_attach">0</property>