forked from AuroraMiddleware/gtk
filechooser: Don't use an underline mnemonic in the 'Save in folder' label
This used to point to the GtkPathBar, which doesn't accept mnemonic activation, anyway. This whole thing was a leftover from when we had a combo box to select a folder, but this is no longer the case. https://bugzilla.gnome.org/show_bug.cgi?id=706448 Signed-off-by: Federico Mena Quintero <federico@gnome.org>
This commit is contained in:
parent
ec26a909f6
commit
354db1d69d
@ -2516,7 +2516,6 @@ restore_path_bar (GtkFileChooserDefault *impl)
|
||||
{
|
||||
gtk_widget_set_hexpand (priv->browse_path_bar_hbox, TRUE);
|
||||
gtk_grid_attach (GTK_GRID (priv->save_widgets_table), priv->browse_path_bar_hbox, 1, 1, 1, 1);
|
||||
gtk_label_set_mnemonic_widget (GTK_LABEL (priv->save_folder_label), priv->browse_path_bar);
|
||||
}
|
||||
else
|
||||
g_assert_not_reached ();
|
||||
@ -2734,11 +2733,11 @@ update_appearance (GtkFileChooserDefault *impl)
|
||||
save_widgets_create (impl);
|
||||
|
||||
if (priv->action == GTK_FILE_CHOOSER_ACTION_SAVE)
|
||||
text = _("Save in _folder:");
|
||||
text = _("Save in folder:");
|
||||
else
|
||||
text = _("Create in _folder:");
|
||||
text = _("Create in folder:");
|
||||
|
||||
gtk_label_set_text_with_mnemonic (GTK_LABEL (priv->save_folder_label), text);
|
||||
gtk_label_set_text (GTK_LABEL (priv->save_folder_label), text);
|
||||
|
||||
if (priv->select_multiple)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user