From c22cb479dbb9879f1b153f391b57e972f53c1b9f Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Tue, 4 Jan 2005 21:31:06 +0000 Subject: Use ngettext to get the Open in New Tab[s]/Window[s] label. 2005-01-04 Christian Persch * lib/widgets/ephy-node-view.c: * lib/widgets/ephy-node-view.h: * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu): * src/ephy-history-window.c: (ephy_history_window_update_menu): Use ngettext to get the Open in New Tab[s]/Window[s] label. 2005-01-04 Christian Persch --- lib/widgets/ephy-node-view.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'lib/widgets/ephy-node-view.c') diff --git a/lib/widgets/ephy-node-view.c b/lib/widgets/ephy-node-view.c index c0e34b62a..dfa6c88bc 100644 --- a/lib/widgets/ephy-node-view.c +++ b/lib/widgets/ephy-node-view.c @@ -1478,23 +1478,6 @@ ephy_node_view_is_target (EphyNodeView *view) return gtk_widget_is_focus (GTK_WIDGET (view)); } -gboolean -ephy_node_view_has_selection (EphyNodeView *view, gboolean *multiple) -{ - GtkTreeSelection *selection; - int rows; - - selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (view)); - rows = gtk_tree_selection_count_selected_rows (selection); - - if (multiple) - { - *multiple = rows > 1; - } - - return rows > 0; -} - static gboolean filter_visible_func (GtkTreeModel *model, GtkTreeIter *iter, gpointer data) { -- cgit