2004-10-26 [colin] 0.9.12cvs132.2
authorColin Leroy <colin@colino.net>
Tue, 26 Oct 2004 08:59:06 +0000 (08:59 +0000)
committerColin Leroy <colin@colino.net>
Tue, 26 Oct 2004 08:59:06 +0000 (08:59 +0000)
* src/prefs_folder_item.c
Fix auto-account selection

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

index ee0009bcf5951ec35f3bd40780ff63c194204a1b..8065fd1f2385ddbe4365e7dbd0b3e4907d1a9a33 100644 (file)
@@ -1,3 +1,8 @@
+2004-10-26 [colin]     0.9.12cvs132.2
+
+       * src/prefs_folder_item.c
+               Fix default-account selection
+
 2004-10-21 [colin]     0.9.12cvs133
 
        * src/compose.c
 2004-10-21 [colin]     0.9.12cvs133
 
        * src/compose.c
index 9c2f976150bf9a05e67e7af506cd340afb3eedbc..bb58ffa5615794f8c423dcfa766b23bd2fc5bb68 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.2504.2.25 -r 1.2504.2.26 ChangeLog.claws; cvs diff -u -r 1.382.2.53 -r 1.382.2.54 src/compose.c; ) > 0.9.12cvs131.1.patchset
 ( cvs diff -u -r 1.382.2.54 -r 1.382.2.55 src/compose.c; cvs diff -u -r 1.9.2.7 -r 1.9.2.8 src/sourcewindow.c; ) > 0.9.12cvs131.2.patchset
 ( cvs diff -u -r 1.382.2.55 -r 1.382.2.56 src/compose.c; cvs diff -u -r 1.96.2.23 -r 1.96.2.24 src/textview.c; ) > 0.9.12cvs133.patchset
 ( cvs diff -u -r 1.2504.2.25 -r 1.2504.2.26 ChangeLog.claws; cvs diff -u -r 1.382.2.53 -r 1.382.2.54 src/compose.c; ) > 0.9.12cvs131.1.patchset
 ( cvs diff -u -r 1.382.2.54 -r 1.382.2.55 src/compose.c; cvs diff -u -r 1.9.2.7 -r 1.9.2.8 src/sourcewindow.c; ) > 0.9.12cvs131.2.patchset
 ( cvs diff -u -r 1.382.2.55 -r 1.382.2.56 src/compose.c; cvs diff -u -r 1.96.2.23 -r 1.96.2.24 src/textview.c; ) > 0.9.12cvs133.patchset
+( cvs diff -u -r 1.52.2.7 -r 1.52.2.8 src/prefs_folder_item.c; ) > 0.9.12cvs132.2.patchset
index 1507bfd6fb03dac3e41b3a32a40c1a2f675dc015..0a34a5bc1a0dabdce460d5ef0abaf9bcee543b89 100644 (file)
@@ -13,7 +13,7 @@ INTERFACE_AGE=0
 BINARY_AGE=0
 EXTRA_VERSION=132
 EXTRA_RELEASE=
 BINARY_AGE=0
 EXTRA_VERSION=132
 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}
 
 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 ea2f95ea76603ddd071efb7e3343a5f4fa0e8bfa..c45acb312921538a95b68f923da127e5da7853e6 100644 (file)
@@ -682,7 +682,7 @@ static void compose_save_folder_prefs(FolderItem *folder, FolderItemComposePage
                        gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(page->checkbtn_enable_default_account));
                menu = gtk_option_menu_get_menu(GTK_OPTION_MENU(page->optmenu_default_account));
                menuitem = gtk_menu_get_active(GTK_MENU(menu));
                        gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(page->checkbtn_enable_default_account));
                menu = gtk_option_menu_get_menu(GTK_OPTION_MENU(page->optmenu_default_account));
                menuitem = gtk_menu_get_active(GTK_MENU(menu));
-               prefs->default_account = GPOINTER_TO_INT(gtk_object_get_user_data(GTK_OBJECT(menuitem)));
+               prefs->default_account = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(menuitem), MENU_VAL_ID));
        }
 
 #if USE_ASPELL
        }
 
 #if USE_ASPELL