[gthumb] location dialog: reload the list after an invalid location has been entered
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] location dialog: reload the list after an invalid location has been entered
- Date: Mon, 26 Mar 2012 15:56:42 +0000 (UTC)
commit 3b977c15552a605b238a9d1f45a276bfad59bd46
Author: Paolo Bacchilega <paobac src gnome org>
Date: Mon Mar 26 17:55:11 2012 +0200
location dialog: reload the list after an invalid location has been entered
gthumb/dlg-location.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gthumb/dlg-location.c b/gthumb/dlg-location.c
index 91037ba..dad7e44 100644
--- a/gthumb/dlg-location.c
+++ b/gthumb/dlg-location.c
@@ -313,6 +313,8 @@ update_completion_list (DialogData *data)
uri = get_location_uri (data, &has_scheme, NULL);
if (uri == NULL) {
+ _g_object_unref (data->last_folder);
+ data->last_folder = NULL;
gtk_list_store_clear (data->completion_store);
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]