diff --git a/data/dbus-interfaces.xml b/data/dbus-interfaces.xml
index bd8388fc6..4d244f7d6 100644
--- a/data/dbus-interfaces.xml
+++ b/data/dbus-interfaces.xml
@@ -42,4 +42,9 @@
+
+
+
+
+
diff --git a/libnemo-private/nemo-dbus-manager.c b/libnemo-private/nemo-dbus-manager.c
index 5c3a3891a..3d4694db2 100644
--- a/libnemo-private/nemo-dbus-manager.c
+++ b/libnemo-private/nemo-dbus-manager.c
@@ -95,6 +95,15 @@ handle_copy_file (NemoDBusFileOperations *object,
return TRUE; /* invocation was handled */
}
+static gboolean
+selection_event (NemoDBusFileOperations *object,
+ GDBusMethodInvocation *invocation,
+ const guint16 direction)
+{
+ printf("%i", direction);
+ return TRUE; /* invocation was handled */
+}
+
static gboolean
handle_copy_uris (NemoDBusFileOperations *object,
GDBusMethodInvocation *invocation,
@@ -185,6 +194,10 @@ nemo_dbus_manager_init (NemoDBusManager *self)
"handle-empty-trash",
G_CALLBACK (handle_empty_trash),
self);
+ g_signal_connect (self->file_operations,
+ "selection-event",
+ G_CALLBACK (selection_event),
+ self);
g_dbus_interface_skeleton_export (G_DBUS_INTERFACE_SKELETON (self->file_operations), connection,
"/org/Nemo", NULL);