From f7fea408aeb64bd17e2414edf0f3872f7f3522fb Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Mon, 3 Sep 2001 12:22:44 +0000 Subject: Fix autostart --- krootwarning/krootwarning/Makefile.am | 4 ++++ krootwarning/krootwarning/krootwarning.desktop | 3 ++- krootwarning/krootwarning/krootwarningrc | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 krootwarning/krootwarning/krootwarningrc 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 -- cgit v1.2.1