summaryrefslogtreecommitdiffstats
path: root/mandriva/2010.2/kdelibs/kdelibs-3.5.3-fix-enable-dialogbox.patch
diff options
context:
space:
mode:
authorTim Williams <tmw@autotrain.org>2011-10-14 13:51:18 +0100
committerTim Williams <tmw@autotrain.org>2011-10-14 13:51:18 +0100
commitec2515f058c60d2478a549f58376db628ba556b9 (patch)
treeaefbde1b807005611b397e01ebc5782c7d27ff91 /mandriva/2010.2/kdelibs/kdelibs-3.5.3-fix-enable-dialogbox.patch
parentbba295da1161579c6fe734680c827e50a3585131 (diff)
downloadtde-packaging-ec2515f058c60d2478a549f58376db628ba556b9.tar.gz
tde-packaging-ec2515f058c60d2478a549f58376db628ba556b9.zip
Initial commit of the Mandriva patches and spec files.
This includes the main dependencies and core packages, but very little else.
Diffstat (limited to 'mandriva/2010.2/kdelibs/kdelibs-3.5.3-fix-enable-dialogbox.patch')
-rw-r--r--mandriva/2010.2/kdelibs/kdelibs-3.5.3-fix-enable-dialogbox.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/mandriva/2010.2/kdelibs/kdelibs-3.5.3-fix-enable-dialogbox.patch b/mandriva/2010.2/kdelibs/kdelibs-3.5.3-fix-enable-dialogbox.patch
new file mode 100644
index 000000000..afabd68a6
--- /dev/null
+++ b/mandriva/2010.2/kdelibs/kdelibs-3.5.3-fix-enable-dialogbox.patch
@@ -0,0 +1,30 @@
+--- kdelibs-3.5.3/kio/kfile/kpropertiesdialog.cpp.orig 2006-02-03 13:46:21.000000000 -0200
++++ kdelibs-3.5.3/kio/kfile/kpropertiesdialog.cpp 2006-07-14 11:11:18.000000000 -0300
+@@ -2024,6 +2024,7 @@
+ }
+
+ // Draw Checkboxes
++ bool allDisable = true;
+ TQCheckBox *cba[3][4];
+ for (int row = 0; row < 3 ; ++row) {
+ for (int col = 0; col < 4; ++col) {
+@@ -2039,6 +2040,8 @@
+ else if (d->cbRecursive && d->cbRecursive->isChecked())
+ cb->setTristate();
+
++ if( d->canChangePermissions)
++ allDisable = false;
+ cb->setEnabled( d->canChangePermissions );
+ gl->addWidget (cb, row+2, col+1);
+ switch(col) {
+@@ -2095,6 +2098,10 @@
+
+ }
+ #endif
++
++ if ( allDisable )
++ dlg.enableButtonOK( false );
++
+ if (dlg.exec() != KDialogBase::Accepted)
+ return;
+