aboutsummaryrefslogtreecommitdiffstats
path: root/shell/Evolution-ShellComponentDnd.idl
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-03-20 01:22:50 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-03-20 01:22:50 +0800
commit553bdcc9bd65b653f53145f75455890a314099c5 (patch)
tree2c5fd7853f941946a1536dd753d3f304138a775c /shell/Evolution-ShellComponentDnd.idl
parent1d0afa980c9665f0f3e0f6d57333f077a9743ea8 (diff)
downloadgsoc2013-evolution-553bdcc9bd65b653f53145f75455890a314099c5.tar
gsoc2013-evolution-553bdcc9bd65b653f53145f75455890a314099c5.tar.gz
gsoc2013-evolution-553bdcc9bd65b653f53145f75455890a314099c5.tar.bz2
gsoc2013-evolution-553bdcc9bd65b653f53145f75455890a314099c5.tar.lz
gsoc2013-evolution-553bdcc9bd65b653f53145f75455890a314099c5.tar.xz
gsoc2013-evolution-553bdcc9bd65b653f53145f75455890a314099c5.tar.zst
gsoc2013-evolution-553bdcc9bd65b653f53145f75455890a314099c5.zip
Use the new DnD interfaces on the source side of DnD actions.
svn path=/trunk/; revision=8825
Diffstat (limited to 'shell/Evolution-ShellComponentDnd.idl')
-rw-r--r--shell/Evolution-ShellComponentDnd.idl12
1 files changed, 7 insertions, 5 deletions
diff --git a/shell/Evolution-ShellComponentDnd.idl b/shell/Evolution-ShellComponentDnd.idl
index 766bff2b33..f5fa3d0c0e 100644
--- a/shell/Evolution-ShellComponentDnd.idl
+++ b/shell/Evolution-ShellComponentDnd.idl
@@ -25,13 +25,13 @@ module ShellComponentDnd {
struct Data {
short format;
- short info;
+ short target;
sequence <octet> bytes;
};
exception NoData {};
- interface SourceFolder {
+ interface SourceFolder : Bonobo::Unknown {
struct Context {
string physical_uri;
string folder_type;
@@ -61,11 +61,12 @@ module ShellComponentDnd {
delete it. */
void deleteData (in Context source_context);
- /* The drag is over. */
+ /* The drag is over. This should also clean up the data if
+ there was a `getData()' but no `deleteData()' after it. */
void endDrag (in Context source_context);
};
- interface DestinationFolder {
+ interface DestinationFolder : Bonobo::Unknown {
struct Context {
string dnd_type;
ActionSet possible_actions;
@@ -75,7 +76,8 @@ module ShellComponentDnd {
/* The user is moving a dragged object over our folder. This
will return %FALSE if the specified object cannot be
dropped; otherwise, it will return %TRUE and then set the
- @action we want to be performed when the drop happens. */
+ @default_action and @non_default_action we want to be
+ performed when the drop happens. */
boolean handleMotion (in Context destination_context,
out Action default_action,
out Action non_default_action);