diff options
author | Luca Ferretti <lferrett@gnome.org> | 2010-03-15 01:52:46 +0100 |
---|---|---|
committer | Luca Ferretti <lferrett@gnome.org> | 2010-03-15 01:52:46 +0100 |
commit | 7ffb09cc2922e99259e86ee01bbccf8e2a99b07e (patch) | |
tree | 126fc2f65cb5b5ddc950d8137c860a568bbc2a78 /gweather | |
parent | b0ac8bb8f1a7e59233e5b506ffe8c8f029584f97 (diff) |
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.
Diffstat (limited to 'gweather')
-rw-r--r-- | 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 4fee96e3e..58781891d 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); |