[nautilus/gnome-3-6] 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/gnome-3-6] list-view: clear the renaming file when stopping	cell editing
- Date: Mon, 15 Oct 2012 13:43:56 +0000 (UTC)
commit 21b5cc3008f521331cf91e6e612bdceae2f45382
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]