diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-10-14 23:31:33 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-10-14 23:31:33 -0500 |
commit | d2587a8509c0e15c38d99fb4bcfa2b2fc3209e9b (patch) | |
tree | 86eec4e4a0f6ba88cc7e6fab9ec926bc93d72396 /mandriva/2010.2/kdebase/kdebase-3.5.7-kdesktop_firstrun.patch | |
parent | f63b035a91cf5baff629f5e5dee4aeb7efe8d57b (diff) | |
parent | ec2515f058c60d2478a549f58376db628ba556b9 (diff) | |
download | tde-packaging-d2587a8509c0e15c38d99fb4bcfa2b2fc3209e9b.tar.gz tde-packaging-d2587a8509c0e15c38d99fb4bcfa2b2fc3209e9b.zip |
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'mandriva/2010.2/kdebase/kdebase-3.5.7-kdesktop_firstrun.patch')
-rw-r--r-- | mandriva/2010.2/kdebase/kdebase-3.5.7-kdesktop_firstrun.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/mandriva/2010.2/kdebase/kdebase-3.5.7-kdesktop_firstrun.patch b/mandriva/2010.2/kdebase/kdebase-3.5.7-kdesktop_firstrun.patch new file mode 100644 index 000000000..52ed43b0c --- /dev/null +++ b/mandriva/2010.2/kdebase/kdebase-3.5.7-kdesktop_firstrun.patch @@ -0,0 +1,27 @@ +--- kdebase-3.5.7/kdesktop/init.cc.kdesktop_firstrun 2007-09-26 10:15:58.000000000 -0300 ++++ kdebase-3.5.7/kdesktop/init.cc 2007-09-26 09:32:43.000000000 -0300 +@@ -87,7 +87,9 @@ static bool testDir( const TQString &_nam + else // exists already + { + closedir( dp ); +- return false; ++ KConfig cfg("kdesktoprc"); ++ cfg.setGroup("General"); ++ return cfg.readBoolEntry("FirstRun", true); + } + } + +@@ -202,7 +204,12 @@ void testLocalInstallation() + copyDirectoryFile("directory.autostart", KGlobalSettings::autostartPath(), newRelease); + + if (emptyDesktop) +- copyDesktopLinks(); ++ { ++ copyDesktopLinks(); ++ KConfig cfg("kdesktoprc"); ++ cfg.setGroup("General"); ++ cfg.writeEntry("FirstRun", false); ++ } + + // Take care of creating or updating trash.desktop + const TQString trashDir = KGlobal::dirs()->localxdgdatadir() + "Trash"; |