Ticket #2962 (closed enhancement: fixed)

Opened 2 years ago

Last modified 21 months ago

Selectable statuses in chat window

Reported by: khorne@… Owned by: asterix
Priority: normal Milestone: 0.12
Component: chat Version:
Severity: normal Keywords: status url chat
Cc: Blocked By:
OS: Blocking:

Description (last modified by asterix) (diff)

Below is a patch which allows selecting contact's status message in chat window banner. I plan to use sexy url-label later on.

Attachments

chat.patch (8.2 kB) - added by anonymous 2 years ago.
gajim-status.jpg (28.3 kB) - added by khorne 2 years ago.
chat_status.diff (6.2 kB) - added by asterix 2 years ago.
working patch
gajim-0.11.2-sexy.patch (8.6 kB) - added by khorne 21 months ago.
libsexy patch against 0.11.2
gajim-svn-sexy.patch (8.7 kB) - added by khorne 21 months ago.
patch against r8885

Change History

Changed 2 years ago by anonymous

Changed 2 years ago by anonymous

  • milestone set to 0.11.1

Changed 2 years ago by asterix

  • milestone 0.11.1 deleted

this patch doesn't work against SVN version. how did you built it? could you attach a screenshot?

Changed 2 years ago by khorne

Changed 2 years ago by khorne

It was built against 0.11 release from gentoo ebuild. Screenshot below.

Changed 2 years ago by asterix

  • description modified (diff)

Changed 2 years ago by asterix

working patch

Changed 2 years ago by asterix

here is a patch that works against svn (use svn diff instead of diff). But the question is: is it the correct way to do it?

in MUC we have /topic to get it. so should we do a /status in chat window to copy it in textview or should we also make a topic_label selectable ?

Changed 2 years ago by khorne

Selectable *and* clickable if URL is found. This is not a console program, mind you ;)

Changed 2 years ago by asterix

there is no widget in GTK to have a part of its text clickable easily. in textview we have a workarround to do that. on each mouse movement we look if mouse is over an URL and change pointer.

sexy url-label can probably do that, but it's not in GTK natively.

Changed 21 months ago by khorne

libsexy patch against 0.11.2

Changed 21 months ago by khorne

patch against r8885

Changed 21 months ago by asterix

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to 0.12

(In [9868e8b0727eec4692bfc5c88cfcb5b9be9a7dcc]) use python-sexy if available to have clickable links in chat window banner. fixes #2962

Add/Change #2962 (Selectable statuses in chat window)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
Next status will be 'needinfo'
 
Note: See TracTickets for help on using tickets.