[nautilus] bookmark-list: clear state when loading operation fails
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] bookmark-list: clear state when loading operation fails
- Date: Mon, 22 Oct 2012 21:11:47 +0000 (UTC)
commit 33cbf4666160a3ba126691a51e0fc5d022190bda
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Oct 22 15:22:37 2012 -0400
bookmark-list: clear state when loading operation fails
When the load operation for the bookmark file fails (e.g. because we
have no file at all), don't forget to clear the queue state.
src/nautilus-bookmark-list.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-bookmark-list.c b/src/nautilus-bookmark-list.c
index 315ef55..c67701a 100644
--- a/src/nautilus-bookmark-list.c
+++ b/src/nautilus-bookmark-list.c
@@ -446,6 +446,7 @@ load_callback (GObject *source,
contents = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res));
if (contents == NULL) {
+ op_processed_cb (self);
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]