Commit 535317de authored by Clinton Rogers's avatar Clinton Rogers

Dialogs: made the Preferences dialog regain focus if the user chooses 'Edit ->...

Dialogs: made the Preferences dialog regain focus if the user chooses 'Edit -> Preferences' a second time (trac #3001)
PiwigoConnector: changed the mnemonic for the 'Username' field from 'U' to 'N' (#3002)
parent 6210207f
......@@ -1752,8 +1752,12 @@ public class PreferencesDialog {
preferences_dialog.populate_preference_options();
preferences_dialog.dialog.show_all();
preferences_dialog.library_dir_button.set_current_folder(AppDirs.get_import_dir().get_path());
// Ticket #3001: Cause the dialog to become active if the user chooses 'Preferences'
// from the menus a second time.
preferences_dialog.dialog.present();
}
// For items that should only be committed when the dialog is closed, not as soon as the change
// is made.
private void commit_on_close() {
......
......@@ -632,7 +632,7 @@ private class CredentialsCapturePane : PublishingDialogPane {
Gtk.Table entry_widgets_table = new Gtk.Table(4,2, false);
Gtk.Label url_entry_label = new Gtk.Label.with_mnemonic(_("_URL of your Piwigo installation:"));
url_entry_label.set_alignment(0.0f, 0.5f);
Gtk.Label user_entry_label = new Gtk.Label.with_mnemonic(_("_Username:"));
Gtk.Label user_entry_label = new Gtk.Label.with_mnemonic(_("User_name:"));
user_entry_label.set_alignment(0.0f, 0.5f);
Gtk.Label password_entry_label = new Gtk.Label.with_mnemonic(_("_Password:"));
password_entry_label.set_alignment(0.0f, 0.5f);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment