Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/eggfindbar.c
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2008-10-31 17:40:28 (GMT)
committer Carlos Garcia Campos <carlosgc@src.gnome.org>2008-10-31 17:40:28 (GMT)
commit81c134286178c1b09b7505c1a9e8fba0c612fe1f (patch)
treef6106e7f60d723e279bf41b9801f4e8e9435c867 /shell/eggfindbar.c
parent973e7f54f89b94cb7eae1f1e33befa424142cb3f (diff)
Removed shell/ev-view-private.h
2008-10-31 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * backend/pdf/ev-poppler.cc: * properties/ev-properties-view.c: * shell/Makefile.am: * shell/ev-tooltip.[ch]: Removed * shell/ev-view-private.h * shell/eggfindbar.c: * shell/ev-application.c: * shell/ev-open-recent-action.c: * shell/ev-sidebar-thumbnails.c: * shell/ev-view.c: * shell/ev-window.c: Bump GTK+ requirement to 2.12. svn path=/trunk/; revision=3242
Diffstat (limited to 'shell/eggfindbar.c')
-rw-r--r--shell/eggfindbar.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/shell/eggfindbar.c b/shell/eggfindbar.c
index 8b8ba26..9bfaeb4 100644
--- a/shell/eggfindbar.c
+++ b/shell/eggfindbar.c
@@ -328,27 +328,15 @@ egg_find_bar_init (EggFindBar *find_bar)
arrow = gtk_arrow_new (GTK_ARROW_LEFT, GTK_SHADOW_NONE);
priv->previous_button = gtk_tool_button_new (arrow, Q_("Find Previous"));
gtk_tool_item_set_is_important (priv->previous_button, TRUE);
-#if GTK_CHECK_VERSION (2, 11, 5)
gtk_widget_set_tooltip_text (GTK_WIDGET (priv->previous_button),
_("Find previous occurrence of the search string"));
-#else
- gtk_tool_item_set_tooltip (priv->previous_button, GTK_TOOLBAR (find_bar)->tooltips,
- _("Find previous occurrence of the search string"),
- NULL);
-#endif
/* Next */
arrow = gtk_arrow_new (GTK_ARROW_RIGHT, GTK_SHADOW_NONE);
priv->next_button = gtk_tool_button_new (arrow, Q_("Find Next"));
gtk_tool_item_set_is_important (priv->next_button, TRUE);
-#if GTK_CHECK_VERSION (2, 11, 5)
gtk_widget_set_tooltip_text (GTK_WIDGET (priv->next_button),
_("Find next occurrence of the search string"));
-#else
- gtk_tool_item_set_tooltip (priv->next_button, GTK_TOOLBAR (find_bar)->tooltips,
- _("Find next occurrence of the search string"),
- NULL);
-#endif
/* Separator*/
priv->status_separator = gtk_separator_tool_item_new();
@@ -357,14 +345,9 @@ egg_find_bar_init (EggFindBar *find_bar)
priv->case_button = gtk_toggle_tool_button_new ();
g_object_set (G_OBJECT (priv->case_button), "label", _("C_ase Sensitive"), NULL);
gtk_tool_item_set_is_important (priv->case_button, TRUE);
-#if GTK_CHECK_VERSION (2, 11, 5)
gtk_widget_set_tooltip_text (GTK_WIDGET (priv->case_button),
_("Toggle case sensitive search"));
-#else
- gtk_tool_item_set_tooltip (priv->case_button, GTK_TOOLBAR (find_bar)->tooltips,
- _("Toggle case sensitive search"),
- NULL);
-#endif
+
/* Status */
priv->status_item = gtk_tool_item_new();
gtk_tool_item_set_expand (priv->status_item, TRUE);