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

List:       kde-core-devel
Subject:    [siegert@pp-services.de: Re: OSS in Hawaii & My Roswell Experience (fwd)]
From:       Thomas Zander <zander () planescape ! com>
Date:       2001-08-05 11:04:01
[Download RAW message or body]

[Attachment #2 (multipart/mixed)]


His patch works perfectly, ok to commit?

----- Forwarded message from Philipp Siegert <siegert@pp-services.de> -----

Subject: Re: OSS in Hawaii & My Roswell Experience (fwd)
To: Thomas Zander <zander@planescape.com>

Am Sonntag 05 August 2001 11:48: schrieb Thomas Zander:
> > Minor Application Feedback Glitches
> > --------------------------------------
> > a) Programs launched from the panel like AlarmDaemon applet launching
> > KOrganizer, or KDE Menu Editor do not have any application feedback. 
> > This appears to be the case of any programs launched from panel applets
> > and not the menu or launch buttons.  This can be very confusing, because
> > the user is expecting to see application launch feedback like the other
> > programs.  They aren't sure their click did anything, so they click it
> > multiple times. b) At the beginning of logins after the inital KDE login,
> > Autorun is stuck in application feedback with the light bulb graphic
> > until it times out after 30 seconds.  This also occurs with the Kandalf's
> > Tips.
>
> Would it be possible (2.2.1 I guess) to allow programs like korganizer
> being launced from its icon in the system-tray to show an icon?
>

What about using KRun instead of KProcess in the KOrganizer alarm daemon. See 
my attatched patch for details. This displays startup notification for me.

-- 
Philipp Siegert
siegert@pp-services.de
http://www.pp-services.de

----- End forwarded message -----

-- 
Thomas Zander                                            zander@earthling.net
The only thing worse than failure is the fear of trying something new

["alarmdaemon.diff" (text/plain)]

Index: alarmdaemon.cpp
===================================================================
RCS file: /home/kde/kdepim/korganizer/alarmdaemon.cpp,v
retrieving revision 1.51
diff -u -3 -p -d -b -r1.51 alarmdaemon.cpp
--- alarmdaemon.cpp	2001/05/08 11:49:53	1.51
+++ alarmdaemon.cpp	2001/08/05 11:05:13
@@ -15,9 +15,9 @@
 #include <kglobal.h>
 #include <ksimpleconfig.h>
 #include <kiconloader.h>
-#include <kprocess.h>
 #include <kmessagebox.h>
 #include <knotifyclient.h>
+#include <krun.h>
 #include <kio/netaccess.h>
 
 //#include "config.h"
@@ -59,9 +59,8 @@ void AlarmDockWindow::mousePressEvent(QM
 {
   if (e->button() == LeftButton) {
     // start up a korganizer.
-    KProcess proc;
-    proc << "korganizer";
-    proc.start(KProcess::DontCare);
+    KURL::List noargs;
+    KRun::run("korganizer", noargs);
   } else
     KSystemTray::mousePressEvent(e);
 }

[Attachment #6 (application/pgp-signature)]

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

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