0.9.4claws8
authorChristoph Hohmann <reboot@gmx.ch>
Thu, 7 Aug 2003 17:57:50 +0000 (17:57 +0000)
committerChristoph Hohmann <reboot@gmx.ch>
Thu, 7 Aug 2003 17:57:50 +0000 (17:57 +0000)
* configure.ac
        fix bug in image viewer plugin part

* src/imap.c
        don't execute close command if the folder item is not selected

ChangeLog.claws
configure.ac
src/imap.c

index 60bd2e8f0bda35d085160b54e4830f6df5e31c40..e57e81c1d74a4ce1701f679bebac66f02b33e641 100644 (file)
@@ -1,4 +1,12 @@
-2003-08-07 [hoa] 0.9.4claws7
+2003-08-07 [christoph] 0.9.4claws8
+
+       * configure.ac
+               fix bug in image viewer plugin part
+
+       * src/imap.c
+               don't execute close command if the folder item is not selected
+
+2003-08-07 [hoa]       0.9.4claws7
 
        * src/filtering.[ch]
        * src/matcher_parser.h
index 7b250f8ba34e287517728b9d317590cc1c2ffd5b..5896b478ea1ed5e1b7b77071a9d0e912ae82ecab 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=4
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=7
+EXTRA_VERSION=8
 if test $EXTRA_VERSION -eq 0; then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws
 else
@@ -448,7 +448,7 @@ if test x"$ac_cv_enable_image_viewer_plugin" = xyes; then
        elif test "$ac_cv_enable_imlib" = yes; then
                PLUGINS="image-viewer(gdk_imlib) $PLUGINS"
        else
-               $ac_cv_enable_image_viewer_plugin = no
+               ac_cv_enable_image_viewer_plugin=no
        fi
 fi
 AM_CONDITIONAL(BUILD_IMAGE_VIEWER_PLUGIN, test x"$ac_cv_enable_image_viewer_plugin" = xyes)
index f037258fdfa1682545bf0f91fa29e8fff63def7f..732b80d590607fca2d4aedd7ba1211a0378e94cc 100644 (file)
@@ -1141,6 +1141,9 @@ gint imap_close(Folder *folder, FolderItem *item)
        if (!session) return -1;
 
        if (session->mbox) {
+               if (strcmp(item->path, session->mbox))
+                       return -1;
+
                ok = imap_cmd_close(session);
                if (ok != IMAP_SUCCESS)
                        log_warning(_("can't close folder\n"));