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

List:       kde-bugs-dist
Subject:    [Bug 83072] Configure Konversation in tray menu
From:       Peter Simonsson <psn () linux ! se>
Date:       2004-06-09 14:44:04
Message-ID: 20040609144404.5036.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
      
http://bugs.kde.org/show_bug.cgi?id=83072      
psn linux se changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From psn linux se  2004-06-09 16:44 -------
CVS commit by psn: 

Commit patch from Nathaniel W. Turner to add configure action to systray menu

CCMAIL: 83072-close bugs kde org


  M +4 -1      konversationmainwindow.cpp   1.85


--- kdeextragear-2/konversation/konversation/konversationmainwindow.cpp  #1.84:1.85
 @ -26,4 +26,5  @
 #include <kdeversion.h>
 #include <kedittoolbar.h>
+#include <kpopupmenu.h>
 
 #ifndef KDE_MAKE_VERSION
 @ -99,5 +100,5  @ KonversationMainWindow::KonversationMain
 
   KStdAction::keyBindings(this,SLOT(openKeyBindings()),actionCollection()); // \
                options_configure_key_binding
-  KStdAction::preferences(this,SLOT(openPreferences()),actionCollection()); // \
options_configure +  KAction *preferencesAction = \
KStdAction::preferences(this,SLOT(openPreferences()),actionCollection()); // \
options_configure  
   new KAction(i18n("Server List"), 0, 0, this, SLOT(openServerList()), \
actionCollection(), "open_server_list");  @ -154,4 +155,6  @ \
KonversationMainWindow::KonversationMain  connect(this, \
SIGNAL(endNotification(QWidget*)), tray, SLOT(endNotification(QWidget*)));  \
connect(tray, SIGNAL(quitSelected()), this, SLOT(quitProgram())); +  KPopupMenu \
*trayMenu = tray->contextMenu(); +  preferencesAction->plug(trayMenu);
 
   // decide whether to show the tray icon or not


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

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