[nautilus] image-properties: show error string when failing to open image
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] image-properties: show error string when failing to open image
- Date: Thu, 12 Jul 2012 13:37:58 +0000 (UTC)
commit 4dca7871690f9b2053c85efdfe914ca674cdb65f
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu Jul 12 09:34:31 2012 -0400
image-properties: show error string when failing to open image
If we fail to open the image file for reading, make sure we still call
load_finished(), which will replace the loading string with an error
message in this case.
https://bugzilla.gnome.org/show_bug.cgi?id=679016
src/nautilus-image-properties-page.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-image-properties-page.c b/src/nautilus-image-properties-page.c
index c4f70bf..8752a61 100644
--- a/src/nautilus-image-properties-page.c
+++ b/src/nautilus-image-properties-page.c
@@ -545,6 +545,8 @@ file_open_callback (GObject *object,
page);
g_object_unref (stream);
+ } else {
+ load_finished (page);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]