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

List:       kde-commits
Subject:    KDE/kdenetwork/krfb
From:       Urs Wolfer <uwolfer () kde ! org>
Date:       2008-01-04 13:14:44
Message-ID: 1199452484.067244.28003.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 757206 by uwolfer:

Fix: Make quit working when krfb has been started from menu
Fix icons.
Patch by crazy.

 M  +1 -1      krfb.desktop  
 M  +2 -1      main.cpp  


--- trunk/KDE/kdenetwork/krfb/krfb.desktop #757205:757206
@@ -1,7 +1,7 @@
 # KDE Config File
 [Desktop Entry]
 Type=Application
-Exec=krfb -caption "%c"
+Exec=krfb -caption "%c" %i
 Icon=krfb
 X-DocPath=krfb/index.html
 Terminal=false
--- trunk/KDE/kdenetwork/krfb/main.cpp #757205:757206
@@ -32,6 +32,7 @@
 #include <kapplication.h>
 #include <kmessagebox.h>
 #include <qwindowdefs.h>
+#include <KIcon>
 
 #include <signal.h>
 
@@ -75,7 +76,7 @@
 	KCmdLineArgs::init(argc, argv, &aboutData);
 
 	KApplication app;
-
+	QApplication::setWindowIcon(KIcon("krfb"));
     TrayIcon trayicon(new ManageInvitationsDialog);
 
 	KrfbServer *server = KrfbServer::self(); // initialize the server manager
[prev in list] [next in list] [prev in thread] [next in thread] 

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