[nautilus] list-view: clear the renaming file when stopping cell editing
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] list-view: clear the renaming file when stopping cell editing
- Date: Tue, 2 Oct 2012 21:12:59 +0000 (UTC)
commit ce80131177c0535cac03446213a50002a9d1d63a
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Oct 2 17:08:45 2012 -0400
list-view: clear the renaming file when stopping cell editing
If the renaming_file member sticks around, we will ignore activation of
new files. Instead, make sure to clear it out when the model is cleared.
https://bugzilla.gnome.org/show_bug.cgi?id=685109
src/nautilus-list-view.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-list-view.c b/src/nautilus-list-view.c
index 2772b24..c1a8c36 100644
--- a/src/nautilus-list-view.c
+++ b/src/nautilus-list-view.c
@@ -1731,6 +1731,8 @@ stop_cell_editing (NautilusListView *list_view)
GTK_IS_CELL_EDITABLE (list_view->details->editable_widget)) {
gtk_cell_editable_editing_done (list_view->details->editable_widget);
}
+
+ g_clear_object (&list_view->details->renaming_file);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]