Commit 067aea74 authored by Paolo Bacchilega's avatar Paolo Bacchilega
Browse files

folder tree: use single click activation

...instead of activating on selection change.
parent 36dd5f35
......@@ -2883,15 +2883,6 @@ folder_tree_list_children_cb (GthFolderTree *folder_tree,
static void
folder_tree_load_cb (GthFolderTree *folder_tree,
GFile *file,
GthBrowser *browser)
_gth_browser_load (browser, file, NULL, NULL, 0, GTH_ACTION_VIEW, FALSE);
static void
folder_tree_folder_popup_cb (GthFolderTree *folder_tree,
GthFileData *file_data,
......@@ -4736,10 +4727,6 @@ gth_browser_init (GthBrowser *browser)
G_CALLBACK (folder_tree_list_children_cb),
g_signal_connect (browser->priv->folder_tree,
G_CALLBACK (folder_tree_load_cb),
g_signal_connect (browser->priv->folder_tree,
G_CALLBACK (folder_tree_folder_popup_cb),
......@@ -1299,6 +1299,7 @@ gth_folder_tree_init (GthFolderTree *folder_tree)
add_columns (folder_tree, GTK_TREE_VIEW (folder_tree));
gtk_tree_view_set_activate_on_single_click (GTK_TREE_VIEW (folder_tree), TRUE);
gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (folder_tree), FALSE);
gtk_tree_view_set_enable_search (GTK_TREE_VIEW (folder_tree), TRUE);
gtk_tree_view_set_search_column (GTK_TREE_VIEW (folder_tree), COLUMN_NAME);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment