diff options
author | TingPing <tngpng@gmail.com> | 2013-06-18 21:20:09 -0300 |
---|---|---|
committer | TingPing <tngpng@gmail.com> | 2013-06-18 21:20:09 -0300 |
commit | 33b5dc1c75d5de83c7d49c090266c23961717088 (patch) | |
tree | 94428e31b4e2dc7384c8a2b7e0516ed29d0f86ca /src/fe-gtk | |
parent | 225acd0ce2135e6cce18b3f1d6abc32b3922d033 (diff) |
Use tabs
Diffstat (limited to 'src/fe-gtk')
-rw-r--r-- | src/fe-gtk/urlgrab.c | 16 |
1 files changed, 8 insertions, 8 deletions
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)) |