* src/mainwindow.c
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Mon, 14 Jul 2003 11:22:44 +0000 (11:22 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Mon, 14 Jul 2003 11:22:44 +0000 (11:22 +0000)
make correct menu items sensitive

ChangeLog.claws
configure.ac
src/mainwindow.c

index 7058bf3..cedf8d7 100644 (file)
@@ -1,3 +1,8 @@
+2003-07-15 [alfons]    0.9.3claws7
+
+       * src/mainwindow.c
+               make correct menu items sensitive       
+
 2003-07-14 [alfons]    0.9.3claws6
 
        * src/procmsg.c
 2003-07-14 [alfons]    0.9.3claws6
 
        * src/procmsg.c
index 0a9d6b6..fc06690 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=3
 INTERFACE_AGE=0
 BINARY_AGE=0
 MICRO_VERSION=3
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws6
+EXTRA_VERSION=claws7
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index de89af5..390fac0 100644 (file)
@@ -1531,8 +1531,9 @@ void main_window_set_menu_sensitive(MainWindow *mainwin)
        } entry[] = {
                {"/File/Folder"                               , M_UNLOCKED},
                {"/File/Add mailbox..."                       , M_UNLOCKED},
        } entry[] = {
                {"/File/Folder"                               , M_UNLOCKED},
                {"/File/Add mailbox..."                       , M_UNLOCKED},
-                {"/File/Add mbox mailbox..."                         , M_UNLOCKED},
-               {"/File/Import mbox file..."                  , M_UNLOCKED},
+
+                {"/File/Add mailbox/MH..."                   , M_UNLOCKED},
+               {"/File/Add mailbox/mbox..."                  , M_UNLOCKED},
                {"/File/Export to mbox file..."               , M_UNLOCKED},
                {"/File/Empty trash"                          , M_UNLOCKED},
                {"/File/Work offline"                         , M_UNLOCKED},
                {"/File/Export to mbox file..."               , M_UNLOCKED},
                {"/File/Empty trash"                          , M_UNLOCKED},
                {"/File/Work offline"                         , M_UNLOCKED},
@@ -2657,6 +2658,9 @@ static void account_menu_cb(GtkMenuItem   *menuitem, gpointer data)
 {
        cur_account = (PrefsAccount *)data;
        main_window_reflect_prefs_all();
 {
        cur_account = (PrefsAccount *)data;
        main_window_reflect_prefs_all();
+       debug_print("XXX set account %s\n", cur_account == NULL ? 
+                   (const gchar *) "NULL ACCOUNT POINTER" : 
+                   cur_account->account_name);         
 }
 
 static void prefs_open_cb(GtkMenuItem *menuitem, gpointer data)
 }
 
 static void prefs_open_cb(GtkMenuItem *menuitem, gpointer data)