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

List:       kde-commits
Subject:    kdebase/kstart
From:       Luboš Luňák <l.lunak () kde ! org>
Date:       2003-04-23 9:17:16
[Download RAW message or body]

CVS commit by lunakl: 

I'm tired of people complaining that multiple kstart doesn't guess right.


  M +4 -1      kstart.cpp   1.45


--- kdebase/kstart/kstart.cpp  #1.44:1.45
@@ -195,5 +195,5 @@ static KCmdLineOptions options[] =
   { "window <regexp>", I18N_NOOP("A regular expression matching the window title.\n"
                   "If you do not specify one, then the very first window\n"
-                  "to appear will be taken. Not recommended!"), 0 },
+                  "to appear will be taken. NOT RECOMMENDED!"), 0 },
   { "desktop <number>", I18N_NOOP("Desktop where to make the window appear. "), 0 },
   { "currentdesktop", I18N_NOOP("Make the window appear on the desktop that was \
active\nwhen starting the application. "), 0 }, @@ -254,4 +254,7 @@ int main( int \
argc, char *argv[] )  
   window = args->getOption( "window" );
+  
+  if( window.isEmpty())
+      kdWarning() << "Omitting --window argument is not recommended" << endl;
 
   QCString s = args->getOption( "type" );


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

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