Ticket #2962 (closed enhancement: fixed)

Opened 4 years ago

Last modified 3 years 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 4 years ago.
gajim-status.jpg (28.3 KB) - added by khorne 4 years ago.
chat_status.diff (6.2 KB) - added by asterix 4 years ago.
working patch
gajim-0.11.2-sexy.patch (8.6 KB) - added by khorne 3 years ago.
libsexy patch against 0.11.2
gajim-svn-sexy.patch (8.7 KB) - added by khorne 3 years ago.
patch against r8885

Change History

Changed 4 years ago by anonymous

Changed 4 years ago by anonymous

  • milestone set to 0.11.1

Changed 4 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 4 years ago by khorne

Changed 4 years ago by khorne

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

Changed 4 years ago by asterix

  • description modified (diff)

Changed 4 years ago by asterix

working patch

Changed 4 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 4 years ago by khorne

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

Changed 4 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 3 years ago by khorne

libsexy patch against 0.11.2

Changed 3 years ago by khorne

patch against r8885

Changed 3 years 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


E-mail address and user name can be saved in the Preferences.


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