diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2009-02-14 17:23:53 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@src.gnome.org> | 2009-02-14 17:23:53 (GMT) |
commit | 4f7c5efca7fd76c62f9e5fda5ca1d01b3495b50e (patch) | |
tree | 1026f8fc684a70795c5d70f26fc2f39a87a11eac /shell | |
parent | 02a4fdae0635aefa68b4e17960da255582731156 (diff) |
Use gtk_tool_button_set_use_underline() for next/previous buttons so that
2009-02-14 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/eggfindbar.c: (egg_find_bar_init):
Use gtk_tool_button_set_use_underline() for next/previous buttons
so that the underline is used for the mnemonic. Fixes bug #571547.
svn path=/trunk/; revision=3431
Diffstat (limited to 'shell')
-rw-r--r-- | shell/eggfindbar.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/eggfindbar.c b/shell/eggfindbar.c index 24079d3..eabee11 100644 --- a/shell/eggfindbar.c +++ b/shell/eggfindbar.c @@ -327,6 +327,7 @@ egg_find_bar_init (EggFindBar *find_bar) /* Prev */ arrow = gtk_arrow_new (GTK_ARROW_LEFT, GTK_SHADOW_NONE); priv->previous_button = gtk_tool_button_new (arrow, Q_("Find Pre_vious")); + gtk_tool_button_set_use_underline (GTK_TOOL_BUTTON (priv->previous_button), TRUE); gtk_tool_item_set_is_important (priv->previous_button, TRUE); gtk_widget_set_tooltip_text (GTK_WIDGET (priv->previous_button), _("Find previous occurrence of the search string")); @@ -334,6 +335,7 @@ egg_find_bar_init (EggFindBar *find_bar) /* Next */ arrow = gtk_arrow_new (GTK_ARROW_RIGHT, GTK_SHADOW_NONE); priv->next_button = gtk_tool_button_new (arrow, Q_("Find Ne_xt")); + gtk_tool_button_set_use_underline (GTK_TOOL_BUTTON (priv->next_button), TRUE); gtk_tool_item_set_is_important (priv->next_button, TRUE); gtk_widget_set_tooltip_text (GTK_WIDGET (priv->next_button), _("Find next occurrence of the search string")); |