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

List:       kopete-devel
Subject:    Re: [Kopete-devel] quit from systray
From:       Andres Krapf <dae () chez ! com>
Date:       2002-04-10 23:12:21
[Download RAW message or body]

i just reread my last 2 posts, and i think there might be a 
misunderstanding...

when i say

/*
 * The parent's implementation forces 2 menuitems on the right click menu:
 * Restore/Minimize
 * Quit, which doesn't work for us since it's connected to slot 
KopeteWindow::close()
 * So we just leave an empty menu with a titlebar
 */

i mean that i'm leaving it empty -  for now - (if i let KSystemTray have it's 
way, it'll include the nasty Quit menuitem).

after that, you just use it normally, and populate the menu in KopeteWindow 
with all the stuff you need. i even added a real working Quit there.

by the way, is there a reason for renaming contextMenu() from KSystemTray to 
getContextMenu() ? wouldn't it be nicer if we kept the same name ?

cheers,

-- 
Andres
_______________________________________________
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