[gthumb] [importer] go to the folder if the automatic subfolder is disabled
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] [importer] go to the folder if the automatic subfolder is disabled
- Date: Thu, 11 Mar 2010 12:53:17 +0000 (UTC)
commit 9d7783b21886ebc79b914d9badf62ed9a5ff08f5
Author: Paolo Bacchilega <paobac src gnome org>
Date: Thu Mar 11 13:52:16 2010 +0100
[importer] go to the folder if the automatic subfolder is disabled
extensions/importer/gth-import-task.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/extensions/importer/gth-import-task.c b/extensions/importer/gth-import-task.c
index 1075347..1fb082c 100644
--- a/extensions/importer/gth-import-task.c
+++ b/extensions/importer/gth-import-task.c
@@ -367,7 +367,7 @@ import_current_file (GthImportTask *self)
gtk_widget_show (d);
}
else {
- if (self->priv->imported_catalog != NULL)
+ if ((self->priv->subfolder_type != GTH_SUBFOLDER_TYPE_NONE) && (self->priv->imported_catalog != NULL))
gth_browser_go_to (self->priv->browser, self->priv->imported_catalog, NULL);
else
gth_browser_go_to (self->priv->browser, self->priv->destination, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]