X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Feggfindbar.c;h=5b196ec1299f56ecad2cf943a530301352c7ee31;hb=d937b8505ff14af15ae0372ab40a0e81a93b728c;hp=24079d3c08f5dd3dbad39b06699d3e1038011276;hpb=5c28946a3485ad6657985ac294c6a21089a0570c;p=evince.git diff --git a/shell/eggfindbar.c b/shell/eggfindbar.c index 24079d3c..5b196ec1 100644 --- a/shell/eggfindbar.c +++ b/shell/eggfindbar.c @@ -143,8 +143,8 @@ egg_find_bar_class_init (EggFindBarClass *klass) g_object_class_install_property (object_class, PROP_SEARCH_STRING, g_param_spec_string ("search_string", - _("Search string"), - _("The name of the string to be found"), + "Search string", + "The name of the string to be found", NULL, G_PARAM_READWRITE)); @@ -157,23 +157,23 @@ egg_find_bar_class_init (EggFindBarClass *klass) g_object_class_install_property (object_class, PROP_CASE_SENSITIVE, g_param_spec_boolean ("case_sensitive", - _("Case sensitive"), - _("TRUE for a case sensitive search"), + "Case sensitive", + "TRUE for a case sensitive search", FALSE, G_PARAM_READWRITE)); /* Style properties */ gtk_widget_class_install_style_property (widget_class, g_param_spec_boxed ("all_matches_color", - _("Highlight color"), - _("Color of highlight for all matches"), + "Highlight color", + "Color of highlight for all matches", GDK_TYPE_COLOR, G_PARAM_READABLE)); gtk_widget_class_install_style_property (widget_class, g_param_spec_boxed ("current_match_color", - _("Current color"), - _("Color of highlight for the current match"), + "Current color", + "Color of highlight for the current match", GDK_TYPE_COLOR, G_PARAM_READABLE)); @@ -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"));