diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2004-10-27 11:37:54 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2004-10-27 11:37:54 +0000 |
commit | e1dd81efcf3ec1114d9e86fac0e747d00b4fb6af (patch) | |
tree | 4dc39b2b0e0390ae5e65983a56f17891c147b62d /deskutils/ljit/files | |
parent | 925bc61460b2b11bc78fa732bb7f36edcd8c2f5f (diff) | |
download | ports-e1dd81efcf3ec1114d9e86fac0e747d00b4fb6af.tar.gz ports-e1dd81efcf3ec1114d9e86fac0e747d00b4fb6af.zip |
Add ljit, a GUI tool to help LiveJournal users post images.
Approved by: fjoe (mentor, implicit)
Notes
Notes:
svn path=/head/; revision=120305
Diffstat (limited to 'deskutils/ljit/files')
-rw-r--r-- | deskutils/ljit/files/patch-src+callbacks.c | 10 | ||||
-rw-r--r-- | deskutils/ljit/files/patch-src+config_dialog.c | 31 | ||||
-rw-r--r-- | deskutils/ljit/files/patch-src+interface.c | 16 |
3 files changed, 57 insertions, 0 deletions
diff --git a/deskutils/ljit/files/patch-src+callbacks.c b/deskutils/ljit/files/patch-src+callbacks.c new file mode 100644 index 000000000000..72768ccce67e --- /dev/null +++ b/deskutils/ljit/files/patch-src+callbacks.c @@ -0,0 +1,10 @@ +--- src/callbacks.c.orig Fri Sep 10 17:12:58 2004 ++++ src/callbacks.c Fri Sep 10 17:13:39 2004 +@@ -98,6 +98,7 @@ + g_string_free(html, TRUE); + + gtk_main_quit(); ++ gtk_widget_destroy((GtkWidget *) user_data); + } + + diff --git a/deskutils/ljit/files/patch-src+config_dialog.c b/deskutils/ljit/files/patch-src+config_dialog.c new file mode 100644 index 000000000000..e38478d0e7ca --- /dev/null +++ b/deskutils/ljit/files/patch-src+config_dialog.c @@ -0,0 +1,31 @@ +--- src/config_dialog.c.orig Fri Sep 10 17:12:58 2004 ++++ src/config_dialog.c Fri Sep 10 17:16:13 2004 +@@ -149,6 +149,7 @@ + write_config(config); + d->saved = 1; + gtk_main_quit(); ++ gtk_widget_destroy(d->window); + } + + void upload_proto_callback (GtkOptionMenu * menu, gpointer user_data) +@@ -732,7 +733,11 @@ + + g_signal_connect ((gpointer) cancel, "clicked", + G_CALLBACK (gtk_main_quit), NULL); +- ++ ++ g_signal_connect_swapped ((gpointer) cancel, "clicked", ++ G_CALLBACK (gtk_widget_destroy), ++ (gpointer) (s->window)); ++ + g_signal_connect ((gpointer) save, "clicked", + G_CALLBACK (on_config_save_clicked), + (gpointer) s); +@@ -757,7 +762,6 @@ + cd.saved = FALSE; + + gtk_main(); +- gtk_widget_destroy (GTK_WIDGET (opt)); + return cd.saved; + } + diff --git a/deskutils/ljit/files/patch-src+interface.c b/deskutils/ljit/files/patch-src+interface.c new file mode 100644 index 000000000000..110c6c103a81 --- /dev/null +++ b/deskutils/ljit/files/patch-src+interface.c @@ -0,0 +1,16 @@ +--- src/interface.c.orig Fri Sep 10 17:12:58 2004 ++++ src/interface.c Fri Sep 10 17:17:45 2004 +@@ -215,8 +215,12 @@ + G_CALLBACK (on_button_config_clicked), NULL); + g_signal_connect ((gpointer) button1, "clicked", + G_CALLBACK (gtk_main_quit), NULL); ++ g_signal_connect_swapped ((gpointer) button1, "clicked", ++ G_CALLBACK (gtk_widget_destroy), ++ (gpointer) win->window); + g_signal_connect ((gpointer) win->button_ok, "clicked", +- G_CALLBACK (on_button_ok_clicked), NULL); ++ G_CALLBACK (on_button_ok_clicked), ++ (gpointer) win->window); + g_signal_connect ((gpointer) is->slider, "value_changed", + G_CALLBACK (tscale_callback), (gpointer) ts); + |