[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdeutils/ark
From: Henrique Pinto <stampede () coltec ! ufmg ! br>
Date: 2004-12-19 13:42:58
Message-ID: 20041219134258.8C84619425 () office ! kde ! org
[Download RAW message or body]
CVS commit by pinto:
You can't edit files in read-only archives.
BUG: 95309
M +1 -1 ark_part.cpp 1.31
M +0 -1 ark_part.h 1.15
--- kdeutils/ark/ark_part.cpp #1.30:1.31
@@ -194,5 +194,5 @@ void ArkPart::fixEnables()
viewAction->setEnabled( b );
openWithAction->setEnabled( b );
- editAction->setEnabled( b );
+ editAction->setEnabled( b && !bReadOnly ); // You can't edit files in read-only archives
emit fixActionState( bHaveFiles );
}
--- kdeutils/ark/ark_part.h #1.14:1.15
@@ -122,5 +122,4 @@ private:
KAction *deselectAllAction;
KAction *invertSelectionAction;
- KAction *popupEditAction;
KAction *editAction;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic