aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2009-08-11 04:37:43 +0800
committerMatthias Clasen <mclasen@redhat.com>2009-08-11 04:37:43 +0800
commit09bf9f5038497e8365e1ec96efaa2c477c3a0919 (patch)
tree738f8b0f42a5047b6b48886876c7baf649eeaed3
parent90673610a848f6e6e8ffb4ad7d06497e5d0b9464 (diff)
downloadgsoc2013-epiphany-09bf9f5038497e8365e1ec96efaa2c477c3a0919.tar.gz
gsoc2013-epiphany-09bf9f5038497e8365e1ec96efaa2c477c3a0919.tar.zst
gsoc2013-epiphany-09bf9f5038497e8365e1ec96efaa2c477c3a0919.zip
Mark an underline as mnemonic
This prevents a Cl_ear button to show up in the history window. Patch found in Ubuntu package...
-rw-r--r--src/ephy-history-window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c
index f41285a2d..d282738c8 100644
--- a/src/ephy-history-window.c
+++ b/src/ephy-history-window.c
@@ -245,6 +245,7 @@ confirmation_dialog_construct (EphyHistoryWindow *editor)
GTK_WINDOW (dialog));
button = gtk_button_new_with_label (_("Cl_ear"));
+ gtk_button_set_use_underline (GTK_BUTTON (button), TRUE);
image = gtk_image_new_from_stock (GTK_STOCK_CLEAR, GTK_ICON_SIZE_BUTTON);
gtk_button_set_image (GTK_BUTTON (button), image);
/* don't show the image! see bug #307818 */