aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Montel <lmontel@mandriva.org>2001-09-03 12:22:44 +0000
committerLaurent Montel <lmontel@mandriva.org>2001-09-03 12:22:44 +0000
commitf7fea408aeb64bd17e2414edf0f3872f7f3522fb (patch)
tree42be1ba3cdf5dca46a69bb4a0cb64ec46b427ddb
parent86fe8b72587467856bb7fc7150b7e69b8712f150 (diff)
downloadcommon-data-f7fea408aeb64bd17e2414edf0f3872f7f3522fb.tar
common-data-f7fea408aeb64bd17e2414edf0f3872f7f3522fb.tar.gz
common-data-f7fea408aeb64bd17e2414edf0f3872f7f3522fb.tar.bz2
common-data-f7fea408aeb64bd17e2414edf0f3872f7f3522fb.tar.xz
common-data-f7fea408aeb64bd17e2414edf0f3872f7f3522fb.zip
Fix autostart
-rw-r--r--krootwarning/krootwarning/Makefile.am4
-rw-r--r--krootwarning/krootwarning/krootwarning.desktop3
-rw-r--r--krootwarning/krootwarning/krootwarningrc2
3 files changed, 8 insertions, 1 deletions
diff --git a/krootwarning/krootwarning/Makefile.am b/krootwarning/krootwarning/Makefile.am
index 30a3f34..dbdac20 100644
--- a/krootwarning/krootwarning/Makefile.am
+++ b/krootwarning/krootwarning/Makefile.am
@@ -34,6 +34,10 @@ krootwarning_LDFLAGS = $(all_libraries) $(KDE_RPATH)
autostart_DATA = krootwarning.desktop
autostartdir = $(prefix)/share/autostart
+data_DATA = krootwarningrc
+datadir = $(kde_confdir)
+EXTRA_DIST = $(data_DATA)
+
messages:
LIST=`find . -name \*.h -o -name \*.hh -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \
if test -n "$$LIST"; then \
diff --git a/krootwarning/krootwarning/krootwarning.desktop b/krootwarning/krootwarning/krootwarning.desktop
index 86af477..76cb655 100644
--- a/krootwarning/krootwarning/krootwarning.desktop
+++ b/krootwarning/krootwarning/krootwarning.desktop
@@ -10,4 +10,5 @@ Comment[de]=
Terminal=0
Name=Krootwarning
Name[de]=Krootwarning
-X-KDE-autostart-after=kdesktop \ No newline at end of file
+X-KDE-autostart-after=kdesktop
+X-KDE-autostart-condition=krootwarningrc:Parameter:DontShowWindowAtTheNextStartUp:true
diff --git a/krootwarning/krootwarning/krootwarningrc b/krootwarning/krootwarning/krootwarningrc
new file mode 100644
index 0000000..f0976b6
--- /dev/null
+++ b/krootwarning/krootwarning/krootwarningrc
@@ -0,0 +1,2 @@
+[Parameter]
+DontShowWindowAtTheNextStartUp=true