[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Fwd: [Kopete-devel] Re: [PATCH] ksystemtray.cpp
From:       Martijn Klingens <klingens () kde ! org>
Date:       2002-04-13 11:40:07
[Download RAW message or body]

FYI, especially for Simon ;-)

Martijn

----------  Forwarded Message  ----------

Subject: [Kopete-devel] Re: [PATCH] ksystemtray.cpp
Date: Sat, 13 Apr 2002 08:23:12 +0200
From: Klas Kalass <klas.kalass@gmx.de>
To: Martijn Klingens <klingens@kde.org>, kde-devel@kde.org
Cc: kopete-devel@kde.org

[taking this to kde-devel, because I don't have posting rights to
kde-core-devel]

Am Donnerstag, 11. April 2002 13:38 schrieb Martijn Klingens:
> Attached patch allows Kopete to override the main window's close query by
> hiding to the systray and still make the standard Quit action from
> KSystemTray work.
>
> Ok to apply and to backport?
>
> Martijn

I agree that closing the main window to quit an application from the systray
icon is not good.
The style guide states the following:

http://developer.kde.org/documentation/standards/kde/style/basics/systray.htm
l "If the main interface of the application is a window then closing (with
 the 'X') that window will only close the window and keep the systray icon
 visible"

So one may not set the main interface as the application's main window (or
needs to overwrite close) as that interferes with the style guide. So you
need to overwrite the tray menu from the application as it currently is, to
overwrite quit.

This patch is very much needed, I think even if it introduces new problems in
existing apps it fixes a very bad bug.

Klas
_______________________________________________
Kopete-devel mailing list
Kopete-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/kopete-devel

-------------------------------------------------------

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic