[Xfce4-commits] [thunar-plugins/thunar-vcs-plugin] 01/01: Add mnemonics to buttons

noreply at xfce.org noreply at xfce.org
Thu May 31 04:59:36 CEST 2018


This is an automated email from the git hooks/post-receive script.

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository thunar-plugins/thunar-vcs-plugin.

commit fb2878a19bd51cb98e8ee4a90d018ed807525a3c
Author: Andre Miranda <andreldm at xfce.org>
Date:   Wed May 30 23:58:16 2018 -0300

    Add mnemonics to buttons
---
 tvp-git-helper/tgh-branch-dialog.c         | 2 +-
 tvp-git-helper/tgh-clean-dialog.c          | 2 +-
 tvp-git-helper/tgh-file-selection-dialog.c | 2 +-
 tvp-git-helper/tgh-move.c                  | 2 +-
 tvp-git-helper/tgh-stash-dialog.c          | 2 +-
 tvp-git-helper/tgh-transfer-dialog.c       | 4 ++--
 tvp-svn-helper/tsh-copy.c                  | 2 +-
 tvp-svn-helper/tsh-file-dialog.c           | 2 +-
 tvp-svn-helper/tsh-file-selection-dialog.c | 2 +-
 tvp-svn-helper/tsh-lock-dialog.c           | 2 +-
 tvp-svn-helper/tsh-log-message-dialog.c    | 2 +-
 tvp-svn-helper/tsh-login-dialog.c          | 2 +-
 tvp-svn-helper/tsh-move.c                  | 2 +-
 tvp-svn-helper/tsh-relocate-dialog.c       | 4 ++--
 tvp-svn-helper/tsh-transfer-dialog.c       | 4 ++--
 tvp-svn-helper/tsh-trust-dialog.c          | 2 +-
 16 files changed, 19 insertions(+), 19 deletions(-)

diff --git a/tvp-git-helper/tgh-branch-dialog.c b/tvp-git-helper/tgh-branch-dialog.c
index 4cb0b74..ddf7928 100644
--- a/tvp-git-helper/tgh-branch-dialog.c
+++ b/tvp-git-helper/tgh-branch-dialog.c
@@ -127,7 +127,7 @@ tgh_branch_dialog_init (TghBranchDialog *dialog)
   gtk_widget_show (tree_view);
   gtk_widget_show (scroll_window);
 
-  dialog->checkout = button = gtk_button_new_with_mnemonic (_("Jump to"));
+  dialog->checkout = button = gtk_button_new_with_mnemonic (_("_Jump to"));
   gtk_dialog_add_action_widget (GTK_DIALOG (dialog), button, "");
   g_signal_connect (G_OBJECT (button), "clicked", G_CALLBACK (checkout_clicked), dialog);
   gtk_widget_show (button);
diff --git a/tvp-git-helper/tgh-clean-dialog.c b/tvp-git-helper/tgh-clean-dialog.c
index fb9fe20..e1b69a2 100644
--- a/tvp-git-helper/tgh-clean-dialog.c
+++ b/tvp-git-helper/tgh-clean-dialog.c
@@ -97,7 +97,7 @@ tgh_clean_dialog_init (TghCleanDialog *dialog)
 
   gtk_dialog_add_buttons (GTK_DIALOG (dialog),
       _("_Cancel"), GTK_RESPONSE_CANCEL,
-      _("OK"), GTK_RESPONSE_OK,
+      _("_OK"), GTK_RESPONSE_OK,
       NULL);
   gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog), GTK_RESPONSE_OK, GTK_RESPONSE_CANCEL, -1);
   gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
diff --git a/tvp-git-helper/tgh-file-selection-dialog.c b/tvp-git-helper/tgh-file-selection-dialog.c
index 2c64012..f0f0847 100644
--- a/tvp-git-helper/tgh-file-selection-dialog.c
+++ b/tvp-git-helper/tgh-file-selection-dialog.c
@@ -122,7 +122,7 @@ tgh_file_selection_dialog_init (TghFileSelectionDialog *dialog)
 
   gtk_dialog_add_buttons (GTK_DIALOG (dialog),
                           _("_Cancel"), GTK_RESPONSE_CANCEL,
-                          _("OK"), GTK_RESPONSE_OK,
+                          _("_OK"), GTK_RESPONSE_OK,
                           NULL);
   gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog), GTK_RESPONSE_OK, GTK_RESPONSE_CANCEL, -1);
   gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
