Revision: 1169
http://geeqie.svn.sourceforge.net/geeqie/?rev=1169&view=rev
Author: zas_
Date: 2008-10-22 19:56:29 +0000 (Wed, 22 Oct 2008)
Log Message:
-----------
Let Create thumbnails start in current directory (fallback to home directory if
not available) as requested by Marcin Zajaczkowski (feature request 2166691).
Modified Paths:
--------------
trunk/src/cache_maint.c
Modified: trunk/src/cache_maint.c
===================================================================
--- trunk/src/cache_maint.c 2008-10-20 21:00:18 UTC (rev 1168)
+++ trunk/src/cache_maint.c 2008-10-22 19:56:29 UTC (rev 1169)
@@ -15,6 +15,7 @@
#include "cache.h"
#include "filedata.h"
+#include "layout.h"
#include "thumb.h"
#include "thumb_standard.h"
#include "ui_fileops.h"
@@ -1175,7 +1176,10 @@
static void cache_manager_render_cb(GtkWidget *widget, gpointer data)
{
- cache_manager_render_dialog(widget, homedir());
+ const gchar *path = layout_get_path(NULL);
+
+ if (!path || !*path) path = homedir();
+ cache_manager_render_dialog(widget, path);
}
static void cache_manager_metadata_clean_cb(GtkWidget *widget, gpointer data)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn