aboutsummaryrefslogtreecommitdiffstats
path: root/src/pdm-dialog.c
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <diegoe@src.gnome.org>2008-10-13 06:35:44 +0800
committerDiego Escalante Urrelo <diegoe@src.gnome.org>2008-10-13 06:35:44 +0800
commitc99de0b359dd9b23c7a31a9f8c10ae4cde51fb7b (patch)
tree9f8da8edf68550671e88a6117b3aed1544009ad1 /src/pdm-dialog.c
parentfc707a3cd5c79dc3d770e9b6e93f71056979721c (diff)
downloadgsoc2013-epiphany-c99de0b359dd9b23c7a31a9f8c10ae4cde51fb7b.tar.gz
gsoc2013-epiphany-c99de0b359dd9b23c7a31a9f8c10ae4cde51fb7b.tar.zst
gsoc2013-epiphany-c99de0b359dd9b23c7a31a9f8c10ae4cde51fb7b.zip
Fix conflicting mnemonics in Clear All Personal Data
Reuse existing strings, closes: bug #549892. Patch by Juan Percy Rojas Cruz. svn path=/trunk/; revision=8579
Diffstat (limited to 'src/pdm-dialog.c')
-rw-r--r--src/pdm-dialog.c15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/pdm-dialog.c b/src/pdm-dialog.c
index 58ebfa0d8..a1b41f3ac 100644
--- a/src/pdm-dialog.c
+++ b/src/pdm-dialog.c
@@ -307,6 +307,7 @@ pdm_dialog_show_clear_all_dialog (EphyDialog *edialog,
GtkWidget *dialog, *vbox;
GtkWidget *check, *label;
PdmClearAllDialogButtons *checkbuttons;
+ GtkWidget *button, *icon;
dialog = gtk_message_dialog_new_with_markup (GTK_WINDOW (parent),
GTK_DIALOG_DESTROY_WITH_PARENT |
@@ -322,14 +323,22 @@ pdm_dialog_show_clear_all_dialog (EphyDialog *edialog,
"check the types of information that you "
"want to remove:"));
gtk_window_set_title (GTK_WINDOW (dialog), _("Clear All Personal Data"));
+
gtk_dialog_add_buttons (GTK_DIALOG (dialog),
GTK_STOCK_HELP,
GTK_RESPONSE_HELP,
GTK_STOCK_CANCEL,
GTK_RESPONSE_CANCEL,
- GTK_STOCK_CLEAR,
- GTK_RESPONSE_OK,
NULL);
+
+ /* Clear button */
+ button = gtk_dialog_add_button (GTK_DIALOG (dialog),
+ _("Cl_ear"),
+ GTK_RESPONSE_OK);
+ icon = gtk_image_new_from_stock (GTK_STOCK_CLEAR, GTK_ICON_SIZE_BUTTON);
+ gtk_button_set_image (GTK_BUTTON (button), icon);
+ gtk_widget_show (button);
+
gtk_dialog_set_default_response (GTK_DIALOG (dialog),
GTK_RESPONSE_CANCEL);
gtk_label_set_selectable (GTK_LABEL (GTK_MESSAGE_DIALOG (dialog)->label),
@@ -368,7 +377,7 @@ pdm_dialog_show_clear_all_dialog (EphyDialog *edialog,
}
/* History */
- check = gtk_check_button_new_with_mnemonic (_("_History"));
+ check = gtk_check_button_new_with_mnemonic (_("Hi_story"));
checkbuttons->checkbutton_history = check;
gtk_box_pack_start (GTK_BOX (vbox), check,
FALSE, FALSE, 0);