Commit 0b851ab0 authored by Paolo Bacchilega's avatar Paolo Bacchilega
Browse files

double-click on a filter to open the editor

parent 6d25501a
......@@ -471,6 +471,16 @@ list_view_selection_changed_cb (GtkTreeSelection *treeselection,
}
static void
list_view_row_activated_cb (GtkTreeView *tree_view,
GtkTreePath *path,
GtkTreeViewColumn *column,
gpointer user_data)
{
edit_filter_cb (NULL, user_data);
}
static void
general_filter_changed_cb (GtkComboBox *widget,
gpointer user_data)
......@@ -592,6 +602,10 @@ dlg_personalize_filters (GthBrowser *browser)
"changed",
G_CALLBACK (list_view_selection_changed_cb),
data);
g_signal_connect (GTK_TREE_VIEW (data->list_view),
"row-activated",
G_CALLBACK (list_view_row_activated_cb),
data);
g_signal_connect (data->list_store,
"row-deleted",
G_CALLBACK (row_deleted_cb),
......
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