remember last used dir when attaching multiple files (should fix
bug #290, "Attach File does not remember directory")
+2003-09-02 [alfons] 0.9.4claws55
+
+ * src/gtk/filesel.c
+ remember last used dir when attaching multiple files (should fix
+ bug #290, "Attach File does not remember directory")
+
2003-09-01 [paul] 0.9.4claws54
* po/es.po
MICRO_VERSION=4
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=54
+EXTRA_VERSION=55
if test $EXTRA_VERSION -eq 0; then
VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws
else
fname = gtk_file_selection_get_filename(GTK_FILE_SELECTION(filesel));
list = g_list_append(list, g_strdup(fname));
}
+ /* store dir of first entry */
+ if (NULL != (fname = list->data) && *fname) {
+ gchar *dir;
+ if (NULL != (dir = g_dirname(fname))) {
+ g_free(cwd);
+ cwd = g_strconcat(dir, G_DIR_SEPARATOR_S, NULL);
+ g_free(dir);
+ }
+ }
}
manage_window_focus_out(filesel, NULL, NULL);