[epiphany] ephy-history-window: use new_with_mnemonic instead of new_with_label + set_use_underline
- From: Xan Lopez <xan src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-history-window: use new_with_mnemonic instead of new_with_label + set_use_underline
- Date: Tue, 11 Aug 2009 10:05:41 +0000 (UTC)
commit ecbe8407669020763c97597120a87d90478d2e8b
Author: Xan Lopez <xan gnome org>
Date: Tue Aug 11 07:31:07 2009 +0300
ephy-history-window: use new_with_mnemonic instead of new_with_label + set_use_underline
src/ephy-history-window.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c
index d282738..731b20e 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 */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]