diff --git a/tvp-git-helper/tgh-move.c b/tvp-git-helper/tgh-move.c
index 084e650..952d8fd 100644
--- a/tvp-git-helper/tgh-move.c
+++ b/tvp-git-helper/tgh-move.c
@@ -146,7 +146,7 @@ gboolean tgh_move (gchar **files, GPid *pid)
   dialog = gtk_file_chooser_dialog_new (_("Move To"), NULL,
       multiple?GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER:GTK_FILE_CHOOSER_ACTION_SAVE,
       _("_Cancel"), GTK_RESPONSE_CANCEL,
-      _("OK"), GTK_RESPONSE_OK,
+      _("_OK"), GTK_RESPONSE_OK,
       NULL);
 
   if (gtk_dialog_run (GTK_DIALOG (dialog)) != GTK_RESPONSE_OK)
diff --git a/tvp-git-helper/tgh-stash-dialog.c b/tvp-git-helper/tgh-stash-dialog.c
index 3958f25..8031a69 100644
--- a/tvp-git-helper/tgh-stash-dialog.c
+++ b/tvp-git-helper/tgh-stash-dialog.c
@@ -238,7 +238,7 @@ tgh_stash_dialog_init (TghStashDialog *dialog)
   g_signal_connect (G_OBJECT (button), "clicked", G_CALLBACK (drop_clicked), dialog);
   gtk_widget_show (button);
 
-  dialog->clear = button = gtk_button_new_with_mnemonic (_("Clear"));
+  dialog->clear = button = gtk_button_new_with_mnemonic (_("C_lear"));
   gtk_dialog_add_action_widget (GTK_DIALOG (dialog), button, "");
   g_signal_connect (G_OBJECT (button), "clicked", G_CALLBACK (clear_clicked), dialog);
   gtk_widget_show (button);
diff --git a/tvp-git-helper/tgh-transfer-dialog.c b/tvp-git-helper/tgh-transfer-dialog.c
index ced6f71..fb11181 100644
--- a/tvp-git-helper/tgh-transfer-dialog.c
+++ b/tvp-git-helper/tgh-transfer-dialog.c
@@ -75,7 +75,7 @@ tgh_transfer_dialog_init (TghTransferDialog *dialog)
     dialog->filechooser = gtk_file_chooser_dialog_new(_("Select a folder"), GTK_WINDOW(dialog),
             GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER,
             _("_Cancel"), GTK_RESPONSE_CANCEL,
-            _("OK"), GTK_RESPONSE_OK,
+            _("_OK"), GTK_RESPONSE_OK,
             NULL);
 
     image = gtk_image_new_from_icon_name ("document-open", GTK_ICON_SIZE_MENU);
@@ -122,7 +122,7 @@ tgh_transfer_dialog_init (TghTransferDialog *dialog)
 
     gtk_dialog_add_buttons (GTK_DIALOG (dialog),
             _("_Cancel"), GTK_RESPONSE_CANCEL,
-            _("OK"), GTK_RESPONSE_OK,
+            _("_OK"), GTK_RESPONSE_OK,
             NULL);
     gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog), GTK_RESPONSE_OK, GTK_RESPONSE_CANCEL, -1);
     gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
diff --git a/tvp-svn-helper/tsh-copy.c b/tvp-svn-helper/tsh-copy.c
index 51fb0c0..421fdd3 100644
--- a/tvp-svn-helper/tsh-copy.c
+++ b/tvp-svn-helper/tsh-copy.c
@@ -165,7 +165,7 @@ GThread *tsh_copy (gchar **files, svn_client_ctx_t *ctx, apr_pool_t *pool)
   dialog = gtk_file_chooser_dialog_new (_("Copy To"), NULL,
                                /*isdir?GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER:*/GTK_FILE_CHOOSER_ACTION_SAVE,
                                _("_Cancel"), GTK_RESPONSE_CANCEL,
-                               _("OK"), GTK_RESPONSE_OK,
+                               _("_OK"), GTK_RESPONSE_OK,
                                NULL);
 
   gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (dialog), isdir?(absolute?absolute:from):g_path_get_dirname(absolute?absolute:from));
