diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-01-05 05:31:06 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-01-05 05:31:06 +0800 |
commit | c22cb479dbb9879f1b153f391b57e972f53c1b9f (patch) | |
tree | ea08d36b6d6d04b04ea3edca057831c33f3d2cf7 /lib/widgets/ephy-node-view.c | |
parent | af3fc43e417a96bc31b5bda39153980486da1ca9 (diff) | |
download | gsoc2013-epiphany-c22cb479dbb9879f1b153f391b57e972f53c1b9f.tar gsoc2013-epiphany-c22cb479dbb9879f1b153f391b57e972f53c1b9f.tar.gz gsoc2013-epiphany-c22cb479dbb9879f1b153f391b57e972f53c1b9f.tar.bz2 gsoc2013-epiphany-c22cb479dbb9879f1b153f391b57e972f53c1b9f.tar.lz gsoc2013-epiphany-c22cb479dbb9879f1b153f391b57e972f53c1b9f.tar.xz gsoc2013-epiphany-c22cb479dbb9879f1b153f391b57e972f53c1b9f.tar.zst gsoc2013-epiphany-c22cb479dbb9879f1b153f391b57e972f53c1b9f.zip |
Use ngettext to get the Open in New Tab[s]/Window[s] label.
2005-01-04 Christian Persch <chpe@cvs.gnome.org>
* 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 <chpe@cvs.gnome.org>
Diffstat (limited to 'lib/widgets/ephy-node-view.c')
-rw-r--r-- | lib/widgets/ephy-node-view.c | 17 |
1 files changed, 0 insertions, 17 deletions
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) { |