aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2009-08-11 12:31:07 +0800
committerXan Lopez <xan@gnome.org>2009-08-11 12:31:53 +0800
commitecbe8407669020763c97597120a87d90478d2e8b (patch)
treea31f527dc8abd3e3e0b94aa64b6968136b90a8bc /src
parentd1ae115956d42347107dc0d4dbe682281b648915 (diff)
downloadgsoc2013-epiphany-ecbe8407669020763c97597120a87d90478d2e8b.tar
gsoc2013-epiphany-ecbe8407669020763c97597120a87d90478d2e8b.tar.gz
gsoc2013-epiphany-ecbe8407669020763c97597120a87d90478d2e8b.tar.bz2
gsoc2013-epiphany-ecbe8407669020763c97597120a87d90478d2e8b.tar.lz
gsoc2013-epiphany-ecbe8407669020763c97597120a87d90478d2e8b.tar.xz
gsoc2013-epiphany-ecbe8407669020763c97597120a87d90478d2e8b.tar.zst
gsoc2013-epiphany-ecbe8407669020763c97597120a87d90478d2e8b.zip
ephy-history-window: use new_with_mnemonic instead of new_with_label + set_use_underline
Diffstat (limited to 'src')
-rw-r--r--src/ephy-history-window.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c
index d282738c8..731b20e51 100644
--- a/src/ephy-history-window.c
+++ b/src/ephy-history-window.c
@@ -244,8 +244,7 @@ confirmation_dialog_construct (EphyHistoryWindow *editor)
gtk_window_group_add_window (ephy_gui_ensure_window_group (GTK_WINDOW (editor)),
GTK_WINDOW (dialog));
- button = gtk_button_new_with_label (_("Cl_ear"));
- gtk_button_set_use_underline (GTK_BUTTON (button), TRUE);
+ button = gtk_button_new_with_mnemonic (_("Cl_ear"));
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 */