From 33b5dc1c75d5de83c7d49c090266c23961717088 Mon Sep 17 00:00:00 2001 From: TingPing Date: Tue, 18 Jun 2013 21:20:09 -0300 Subject: Use tabs --- src/fe-gtk/urlgrab.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/fe-gtk/urlgrab.c b/src/fe-gtk/urlgrab.c index c28a3321..cefa51c8 100644 --- a/src/fe-gtk/urlgrab.c +++ b/src/fe-gtk/urlgrab.c @@ -53,14 +53,14 @@ url_treeview_url_clicked_cb (GtkWidget *view, GdkEventButton *event, GtkTreePath *path; GtkTreeView *tree = GTK_TREE_VIEW (view); - if (!event || !gtk_tree_view_get_path_at_pos (tree, event->x, event->y, &path, 0, 0, 0)) - return FALSE; - - /* select what they right-clicked on */ - sel = gtk_tree_view_get_selection (tree); - gtk_tree_selection_unselect_all (sel); - gtk_tree_selection_select_path (sel, path); - gtk_tree_path_free (path); + if (!event || !gtk_tree_view_get_path_at_pos (tree, event->x, event->y, &path, 0, 0, 0)) + return FALSE; + + /* select what they right-clicked on */ + sel = gtk_tree_view_get_selection (tree); + gtk_tree_selection_unselect_all (sel); + gtk_tree_selection_select_path (sel, path); + gtk_tree_path_free (path); if (!gtkutil_treeview_get_selected (GTK_TREE_VIEW (view), &iter, URL_COLUMN, &url, -1)) -- cgit 1.4.1