[gthumb/ext] enable the resize dialog help button, bug 597590
- From: Michael J. Chudobiak <mjc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gthumb/ext] enable the resize dialog help button, bug 597590
- Date: Fri, 9 Oct 2009 13:08:25 +0000 (UTC)
commit 8495ffb161a5d756fdbf8782b3ba1992a2e77251
Author: Michael J. Chudobiak <mjc avtechpulse com>
Date: Fri Oct 9 09:07:31 2009 -0400
enable the resize dialog help button, bug 597590
extensions/resize_images/dlg-resize-images.c | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/extensions/resize_images/dlg-resize-images.c b/extensions/resize_images/dlg-resize-images.c
index e850a18..bc9f721 100644
--- a/extensions/resize_images/dlg-resize-images.c
+++ b/extensions/resize_images/dlg-resize-images.c
@@ -112,6 +112,14 @@ resize_step (GthPixbufTask *pixbuf_task)
static void
+help_clicked_cb (GtkWidget *widget,
+ DialogData *data)
+{
+ show_help_dialog (GTK_WINDOW (data->dialog), NULL);
+}
+
+
+static void
ok_clicked_cb (GtkWidget *widget,
DialogData *data)
{
@@ -205,6 +213,10 @@ dlg_resize_images (GthBrowser *browser,
"clicked",
G_CALLBACK (ok_clicked_cb),
data);
+ g_signal_connect (GET_WIDGET ("help_button"),
+ "clicked",
+ G_CALLBACK (help_clicked_cb),
+ data);
g_signal_connect_swapped (GET_WIDGET ("cancel_button"),
"clicked",
G_CALLBACK (gtk_widget_destroy),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]