[gimp/gimp-2-6] Bug 599233 - Dialog of "Save as BMP" ignores changes which are not made with a mouse
- From: Sven Neumann <neo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-6] Bug 599233 - Dialog of "Save as BMP" ignores changes which are not made with a mouse
- Date: Thu, 11 Mar 2010 07:45:05 +0000 (UTC)
commit a67da1e59123519fdf39fbefd53f83c37c49c1da
Author: Massimo Valentini <sixtysix inwind it>
Date: Thu Mar 11 08:42:19 2010 +0100
Bug 599233 - Dialog of "Save as BMP" ignores changes which are not made with a mouse
Connect to GtkButton::clicked instead of GtkButton::pressed.
(cherry picked from commit bc02c2f51ee31588ceb8b9d9aebaf1557fe4119c)
plug-ins/file-bmp/bmp-write.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/plug-ins/file-bmp/bmp-write.c b/plug-ins/file-bmp/bmp-write.c
index 55bc32e..25680a0 100644
--- a/plug-ins/file-bmp/bmp-write.c
+++ b/plug-ins/file-bmp/bmp-write.c
@@ -852,7 +852,7 @@ save_dialog (gint channels)
group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (toggle));
gtk_box_pack_start (GTK_BOX (vbox), toggle, FALSE, FALSE, 0);
gtk_widget_show (toggle);
- g_signal_connect (toggle, "pressed",
+ g_signal_connect (toggle, "clicked",
G_CALLBACK (format_callback),
GINT_TO_POINTER (RGB_565));
@@ -865,14 +865,14 @@ save_dialog (gint channels)
gtk_widget_show (toggle);
- g_signal_connect (toggle, "pressed",
+ g_signal_connect (toggle, "clicked",
G_CALLBACK (format_callback),
GINT_TO_POINTER (RGBA_5551));
toggle = gtk_radio_button_new_with_label (group, "X1 R5 G5 B5");
group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (toggle));
gtk_box_pack_start (GTK_BOX (vbox), toggle, FALSE, FALSE, 0);
gtk_widget_show (toggle);
- g_signal_connect (toggle, "pressed",
+ g_signal_connect (toggle, "clicked",
G_CALLBACK (format_callback),
GINT_TO_POINTER (RGB_555));
@@ -884,7 +884,7 @@ save_dialog (gint channels)
group = gtk_radio_button_get_group (GTK_RADIO_BUTTON(toggle));
gtk_container_add (GTK_CONTAINER (frame), toggle);
gtk_widget_show (toggle);
- g_signal_connect (toggle, "pressed",
+ g_signal_connect (toggle, "clicked",
G_CALLBACK (format_callback),
GINT_TO_POINTER (RGB_888));
if (channels < 4)
@@ -916,7 +916,7 @@ save_dialog (gint channels)
}
gtk_widget_show (toggle);
- g_signal_connect (toggle, "pressed",
+ g_signal_connect (toggle, "clicked",
G_CALLBACK (format_callback),
GINT_TO_POINTER (RGBA_8888));
@@ -924,7 +924,7 @@ save_dialog (gint channels)
group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (toggle));
gtk_container_add (GTK_CONTAINER (vbox), toggle);
gtk_widget_show (toggle);
- g_signal_connect (toggle, "pressed",
+ g_signal_connect (toggle, "clicked",
G_CALLBACK (format_callback),
GINT_TO_POINTER (RGBX_8888));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]