summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-dbus-manager.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-29 11:46:42 +0100
committerinfirit <[email protected]>2014-12-29 11:46:42 +0100
commit3f31cb74f7acac3ff5ea70be4b1e8319a8b47920 (patch)
tree14a41707094a5b6a7922685441b252df8aac2c67 /libcaja-private/caja-dbus-manager.c
parenta823778ec6c091cada6f4473413f220d6732ed7a (diff)
downloadcaja-3f31cb74f7acac3ff5ea70be4b1e8319a8b47920.tar.bz2
caja-3f31cb74f7acac3ff5ea70be4b1e8319a8b47920.tar.xz
Revert "dbus-manager: add an EmptyTrash operation"
This reverts commit 8116b5a43e11493d6e81a0a1e1ba67fa0d6289a4.
Diffstat (limited to 'libcaja-private/caja-dbus-manager.c')
-rw-r--r--libcaja-private/caja-dbus-manager.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/libcaja-private/caja-dbus-manager.c b/libcaja-private/caja-dbus-manager.c
index 1b403235..4f0b1b73 100644
--- a/libcaja-private/caja-dbus-manager.c
+++ b/libcaja-private/caja-dbus-manager.c
@@ -36,8 +36,6 @@ static const gchar introspection_xml[] =
" <arg type='as' name='URIList' direction='in'/>"
" <arg type='s' name='Destination' direction='in'/>"
" </method>"
- " <method name='EmptyTrash'>"
- " </method>"
" </interface>"
"</node>";
@@ -121,12 +119,6 @@ trigger_copy_file_operation (const gchar **sources,
}
static void
-trigger_empty_trash_operation (void)
-{
- caja_file_operations_empty_trash (NULL);
-}
-
-static void
handle_method_call (GDBusConnection *connection,
const gchar *sender,
const gchar *object_path,
@@ -146,18 +138,8 @@ handle_method_call (GDBusConnection *connection,
trigger_copy_file_operation (uris, destination_uri);
g_debug ("Called CopyURIs with dest %s and uri %s\n", destination_uri, uris[0]);
-
- goto out;
- }
-
- if (g_strcmp0 (method_name, "EmptyTrash") == 0)
- {
- trigger_empty_trash_operation ();
-
- g_debug ("Called EmptyTrash");
}
- out:
g_dbus_method_invocation_return_value (invocation, NULL);
}