New Unix Systray plugin

Discussion about XChat on Linux and other unix like systems.

New Unix Systray plu

Postby peterz » 25 Nov 2006 09:46

My simple plan would be:

* Left click the icon to show/hide window.
* Right-click menu:

Code: Select all
Restore
-----------------------------
Flash on (submenu)
    ./ Channel Message
    ./ Highlighted Message
    ./ Private Message
    ./ File Offer
    ./ Disconnect
Set Away (on all servers)
-----------------------------
Exit XChat


./ = Check box item.

Is someone willing to draw some icons for the above events? Preferably the xchat logo with the event overlayed ontop.
User avatar
peterz
 
Posts: 1035
Joined: 09 Jun 2004 13:51
Location: Australia

Postby Christmas » 25 Nov 2006 10:44

This plan looks just perfect, maybe just add a flash on notice or invite checkbox. I'd help with the artwork but unfortunately I have no vocation for graphics.
Overhead the albatross hangs motionless upon the air...
My Linux Scripts & Plugins Page
Christmas
 
Posts: 13
Joined: 17 Jun 2006 05:54

Postby Mike » 26 Nov 2006 03:03

What's wrong with the blight.tk systray plugin?
Image
Mike
 
Posts: 374
Joined: 10 Jun 2004 19:05

Postby peterz » 26 Nov 2006 05:18

It's past its used by date, buggy and non-user friendly by today's standards.
Even I had a hard time getting it to work, I'm no newbie :)
User avatar
peterz
 
Posts: 1035
Joined: 09 Jun 2004 13:51
Location: Australia

Postby peterz » 26 Nov 2006 06:27

It's going ahead, built-in even. I've added a command so scripts/plugins can do more complex things with the systray icon:
Code: Select all
 Usage:
 TRAY -f <timeout> <file1> [<file2>] Flash tray between two icons.
 TRAY -f <filename>                  Set tray to a fixed icon.
 TRAY -i <number>                    Flash tray with an internal icon.
 TRAY -t <text>                      Set the tray tooltip.
 TRAY -b <text>                      Set the tray balloon.
User avatar
peterz
 
Posts: 1035
Joined: 09 Jun 2004 13:51
Location: Australia

Postby Mike » 27 Nov 2006 13:01

peterz wrote:It's past its used by date, buggy and non-user friendly by today's standards.
Even I had a hard time getting it to work, I'm no newbie :)


Well it would be nice if it worked out of the box...
Image
Mike
 
Posts: 374
Joined: 10 Jun 2004 19:05

Postby peterz » 02 Dec 2006 03:42

Any feedback on the new tray code? It's in CVS ready to use. I assume it's 100% perfect and ready for release :)

Complaints and suggestions don't go down too well _after_ release.
User avatar
peterz
 
Posts: 1035
Joined: 09 Jun 2004 13:51
Location: Australia

Postby Mike » 05 Dec 2006 16:35

peterz wrote:Any feedback on the new tray code? It's in CVS ready to use. I assume it's 100% perfect and ready for release :)

Complaints and suggestions don't go down too well _after_ release.


Nothing screams at me, but I'm not at all familiar with GTKs tray implementation either.
Image
Mike
 
Posts: 374
Joined: 10 Jun 2004 19:05

Postby jlh » 06 Dec 2006 21:28

Seems to work nicely.

However, the blinking seems irregular sometimes. Could it be that the blinking re-syncs every time a new event happens that causes it to blink (even though it's blinking already)?

(Maybe not on topic, but I would welcome an option to have a little popup window instead of the blinking, as my system tray (and the entire KDE bar) is set to auto-hide when the mouse is not at the bottom.)
jlh
 
Posts: 248
Joined: 14 Jul 2004 19:38
Location: Switzerland

Postby eNTi » 08 Jan 2007 07:27

the -i switch is a little confusing. what internal icons? is it possible to list those, or does it mean: use the ONE internal icon and flash it every <number> seconds?
eNTi
 
Posts: 8
Joined: 07 Nov 2005 18:11

Postby peterz » 08 Jan 2007 11:09

The -i arg isn't really documented, but here goes:

2 message
5 highlight
8 private message
11 file offer
User avatar
peterz
 
Posts: 1035
Joined: 09 Jun 2004 13:51
Location: Australia

Postby SniZ » 22 Jan 2007 00:26

how can i hide xchat when i click X button?


if i click - xchat is exit
SniZ
 
Posts: 7
Joined: 16 Nov 2006 20:16

Postby peterz » 22 Jan 2007 06:50

SniZ wrote:how can i hide xchat when i click X button?


if i click - xchat is exit


/set gui_tray_flags 1
User avatar
peterz
 
Posts: 1035
Joined: 09 Jun 2004 13:51
Location: Australia

Postby alexalecu » 01 Feb 2007 12:43

peterz wrote:Any feedback on the new tray code? It's in CVS ready to use. I assume it's 100% perfect and ready for release :)

Complaints and suggestions don't go down too well _after_ release.


Can you give me, please, the exact location of the CVS repository that contains the plugin source code ?
alexalecu
 
Posts: 1
Joined: 01 Feb 2007 12:33

Postby Alchera » 02 Feb 2007 00:17

On the main site.
"Live Outside The Square You Live In"
"Vivez hors du quartier où vous habitez"
User avatar
Alchera
 
Posts: 939
Joined: 28 May 2005 16:30
Location: Ballarat Victoria, Australia

Next

Return to XChat

Who is online

Users browsing this forum: No registered users and 2 guests