DnD default action
- From: christophe barbe <christophe barbe ml online fr>
- To: balsa mailing-list <balsa-list gnome org>
- Subject: DnD default action
- Date: Sun, 5 Aug 2001 22:05:45 +0200
I'm trying to provude a patch to change (and perhaps make it configurable)
the default drag'n drop action from copy to move.
In my understanding the easiest way is to change the action done on the
-> do transfert on COPY drag event and copy on MOVE drag event.
It works perfectly (it's really an improvment when you want to archive your
mails) but we need also to invert icons. I've had a look at the gtk DnD api
but the only way to do it seems to set new icons for each dnd action with:
void gtk_drag_set_default_icon (GdkColormap *colormap,
void gtk_drag_set_icon_pixmap (GdkDragContext *context,
Is there a way to simply reuse stock icons ?
Is there a better way to change the default DnD action ?
Is it necessary to made this change an option ?
NB: I'm thinking to set the icons here (the source side):
NB: I need someone to test the #ifndef from my previous mail who has not
the following definition for g_error_free in gConf :
Christophe Barbé <email@example.com>
GnuPG FingerPrint: E0F6 FADF 2A5C F072 6AF8 F67A 8F45 2F1E D72C B41E
] [Thread Prev