[anjuta] fm: bgo#605050 - Saving a file duplicates its entry in File Manager
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] fm: bgo#605050 - Saving a file duplicates its entry in File Manager
- Date: Sat, 6 Mar 2010 09:31:05 +0000 (UTC)
commit 15d0444024d7a42711eaafcdd9a853a4e4622e97
Author: Sébastien Granjoux <seb sfo free fr>
Date: Sat Mar 6 10:20:18 2010 +0100
fm: bgo#605050 - Saving a file duplicates its entry in File Manager
plugins/file-manager/file-model.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plugins/file-manager/file-model.c b/plugins/file-manager/file-model.c
index 1417647..07f4324 100644
--- a/plugins/file-manager/file-model.c
+++ b/plugins/file-manager/file-model.c
@@ -427,7 +427,7 @@ on_file_model_changed (GFileMonitor* monitor,
if (gtk_tree_model_iter_children (GTK_TREE_MODEL(model), &file_iter, &iter))
{
- while (gtk_tree_model_iter_next (GTK_TREE_MODEL(model), &file_iter))
+ do
{
GFile* model_file;
gtk_tree_model_get (GTK_TREE_MODEL(model), &file_iter,
@@ -440,6 +440,7 @@ on_file_model_changed (GFileMonitor* monitor,
}
g_object_unref (model_file);
}
+ while (gtk_tree_model_iter_next (GTK_TREE_MODEL(model), &file_iter));
}
if (event_type == G_FILE_MONITOR_EVENT_CHANGED ||
event_type == G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED ||
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]