[nautilus] files-view: fix a connect_after
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] files-view: fix a connect_after
- Date: Wed, 15 Feb 2017 00:28:14 +0000 (UTC)
commit e011f7dad4f53d77adeabd9f6b33857485d667a0
Author: Carlos Soriano <csoriano gnome org>
Date: Wed Feb 15 01:12:06 2017 +0100
files-view: fix a connect_after
There was a comment where it says it should connect after, but we were
connecting withouth _after.
For now be consistent in the code since we connect with _after elsewhere
, although I'm not sure of the consequences, since this looks like it
worked on the past.
Something to investigate further.
src/nautilus-files-view.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-files-view.c b/src/nautilus-files-view.c
index 3fdb70e..0ab0358 100644
--- a/src/nautilus-files-view.c
+++ b/src/nautilus-files-view.c
@@ -3723,8 +3723,8 @@ pre_copy_move (NautilusFilesView *directory_view)
* operate on. The ADD_FILES signal is registered as G_SIGNAL_RUN_LAST, so we
* must use connect_after.
*/
- g_signal_connect (directory_view, "add-files",
- G_CALLBACK (pre_copy_move_add_files_callback), copy_move_done_data);
+ g_signal_connect_after (directory_view, "add-files",
+ G_CALLBACK (pre_copy_move_add_files_callback), copy_move_done_data);
return copy_move_done_data;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]