[epiphany] Mark an underline as mnemonic



commit 09bf9f5038497e8365e1ec96efaa2c477c3a0919
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Aug 10 16:37:43 2009 -0400

    Mark an underline as mnemonic
    
    This prevents a Cl_ear button to show up in the history window.
    Patch found in Ubuntu package...

 src/ephy-history-window.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c
index f41285a..d282738 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 */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]