After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 300586 - Drag contacts from contact list
Drag contacts from contact list
Status: RESOLVED FIXED
Product: gossip
Classification: Deprecated
Component: General
0.8.90
Other Linux
: Normal blocker
: ---
Assigned To: Gossip Maintainers
Gossip Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-04-14 07:53 UTC by Mikael Hallendal
Modified: 2005-05-08 13:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fixes the bug. (16.41 KB, patch)
2005-05-06 21:22 UTC, Martyn Russell
none Details | Review

Description Mikael Hallendal 2005-04-14 07:53:20 UTC
Currently disabled.
Comment 1 Martyn Russell 2005-05-06 21:22:20 UTC
Created attachment 46107 [details] [review]
Fixes the bug.

Seems to work.	

This patch does not use JID, it is all GossipContact ID based.

I added a layer in libgossip for:
-> gossip_session_find_contact()  
-> gossip_protocol_find_contact()
-> gossip_jabber_find_contact()

So now you can drag contacts from the roster to a chat window :)

I have left the code in the gossip-contact-list module to receive drops from
other apps - mainly so we can have other desktop objects dropped in to make it
easier for further work and future integration.   One idea might be to make the
add contact dialog show if the string d&d'd onto the roster matches a regex for
a contact ID.
Comment 2 Martyn Russell 2005-05-08 13:27:51 UTC
Committed with some additions to fix bug #142521.