summaryrefslogtreecommitdiffstats
path: root/mandriva/2010.2/kdepim/kdepim-3.5.4-fix-kalarm-call-twice-dialogbox.patch
diff options
context:
space:
mode:
authoralbator <albator@arcadia.vtf>2011-10-21 20:16:07 +0200
committeralbator <albator@arcadia.vtf>2011-10-21 20:16:07 +0200
commit7a0adf35896618a7570e425941fc1b74c54def47 (patch)
tree16dab9d8bfbd93575440f357c70907cbb5480980 /mandriva/2010.2/kdepim/kdepim-3.5.4-fix-kalarm-call-twice-dialogbox.patch
parentcd71be65dc30c8007ec54becdf6c50260ed8e908 (diff)
parenta8707e2a9f22d082cecb8ea6079175076f983c55 (diff)
downloadtde-packaging-7a0adf35896618a7570e425941fc1b74c54def47.tar.gz
tde-packaging-7a0adf35896618a7570e425941fc1b74c54def47.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'mandriva/2010.2/kdepim/kdepim-3.5.4-fix-kalarm-call-twice-dialogbox.patch')
-rw-r--r--mandriva/2010.2/kdepim/kdepim-3.5.4-fix-kalarm-call-twice-dialogbox.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/mandriva/2010.2/kdepim/kdepim-3.5.4-fix-kalarm-call-twice-dialogbox.patch b/mandriva/2010.2/kdepim/kdepim-3.5.4-fix-kalarm-call-twice-dialogbox.patch
new file mode 100644
index 000000000..72a50b95c
--- /dev/null
+++ b/mandriva/2010.2/kdepim/kdepim-3.5.4-fix-kalarm-call-twice-dialogbox.patch
@@ -0,0 +1,16 @@
+--- kdepim-3.5.4/kalarm/kalarmapp.cpp-- 2006-07-27 15:15:07.000000000 +0200
++++ kdepim-3.5.4/kalarm/kalarmapp.cpp 2006-07-27 15:16:29.000000000 +0200
+@@ -746,7 +746,12 @@
+ }
+
+ args->clear(); // free up memory
+- if (!initCheck())
++ /* Instead of calling initCheck (), call initCheck (true) to check the calendar only.
++ * This works because it doesn't change the return value:
++ * If the return value is false, it doesn't matter because we exit.
++ * If the return value is true, the first thing MainWindow() does, is to call initCheck(), so we do the same tests.
++ * Jonas Wustrack - jwustrack@mandriva.com */
++ if (!initCheck(true))
+ {
+ exitCode = 1;
+ break;