diff --git a/tvp-svn-helper/tsh-file-dialog.c b/tvp-svn-helper/tsh-file-dialog.c
index 8685386..7ef8209 100644
--- a/tvp-svn-helper/tsh-file-dialog.c
+++ b/tvp-svn-helper/tsh-file-dialog.c
@@ -86,7 +86,7 @@ tsh_file_dialog_init (TshFileDialog *dialog)
 
 	gtk_dialog_add_buttons (GTK_DIALOG (dialog),
 	                        _("_Cancel"), GTK_RESPONSE_CANCEL,
-	                        _("OK"), GTK_RESPONSE_OK,
+	                        _("_OK"), GTK_RESPONSE_OK,
 	                        NULL);
 	gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog), GTK_RESPONSE_OK, GTK_RESPONSE_CANCEL, -1);
 	gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
diff --git a/tvp-svn-helper/tsh-file-selection-dialog.c b/tvp-svn-helper/tsh-file-selection-dialog.c
index cebf210..2d38ece 100644
--- a/tvp-svn-helper/tsh-file-selection-dialog.c
+++ b/tvp-svn-helper/tsh-file-selection-dialog.c
@@ -151,7 +151,7 @@ tsh_file_selection_dialog_init (TshFileSelectionDialog *dialog)
 
 	gtk_dialog_add_buttons (GTK_DIALOG (dialog),
 	                        _("_Cancel"), GTK_RESPONSE_CANCEL,
-	                        _("OK"), GTK_RESPONSE_OK,
+	                        _("_OK"), GTK_RESPONSE_OK,
 	                        NULL);
 	gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog), GTK_RESPONSE_OK, GTK_RESPONSE_CANCEL, -1);
 	gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
diff --git a/tvp-svn-helper/tsh-lock-dialog.c b/tvp-svn-helper/tsh-lock-dialog.c
index e6c8f18..4c4664a 100644
--- a/tvp-svn-helper/tsh-lock-dialog.c
+++ b/tvp-svn-helper/tsh-lock-dialog.c
@@ -72,7 +72,7 @@ tsh_lock_dialog_init (TshLockDialog *dialog)
 
   gtk_dialog_add_buttons (GTK_DIALOG (dialog),
                           _("_Cancel"), GTK_RESPONSE_CANCEL,
-                          _("OK"), GTK_RESPONSE_OK,
+                          _("_OK"), GTK_RESPONSE_OK,
                           NULL);
   gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog), GTK_RESPONSE_OK, GTK_RESPONSE_CANCEL, -1);
   gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
diff --git a/tvp-svn-helper/tsh-log-message-dialog.c b/tvp-svn-helper/tsh-log-message-dialog.c
index 634da51..f7e9484 100644
--- a/tvp-svn-helper/tsh-log-message-dialog.c
+++ b/tvp-svn-helper/tsh-log-message-dialog.c
@@ -118,7 +118,7 @@ tsh_log_message_dialog_init (TshLogMessageDialog *dialog)
 
   gtk_dialog_add_buttons (GTK_DIALOG (dialog),
                           _("_Cancel"), GTK_RESPONSE_CANCEL,
-                          _("OK"), GTK_RESPONSE_OK,
+                          _("_OK"), GTK_RESPONSE_OK,
                           NULL);
   gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog), GTK_RESPONSE_OK, GTK_RESPONSE_CANCEL, -1);
   gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
diff --git a/tvp-svn-helper/tsh-login-dialog.c b/tvp-svn-helper/tsh-login-dialog.c
index 1b60f63..e9c1b87 100644
--- a/tvp-svn-helper/tsh-login-dialog.c
+++ b/tvp-svn-helper/tsh-login-dialog.c
@@ -106,7 +106,7 @@ tsh_login_dialog_init (TshLoginDialog *dialog)
 
 	gtk_dialog_add_buttons (GTK_DIALOG (dialog),
 	                        _("_Cancel"), GTK_RESPONSE_CANCEL,
-	                        _("OK"), GTK_RESPONSE_OK,
+	                        _("_OK"), GTK_RESPONSE_OK,
 	                        NULL);
 	gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog), GTK_RESPONSE_OK, GTK_RESPONSE_CANCEL, -1);
 	gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
diff --git a/tvp-svn-helper/tsh-move.c b/tvp-svn-helper/tsh-move.c
index 05f5b70..0326317 100644
--- a/tvp-svn-helper/tsh-move.c
+++ b/tvp-svn-helper/tsh-move.c
@@ -154,7 +154,7 @@ GThread *tsh_move (gchar **files, svn_client_ctx_t *ctx, apr_pool_t *pool)
   dialog = gtk_file_chooser_dialog_new (_("Move To"), NULL,
                                /*isdir?GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER:*/GTK_FILE_CHOOSER_ACTION_SAVE,
                                _("_Cancel"), GTK_RESPONSE_CANCEL,
-                               _("OK"), GTK_RESPONSE_OK,
+                               _("_OK"), GTK_RESPONSE_OK,
                                NULL);
 
   gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (dialog), isdir?(absolute?absolute:from):g_path_get_dirname(absolute?absolute:from));
