Project not found: home:bamcauley

File autostart.diff of Package kinternet

--- kinternet/desktop.autostart	2007/09/27 08:25:29	1.1
+++ kinternet/desktop.autostart	2007/09/27 08:25:39
@@ -6,5 +6,5 @@
 Icon=kinternet
 
 X-KDE-StartupNotify=false
-X-KDE-autostart-condition=kinternetrc:General:Autostart:true
+X-KDE-autostart-condition=kinternetrc:General:Autostart:false
 X-KDE-autostart-after=panel
--- kinternet/main.cpp	2007/09/27 08:27:05	1.1
+++ kinternet/main.cpp	2007/09/27 08:35:55
@@ -189,6 +189,13 @@
 
 #endif
 
+    KConfig config("kinternetrc");
+    config.setGroup("General");
+    if (!config.hasKey("Autostart")) {
+       config.writeEntry("Autostart",true);
+       config.sync();
+    }
+
     kinternet = new KInternet (quiet, disp_mode);
 
     app->setMainWidget (kinternet);
openSUSE Build Service is sponsored by