[gthumb/ext: 42/79] double-click on a filter to open the editor
- From: Paolo Bacchilega <paobac src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gthumb/ext: 42/79] double-click on a filter to open the editor
- Date: Sun, 2 Aug 2009 20:28:37 +0000 (UTC)
commit 0b851ab0e82e9371e491c93808b0098bf085ce12
Author: Paolo Bacchilega <paobac src gnome org>
Date: Mon Jul 13 22:27:03 2009 +0200
double-click on a filter to open the editor
gthumb/dlg-personalize-filters.c | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/gthumb/dlg-personalize-filters.c b/gthumb/dlg-personalize-filters.c
index 1c549dd..e83443b 100644
--- a/gthumb/dlg-personalize-filters.c
+++ b/gthumb/dlg-personalize-filters.c
@@ -472,6 +472,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),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]