1
0
mirror of https://github.com/KDE/krfb synced 2026-07-02 00:01:18 -07:00

Compare commits

...

1 Commits

Author SHA1 Message Date
Urs Wolfer
26c4bf1d2f Forwardport:
SVN commit 757206 by uwolfer:

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

svn path=/branches/KDE/4.0/kdenetwork/krfb/; revision=757208
2008-01-04 13:19:19 +00:00
2 changed files with 3 additions and 2 deletions

View File

@@ -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

View File

@@ -32,6 +32,7 @@
#include <kapplication.h>
#include <kmessagebox.h>
#include <qwindowdefs.h>
#include <KIcon>
#include <signal.h>
@@ -75,7 +76,7 @@ int main(int argc, char *argv[])
KCmdLineArgs::init(argc, argv, &aboutData);
KApplication app;
QApplication::setWindowIcon(KIcon("krfb"));
TrayIcon trayicon(new ManageInvitationsDialog);
KrfbServer *server = KrfbServer::self(); // initialize the server manager