+2003-12-07 [thorsten] 0.9.7claws29
+
+ * src/filtering.c
+ debug_print some warning if destfolder missing
+ * src/prefs_filtering.c
+ uninitialized filter list when deleting a folder
+
2003-12-06 [paul] 0.9.7claws28
* src/procheader.c
MICRO_VERSION=7
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=28
+EXTRA_VERSION=29
if test $EXTRA_VERSION -eq 0; then
VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws
else
case MATCHACTION_MOVE:
dest_folder =
folder_find_item_from_identifier(action->destination);
- if (!dest_folder)
+ if (!dest_folder) {
+ debug_print("*** folder not found '%s'\n",
+ action->destination ?action->destination :"");
return FALSE;
+ }
if (folder_item_move_msg(dest_folder, info) == -1) {
debug_print("*** could not move message\n");
dest_folder =
folder_find_item_from_identifier(action->destination);
- if (!dest_folder)
+ if (!dest_folder) {
+ debug_print("*** folder not found '%s'\n",
+ action->destination ?action->destination :"");
return FALSE;
+ }
if (folder_item_copy_msg(dest_folder, info) == -1)
return FALSE;
GtkWidget *cond_clist;
} filtering;
+static GSList ** p_processing_list = NULL;
+
/* widget creating functions */
static void prefs_filtering_create (void);
static gboolean prefs_filtering_rename_path_func(GNode *node, gpointer data);
static gboolean prefs_filtering_delete_path_func(GNode *node, gpointer data);
-static GSList ** p_processing_list = NULL;
+static void delete_path(GSList ** p_filters, const gchar * path);
void prefs_filtering_open(GSList ** p_processing,
const gchar * title,
return FALSE;
}
-static void delete_path(GSList ** p_filters, const gchar * path);
-
void prefs_filtering_delete_path(const gchar *path)
{
GList * cur;
GSList * action_cur;
GSList * cur;
+ filters = *p_filters;
pathlen = strlen(path);
duplist = g_slist_copy(filters);
for (cur = duplist ; cur != NULL; cur = g_slist_next(cur)) {