[gimp] app: set active shell on image cell selection in quit dialog...
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: set active shell on image cell selection in quit dialog...
- Date: Tue, 4 Oct 2016 09:52:11 +0000 (UTC)
commit f67bc227dc5cc449c718e1da615e3dbcf78781ce
Author: Jehan <jehan girinstud io>
Date: Sun Oct 2 03:17:49 2016 +0200
app: set active shell on image cell selection in quit dialog...
... not on activation (i.e. raise on single click rather than double
click).
app/dialogs/quit-dialog.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/app/dialogs/quit-dialog.c b/app/dialogs/quit-dialog.c
index 394e9ba..1f1d7f1 100644
--- a/app/dialogs/quit-dialog.c
+++ b/app/dialogs/quit-dialog.c
@@ -94,7 +94,7 @@ static void quit_close_all_dialog_accel_marshal (GClosure *c
static void quit_close_all_dialog_container_changed (GimpContainer *images,
GimpObject *image,
QuitDialog *private);
-static void quit_close_all_dialog_image_activated (GimpContainerView *view,
+static void quit_close_all_dialog_image_selected (GimpContainerView *view,
GimpImage *image,
gpointer insert_data,
QuitDialog *private);
@@ -238,8 +238,8 @@ quit_close_all_dialog_new (Gimp *gimp,
gtk_box_pack_start (GTK_BOX (private->box), view, TRUE, TRUE, 0);
gtk_widget_show (view);
- g_signal_connect (view, "activate-item",
- G_CALLBACK (quit_close_all_dialog_image_activated),
+ g_signal_connect (view, "select-item",
+ G_CALLBACK (quit_close_all_dialog_image_selected),
private);
dnd_widget = gimp_container_view_get_dnd_widget (GIMP_CONTAINER_VIEW (view));
@@ -401,10 +401,10 @@ quit_close_all_dialog_container_changed (GimpContainer *images,
}
static void
-quit_close_all_dialog_image_activated (GimpContainerView *view,
- GimpImage *image,
- gpointer insert_data,
- QuitDialog *private)
+quit_close_all_dialog_image_selected (GimpContainerView *view,
+ GimpImage *image,
+ gpointer insert_data,
+ QuitDialog *private)
{
GList *list;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]