mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-06-30 23:46:35 +00:00
dbus-manager: deprecate old interface
https://gitlab.gnome.org/GNOME/nautilus/-/merge_requests/504
This commit is contained in:
parent
1a26621dbd
commit
7adf189c8d
|
@ -23,6 +23,13 @@
|
|||
|
||||
<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
|
||||
<interface name='org.gnome.Nautilus.FileOperations'>
|
||||
|
||||
<!--
|
||||
This interface has been deprecated. Please switch to
|
||||
org.gnome.Nautilus.FileOperations2 interace.
|
||||
-->
|
||||
<annotation name="org.freedesktop.DBus.Deprecated" value="true"/>
|
||||
|
||||
<method name='CopyURIs'>
|
||||
<arg type='as' name='SourceFilesURIList' direction='in'/>
|
||||
<arg type='s' name='DestinationDirectoryURI' direction='in'/>
|
||||
|
|
|
@ -516,7 +516,10 @@ undo_manager_changed (NautilusDBusManager *self)
|
|||
static void
|
||||
nautilus_dbus_manager_init (NautilusDBusManager *self)
|
||||
{
|
||||
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
|
||||
self->file_operations = nautilus_dbus_file_operations_skeleton_new ();
|
||||
G_GNUC_END_IGNORE_DEPRECATIONS
|
||||
|
||||
self->file_operations2 = nautilus_dbus_file_operations2_skeleton_new ();
|
||||
|
||||
g_signal_connect (self->file_operations,
|
||||
|
|
Loading…
Reference in New Issue
Block a user