diff --git a/tvp-svn-helper/tsh-relocate-dialog.c b/tvp-svn-helper/tsh-relocate-dialog.c
index 7c71648..61abe23 100644
--- a/tvp-svn-helper/tsh-relocate-dialog.c
+++ b/tvp-svn-helper/tsh-relocate-dialog.c
@@ -97,7 +97,7 @@ tsh_relocate_dialog_init (TshRelocateDialog *dialog)
   dialog->filechooser_from = gtk_file_chooser_dialog_new(_("Select a folder"), GTK_WINDOW(dialog),
                                                     GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER,
                                                     _("_Cancel"), GTK_RESPONSE_CANCEL,
-                                                    _("OK"), GTK_RESPONSE_OK,
+                                                    _("_OK"), GTK_RESPONSE_OK,
                                                     NULL);
 #else
 	dialog->from = gtk_file_chooser_entry_new(_("Select a folder"), GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER);//tsh_file_chooser_entry_new ();
@@ -151,7 +151,7 @@ tsh_relocate_dialog_init (TshRelocateDialog *dialog)
   dialog->filechooser_to = gtk_file_chooser_dialog_new(_("Select a folder"), GTK_WINDOW(dialog),
                                                     GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER,
                                                     _("_Cancel"), GTK_RESPONSE_CANCEL,
-                                                    _("OK"), GTK_RESPONSE_OK,
+                                                    _("_OK"), GTK_RESPONSE_OK,
                                                     NULL);
 #else
 	dialog->to = gtk_file_chooser_entry_new(_("Select a folder"), GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER);//tsh_file_chooser_entry_new ();
diff --git a/tvp-svn-helper/tsh-transfer-dialog.c b/tvp-svn-helper/tsh-transfer-dialog.c
index b3741ef..d5799e3 100644
--- a/tvp-svn-helper/tsh-transfer-dialog.c
+++ b/tvp-svn-helper/tsh-transfer-dialog.c
@@ -91,7 +91,7 @@ tsh_transfer_dialog_init (TshTransferDialog *dialog)
   dialog->filechooser = gtk_file_chooser_dialog_new(_("Select a folder"), GTK_WINDOW(dialog),
                                                     GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER,
                                                     _("_Cancel"), GTK_RESPONSE_CANCEL,
-                                                    _("OK"), GTK_RESPONSE_OK,
+                                                    _("_OK"), GTK_RESPONSE_OK,
                                                     NULL);
 #else
 	dialog->repository = gtk_file_chooser_entry_new(_("Select a folder"), GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER);//tsh_file_chooser_entry_new ();
@@ -155,7 +155,7 @@ tsh_transfer_dialog_init (TshTransferDialog *dialog)
 
 	gtk_dialog_add_buttons (GTK_DIALOG (dialog),
 	                        _("_Cancel"), GTK_RESPONSE_CANCEL,
-	                        _("OK"), GTK_RESPONSE_OK,
+	                        _("_OK"), GTK_RESPONSE_OK,
 	                        NULL);
 	gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog), GTK_RESPONSE_OK, GTK_RESPONSE_CANCEL, -1);
 	gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
diff --git a/tvp-svn-helper/tsh-trust-dialog.c b/tvp-svn-helper/tsh-trust-dialog.c
index ebb497a..9fcf8ef 100644
--- a/tvp-svn-helper/tsh-trust-dialog.c
+++ b/tvp-svn-helper/tsh-trust-dialog.c
@@ -80,7 +80,7 @@ tsh_trust_dialog_init (TshTrustDialog *dialog)
 
 	gtk_dialog_add_buttons (GTK_DIALOG (dialog),
 	                        _("_Cancel"), GTK_RESPONSE_CANCEL,
-	                        _("OK"), GTK_RESPONSE_OK,
+	                        _("_OK"), GTK_RESPONSE_OK,
 	                        NULL);
 	gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog), GTK_RESPONSE_OK, GTK_RESPONSE_CANCEL, -1);
 	gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list