diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2012-10-02 17:08:45 -0400 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2012-10-02 17:08:45 -0400 |
commit | ce80131177c0535cac03446213a50002a9d1d63a (patch) | |
tree | a3a7957703c3db0adc40c91315a0c4ac36f4066d | |
parent | 86fde912f3850a984a38e7e41d8290eb0d996562 (diff) | |
download | nautilus-ce80131177c0535cac03446213a50002a9d1d63a.tar.gz |
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
-rw-r--r-- | 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 2772b2481..c1a8c361a 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 |