Re: ./teststatusicon (was Re: A cross-platform status icon api)

2005-09-19 Thread Matthias Clasen
On Sun, 2005-09-18 at 14:27 +0200, Hans Breuer wrote: On 06.09.2005 15:08, Matthias Clasen wrote: On Mon, 2005-09-05 at 23:25 +0200, Hans Breuer wrote: [...] Also gtkstatusicon-x11.c not only implements the fdo spec but it also defines a bunch of status icon api. Not only 21 functions but

Re: ./teststatusicon (was Re: A cross-platform status icon api)

2005-09-19 Thread Matthias Clasen
On Mon, 2005-09-19 at 01:38 +0300, Tor Lillqvist wrote: Hans Breuer writes: BTW: I'd appreciate if somebody with a deeper understanding of gtk internals could do a review of gtktrayicon-win32.c. Maybe what I've done is considered too much of a hack ;-) I appreciate your work, but

Re: ./teststatusicon (was Re: A cross-platform status icon api)

2005-09-19 Thread Hans Breuer
On 19.09.2005 00:38, Tor Lillqvist wrote: Hans Breuer writes: BTW: I'd appreciate if somebody with a deeper understanding of gtk internals could do a review of gtktrayicon-win32.c. Maybe what I've done is considered too much of a hack ;-) I appreciate your work, but why the rush? Isn't

./teststatusicon (was Re: A cross-platform status icon api)

2005-09-18 Thread Hans Breuer
On 06.09.2005 15:08, Matthias Clasen wrote: On Mon, 2005-09-05 at 23:25 +0200, Hans Breuer wrote: [...] Also gtkstatusicon-x11.c not only implements the fdo spec but it also defines a bunch of status icon api. Not only 21 functions but additionally quite some properties. Should all this be

Re: ./teststatusicon (was Re: A cross-platform status icon api)

2005-09-18 Thread Hans Breuer
On 18.09.2005 14:27, Hans Breuer wrote: [...] Before diving too deep into the code of (now) gtkstatusicon.c I've tried it on Linux - but it does not work there, too. What am I supposed to update so see any effect of ./teststatusicon ? (I'm running gnome-2.10.2 on gentoo with xorg-x11-6.8.2)

Re: ./teststatusicon (was Re: A cross-platform status icon api)

2005-09-18 Thread Tor Lillqvist
Hans Breuer writes: BTW: I'd appreciate if somebody with a deeper understanding of gtk internals could do a review of gtktrayicon-win32.c. Maybe what I've done is considered too much of a hack ;-) I appreciate your work, but why the rush? Isn't it better to wait some time and let the X11

Re: A cross-platform status icon api

2005-09-06 Thread Matthias Clasen
On Mon, 2005-09-05 at 23:25 +0200, Hans Breuer wrote: On 04.09.2005 22:59, Matthias Clasen wrote: On Sun, 2005-09-04 at 15:27 +0200, Hans Breuer wrote: On 30.08.2005 00:37, Matthias Clasen wrote: [...] cvs as of today has Trying to make it compile on win32 implies that two files

Re: A cross-platform status icon api

2005-09-05 Thread Hans Breuer
On 04.09.2005 22:59, Matthias Clasen wrote: On Sun, 2005-09-04 at 15:27 +0200, Hans Breuer wrote: On 30.08.2005 00:37, Matthias Clasen wrote: [...] cvs as of today has Trying to make it compile on win32 implies that two files should be renamed : gtkstatusicon-x11.c has nothing X11

Re: A cross-platform status icon api

2005-08-30 Thread Bill Haneman
Matthias Clasen wrote: ... 5) There is an implied focus problem; does the bubble steal focus when it demands attention? Almost certainly it shouldn't, but otherwise how does the screenreader or magnifier user notice it? We may need some kind of API for this - but the WM hints for urgency

Re: A cross-platform status icon api

2005-08-30 Thread Colin Walters
On Tue, 2005-08-30 at 11:37 +0800, James Henstridge wrote: I believe part of the reason for having the notification area pop up the balloons was to give a consistent visual appearance for the balloons. Isn't that generally addressed by having the widget in GTK+? Note that for the suggested

Re: A cross-platform status icon api

2005-08-30 Thread James Henstridge
Colin Walters wrote: On Tue, 2005-08-30 at 11:37 +0800, James Henstridge wrote: I believe part of the reason for having the notification area pop up the balloons was to give a consistent visual appearance for the balloons. Isn't that generally addressed by having the widget in GTK+?

Re: A cross-platform status icon api

