2004-08-21 [paul] 0.9.12cvs66.2
authorPaul Mangan <paul@claws-mail.org>
Sat, 21 Aug 2004 07:24:31 +0000 (07:24 +0000)
committerPaul Mangan <paul@claws-mail.org>
Sat, 21 Aug 2004 07:24:31 +0000 (07:24 +0000)
* src/prefs_account.c
fix GnuPG mode bugs

ChangeLog-gtk2.claws
PATCHSETS
configure.ac
src/prefs_account.c

index 4a5c150..80e187a 100644 (file)
@@ -1,3 +1,9 @@
+2004-08-21 [paul]      0.9.12cvs66.2
+
+       * src/prefs_account.c
+               fix GnuPG mode bugs
+
+
 2004-08-20 [colin]     0.9.12cvs66.1
 
        * src/codeconv.c
index 8525d6b..99ab5b6 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.14.2.9 -r 1.14.2.10 src/plugins/trayicon/trayicon.c; ) > 0.9.12cvs60.3.patchset
 ( cvs diff -u -r 1.9.2.5 -r 1.9.2.6 src/common/ssl.c; cvs diff -u -r 1.1.2.1 -r 1.1.2.3 src/plugins/pgpmime/plugin.c; ) > 0.9.12cvs65.1.patchset
 ( cvs diff -u -r 1.65.2.10 -r 1.65.2.11 src/codeconv.c; ) > 0.9.12cvs66.1.patchset
+( cvs diff -u -r 1.105.2.7 -r 1.105.2.8 src/prefs_account.c; ) > 0.9.12cvs66.2.patchset
index 0e6d225..25321d1 100644 (file)
@@ -13,7 +13,7 @@ INTERFACE_AGE=0
 BINARY_AGE=0
 EXTRA_VERSION=66
 EXTRA_RELEASE=
-EXTRA_GTK2_VERSION=.1
+EXTRA_GTK2_VERSION=.2
 
 if test \( $EXTRA_VERSION -eq 0 \) -o \( "x$EXTRA_RELEASE" != "x" \); then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}${EXTRA_RELEASE}${EXTRA_GTK2_VERSION}
index 593ab09..90cc715 100644 (file)
@@ -1704,8 +1704,9 @@ static void prefs_account_privacy_create(void)
        gtk_widget_show (gnupg_mime_radiobtn);
        gtk_box_pack_start (GTK_BOX (vbox_mode), gnupg_mime_radiobtn,
                            FALSE, FALSE, 0);
-       gtk_object_set_user_data (GTK_OBJECT (gnupg_mime_radiobtn),
-                                 GINT_TO_POINTER (GNUPG_MODE_DETACH));
+       g_object_set_data (G_OBJECT (gnupg_mime_radiobtn), 
+                          MENU_VAL_ID,
+                          GINT_TO_POINTER (GNUPG_MODE_DETACH));
 
        gnupg_inline_radiobtn = gtk_radio_button_new_with_label_from_widget
                (GTK_RADIO_BUTTON (gnupg_mime_radiobtn),
@@ -1713,10 +1714,12 @@ static void prefs_account_privacy_create(void)
        gtk_widget_show (gnupg_inline_radiobtn);
        gtk_box_pack_start (GTK_BOX (vbox_mode), gnupg_inline_radiobtn,
                            FALSE, FALSE, 0);
-       gtk_object_set_user_data (GTK_OBJECT (gnupg_inline_radiobtn),
-                                 GINT_TO_POINTER (GNUPG_MODE_INLINE));
+       g_object_set_data(G_OBJECT (gnupg_inline_radiobtn), 
+                         MENU_VAL_ID,
+                         GINT_TO_POINTER (GNUPG_MODE_INLINE));
        g_signal_connect (G_OBJECT (gnupg_inline_radiobtn), "clicked",
-                         prefs_account_gnupg_inline_warning, NULL);
+                         G_CALLBACK(prefs_account_gnupg_inline_warning), 
+                         NULL);
 
 
        PACK_FRAME (vbox1, frame1, _("Sign key"));