summaryrefslogtreecommitdiff
path: root/noncore/apps/advancedfm/advancedfm.cpp
authorllornkcor <llornkcor>2004-09-25 05:54:57 (UTC)
committer llornkcor <llornkcor>2004-09-25 05:54:57 (UTC)
commit0671201a4527973c41adad5f5681938da7f1f824 (patch) (side-by-side diff)
tree0dab2989196bfb6e74b3c647c211e8c39587a881 /noncore/apps/advancedfm/advancedfm.cpp
parentdba0864dd99dfc86a33bde72809634be7f0da9c4 (diff)
downloadopie-0671201a4527973c41adad5f5681938da7f1f824.zip
opie-0671201a4527973c41adad5f5681938da7f1f824.tar.gz
opie-0671201a4527973c41adad5f5681938da7f1f824.tar.bz2
formatted strings
Diffstat (limited to 'noncore/apps/advancedfm/advancedfm.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp
index 8d07f69..9721f84 100644
--- a/noncore/apps/advancedfm/advancedfm.cpp
+++ b/noncore/apps/advancedfm/advancedfm.cpp
@@ -288,25 +288,25 @@ void AdvancedFm::switchToLocalTab() {
void AdvancedFm::switchToRemoteTab() {
TabWidget->setCurrentWidget(1);
// Remote_View->setFocus();
whichTab = 2;
}
void AdvancedFm::currentPathComboChanged() {
if(QDir( currentPathCombo->lineEdit()->text()).exists()) {
CurrentDir()->setPath( currentPathCombo->lineEdit()->text() );
populateView();
} else {
- QMessageBox::message(tr("Note"),tr("That directory does not exist"));
+ QMessageBox::message(tr("Note"),tr("<p>That directory does not exist</p>"));
}
}
void AdvancedFm::fillCombo(const QString &currentPath) {
if ( TabWidget->currentWidget() == tab) {
// if ( whichTab == 1) {
currentPathCombo->lineEdit()->setText( currentPath);
if( localDirPathStringList.grep( currentPath,TRUE).isEmpty() ) {
currentPathCombo->clear();
localDirPathStringList.prepend( currentPath );
currentPathCombo->insertStringList( localDirPathStringList,-1);
@@ -660,25 +660,25 @@ void AdvancedFm::removeCustomDir() {
// odebug << "remove custom dir" << oendl;
Config cfg("AdvancedFm");
cfg.setGroup("Menu");
QString dir;
QStringList list = cfg.readListEntry( (const QString &)"CustomDir", (const QChar)',');
QStringList list2;
dir = CurrentDir()->canonicalPath();
int ramble=2;
// int ramble=-24;
//first remove list
if(list.grep(dir,true).isEmpty()) {
QMessageBox::message(tr( "AdvancedFm" ),
- tr("Cannot remove current directory\nfrom bookmarks.\nIt is not bookmarked!"));
+ tr("<p>Cannot remove current directory from bookmarks. It is not bookmarked!</p>"));
} else {
for ( QStringList::Iterator it = list.begin(); it != list.end(); ++it ) {
if((*it) != dir) {
//current item is not our current dir, so add it to temp list
list2 <<(*it);
} else {
// customDirMenu->removeItem( ramble);
menuButton->remove( ramble);
}
ramble++;
// ramble--;