[gnome-applets] Fix mnemonics for Find Next button (closes bug #612701)
- From: Luca Ferretti <lferrett src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-applets] Fix mnemonics for Find Next button (closes bug #612701)
- Date: Mon, 15 Mar 2010 00:54:23 +0000 (UTC)
commit 7ffb09cc2922e99259e86ee01bbccf8e2a99b07e
Author: Luca Ferretti <lferrett gnome org>
Date: Mon Mar 15 01:52:46 2010 +0100
Fix mnemonics for Find Next button (closes bug #612701)
Use gtk_button_new_with_mnemonic() instead gtk_button_new_with_label() as
suggested by André Klapper.
gweather/gweather-pref.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gweather/gweather-pref.c b/gweather/gweather-pref.c
index 4fee96e..5878189 100644
--- a/gweather/gweather-pref.c
+++ b/gweather/gweather-pref.c
@@ -1117,7 +1117,7 @@ gweather_pref_create (GWeatherPref *pref)
gtk_label_set_mnemonic_widget (GTK_LABEL (pref_find_label),
pref->priv->find_entry);
- pref->priv->find_next_btn = gtk_button_new_with_label (_("Find _Next"));
+ pref->priv->find_next_btn = gtk_button_new_with_mnemonic (_("Find _Next"));
gtk_widget_set_sensitive (pref->priv->find_next_btn, FALSE);
image = gtk_image_new_from_stock (GTK_STOCK_FIND, GTK_ICON_SIZE_BUTTON);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]