[gthumb] image wall: use the browser location only if it's a real directory
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] image wall: use the browser location only if it's a real directory
- Date: Thu, 10 Jan 2019 18:18:49 +0000 (UTC)
commit 0635dc3e707698d73c1fffab9987bd7a71ef8b13
Author: Paolo Bacchilega <paobac src gnome org>
Date: Tue Jan 8 17:27:12 2019 +0100
image wall: use the browser location only if it's a real directory
extensions/contact_sheet/dlg-image-wall.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/extensions/contact_sheet/dlg-image-wall.c b/extensions/contact_sheet/dlg-image-wall.c
index 4df354fa..67634af4 100644
--- a/extensions/contact_sheet/dlg-image-wall.c
+++ b/extensions/contact_sheet/dlg-image-wall.c
@@ -260,7 +260,7 @@ dlg_image_wall (GthBrowser *browser,
/* Set widgets data. */
location = gth_browser_get_location (data->browser);
- if (location != NULL)
+ if ((location != NULL) && g_file_has_uri_scheme (location, "file"))
s_value = g_file_get_uri (location);
else
s_value = _g_settings_get_uri (data->settings, PREF_IMAGE_WALL_DESTINATION);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]