2005-08-29 Thread Matthias Clasen
On Sat, 2005-08-27 at 00:23 +0300, Mart Raudsepp wrote: On Fri, 2005-08-26 at 16:01 -0400, Matthias Clasen wrote: Anything we add in that area has to be examined for cross-platformability. Does anybody have a pointer to the MSDN docs about balloon messages on Win32 ? A balloon message is

Re: A cross-platform status icon api

2005-08-29 Thread Gustavo J. A. M. Carneiro
On Mon, 2005-08-29 at 19:33 +0200, Iago Rubio wrote: On Mon, 2005-08-29 at 12:38 -0400, Matthias Clasen wrote: [snip] * if the panel is not sticky, does the bubble go away if the user switches to a desktop without the panel ? +1 to it going away. If anyone does not need a panel,

Re: A cross-platform status icon api

2005-08-29 Thread Matthias Clasen
On Mon, 2005-08-29 at 19:52 +0100, Gustavo J. A. M. Carneiro wrote: On Mon, 2005-08-29 at 19:33 +0200, Iago Rubio wrote: On Mon, 2005-08-29 at 12:38 -0400, Matthias Clasen wrote: [snip] * if the panel is not sticky, does the bubble go away if the user switches to a desktop without

Re: A cross-platform status icon api

2005-08-29 Thread Bryan Clark
On Mon, 2005-08-29 at 15:20 -0400, Matthias Clasen wrote: No, gnome-panels are always sticky. Lets rephrase the problem in more general terms: What happens to the notification bubble if the system tray becomes unviewable ? Hmmm, so if a notification falls in the woods and no one is around

Re: A cross-platform status icon api

2005-08-29 Thread Jochen . Baier
some thoughts about EggStatusIcon: *the function prototypes should be made future save with transparency background in mind (in the future the tray spec probably change from sending window IDs to sending icons to make transparency possible). *meanwhile transparency could be faked with copy the

Re: A cross-platform status icon api

2005-08-29 Thread Matthias Clasen
On Mon, 2005-08-29 at 23:37 +0200, [EMAIL PROTECTED] wrote: some thoughts about EggStatusIcon: *the function prototypes should be made future save with transparency background in mind (in the future the tray spec probably change from sending window IDs to sending icons to make

Re: A cross-platform status icon api

2005-08-29 Thread James Henstridge
Matthias Clasen wrote: - There are quite a few details which the implementation currently doesn't handle currently: * the bubble needs to be repositioned if the user changes panel orientation * the bubble stem needs to be redrawn if the tray icon moves because another status

Re: A cross-platform status icon api

2005-08-29 Thread Matthias Clasen
On Tue, 2005-08-30 at 10:02 +0800, James Henstridge wrote: Matthias Clasen wrote: - There are quite a few details which the implementation currently doesn't handle currently: * the bubble needs to be repositioned if the user changes panel orientation * the bubble stem needs

Re: A cross-platform status icon api

2005-08-29 Thread James Henstridge
Matthias Clasen wrote: On Tue, 2005-08-30 at 10:02 +0800, James Henstridge wrote: Matthias Clasen wrote: - There are quite a few details which the implementation currently doesn't handle currently: * the bubble needs to be repositioned if the user changes panel orientation *

Re: A cross-platform status icon api

2005-08-26 Thread Colin Walters
On Fri, 2005-08-26 at 15:00 -0400, Colin Walters wrote: On Fri, 2005-08-26 at 14:23 -0400, Matthias Clasen wrote: The requirement to have an API that can be implemented on all platforms supported by GTK+ rules out the EggTrayIcon API, since Win32 does not allow to embed arbitrary

Re: A cross-platform status icon api

2005-08-26 Thread Matthias Clasen
On Fri, 2005-08-26 at 15:00 -0400, Colin Walters wrote: On Fri, 2005-08-26 at 14:23 -0400, Matthias Clasen wrote: The requirement to have an API that can be implemented on all platforms supported by GTK+ rules out the EggTrayIcon API, since Win32 does not allow to embed arbitrary

Re: A cross-platform status icon api

2005-08-26 Thread Colin Walters
On Fri, 2005-08-26 at 15:34 -0400, Matthias Clasen wrote: Did you see that EggTray already has API for sending notifications from the tray icon to the tray, with gtk_status_icon_set_balloon_text() ? Yeah...I just based it on EggTrayIcon because for historical reasons Rhythmbox wasn't using

Re: A cross-platform status icon api

2005-08-26 Thread Mart Raudsepp
On Fri, 2005-08-26 at 16:01 -0400, Matthias Clasen wrote: Anything we add in that area has to be examined for cross-platformability. Does anybody have a pointer to the MSDN docs about balloon messages on Win32 ? A balloon message is just a tooltip with a certain style on win32. Tooltip