evince r3431 - in trunk: . shell



Author: carlosgc
Date: Sat Feb 14 17:23:53 2009
New Revision: 3431
URL: http://svn.gnome.org/viewvc/evince?rev=3431&view=rev

Log:
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.

Modified:
   trunk/ChangeLog
   trunk/shell/eggfindbar.c

Modified: trunk/shell/eggfindbar.c
==============================================================================
--- trunk/shell/eggfindbar.c	(original)
+++ trunk/shell/eggfindbar.c	Sat Feb 14 17:23:53 2009
@@ -327,6 +327,7 @@
   /* 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 @@
   /* 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"));



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