Merge new version 0.11.0 from experimental to unstable

ubuntu/disco debian/0.11.0-2
Alf Gaida 8 years ago
parent 866039af05
commit b370555cc3

@ -3,4 +3,4 @@ Upstream Authors:
Hong Jen Yee (PCMan) <pcman.tw@gmail.com> Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
Copyright: Copyright:
Copyright (c) 2013-2015 LXQt team Copyright (c) 2013-2016 LXQt team

@ -7,7 +7,7 @@ if (POLICY CMP0063)
endif (POLICY CMP0063) endif (POLICY CMP0063)
set(PCMANFM_QT_VERSION_MAJOR 0) set(PCMANFM_QT_VERSION_MAJOR 0)
set(PCMANFM_QT_VERSION_MINOR 10) set(PCMANFM_QT_VERSION_MINOR 11)
set(PCMANFM_QT_VERSION_PATCH 0) set(PCMANFM_QT_VERSION_PATCH 0)
set(PCMANFM_QT_VERSION ${PCMANFM_QT_VERSION_MAJOR}.${PCMANFM_QT_VERSION_MINOR}.${PCMANFM_QT_VERSION_PATCH}) set(PCMANFM_QT_VERSION ${PCMANFM_QT_VERSION_MAJOR}.${PCMANFM_QT_VERSION_MINOR}.${PCMANFM_QT_VERSION_PATCH})

@ -2,9 +2,6 @@
The Qt port of the LXDE file manager PCManFM. The Qt port of the LXDE file manager PCManFM.
Includes libfm-qt, the Qt port of the libfm - a library providing components to
build desktop file managers.
Issue tracker: Issue tracker:
https://github.com/lxde/pcmanfm-qt/issues https://github.com/lxde/pcmanfm-qt/issues

@ -71,13 +71,13 @@ function(lxqt_translate_desktop _RESULT)
set(_pattern "'\\[.*]\\s*='") set(_pattern "'\\[.*]\\s*='")
if (_translations) if (_translations)
add_custom_command(OUTPUT ${_outFile} add_custom_command(OUTPUT ${_outFile}
COMMAND grep -v "'#TRANSLATIONS_DIR='" ${_inFile} > ${_outFile} COMMAND grep -a -v "'#TRANSLATIONS_DIR='" ${_inFile} > ${_outFile}
COMMAND grep -h ${_pattern} ${_translations} >> ${_outFile} COMMAND grep -a -h ${_pattern} ${_translations} >> ${_outFile}
COMMENT "Generating ${_fileName}${_fileExt}" COMMENT "Generating ${_fileName}${_fileExt}"
) )
else() else()
add_custom_command(OUTPUT ${_outFile} add_custom_command(OUTPUT ${_outFile}
COMMAND grep -v "'#TRANSLATIONS_DIR='" ${_inFile} > ${_outFile} COMMAND grep -a -v "'#TRANSLATIONS_DIR='" ${_inFile} > ${_outFile}
COMMENT "Generating ${_fileName}${_fileExt}" COMMENT "Generating ${_fileName}${_fileExt}"
) )
endif() endif()

14
debian/changelog vendored

@ -1,3 +1,17 @@
pcmanfm-qt (0.11.0-2) unstable; urgency=medium
* Merge experimental to unstable
-- Alf Gaida <agaida@siduction.org> Thu, 31 Mar 2016 22:07:11 +0200
pcmanfm-qt (0.11.0-1) experimental; urgency=medium
* New upstream release
* Removed grep patch
* Bump libfm-qt-dev (>= 0.11.0)
-- Alf Gaida <agaida@siduction.org> Mon, 28 Mar 2016 18:12:27 +0200
pcmanfm-qt (0.10.1-2) unstable; urgency=medium pcmanfm-qt (0.10.1-2) unstable; urgency=medium
* Bump Standards to 3.9.7 * Bump Standards to 3.9.7

2
debian/control vendored

@ -20,7 +20,7 @@ Build-Depends: debhelper (>= 9.20151219),
qttools5-dev, qttools5-dev,
qttools5-dev-tools qttools5-dev-tools
Standards-Version: 3.9.7 Standards-Version: 3.9.7
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-lxqt/pcmanfm-qt.qt/?h=debian/sid Vcs-Browser: https://anonscm.debian.org/cgit/pkg-lxqt/pcmanfm-qt.git/?h=debian/sid
Vcs-Git: https://anonscm.debian.org/cgit/pkg-lxqt/pcmanfm-qt.git -b debian/sid Vcs-Git: https://anonscm.debian.org/cgit/pkg-lxqt/pcmanfm-qt.git -b debian/sid
Homepage: https://github.com/lxde/pcmanfm-qt Homepage: https://github.com/lxde/pcmanfm-qt

@ -62,6 +62,7 @@ set_property(
target_include_directories(pcmanfm-qt target_include_directories(pcmanfm-qt
PRIVATE "${LIB_XCB_INDLUDE_DIRS}" PRIVATE "${LIB_XCB_INDLUDE_DIRS}"
"${Qt5Gui_PRIVATE_INCLUDE_DIRS}"
) )
target_link_libraries(pcmanfm-qt target_link_libraries(pcmanfm-qt

@ -189,8 +189,7 @@ bool Application::parseCommandLineArgs() {
QCommandLineOption setWallpaperOption(QStringList() << "w" << "set-wallpaper", tr("Set desktop wallpaper from image FILE"), tr("FILE")); QCommandLineOption setWallpaperOption(QStringList() << "w" << "set-wallpaper", tr("Set desktop wallpaper from image FILE"), tr("FILE"));
parser.addOption(setWallpaperOption); parser.addOption(setWallpaperOption);
// don't translate list of modes in description, please QCommandLineOption wallpaperModeOption("wallpaper-mode", tr("Set mode of desktop wallpaper. MODE=(%1)").arg("color|stretch|fit|center|tile"), tr("MODE"));
QCommandLineOption wallpaperModeOption("wallpaper-mode", tr("Set mode of desktop wallpaper. MODE=(color|stretch|fit|center|tile)"), tr("MODE"));
parser.addOption(wallpaperModeOption); parser.addOption(wallpaperModeOption);
QCommandLineOption showPrefOption("show-pref", tr("Open Preferences dialog on the page with the specified name"), tr("NAME")); QCommandLineOption showPrefOption("show-pref", tr("Open Preferences dialog on the page with the specified name"), tr("NAME"));
@ -518,7 +517,7 @@ void Application::preferences(QString page) {
preferencesDialog_ = new PreferencesDialog(page); preferencesDialog_ = new PreferencesDialog(page);
} }
else { else {
// TODO: set page preferencesDialog_.data()->selectPage(page);
} }
preferencesDialog_.data()->show(); preferencesDialog_.data()->show();
preferencesDialog_.data()->raise(); preferencesDialog_.data()->raise();

@ -31,7 +31,6 @@
#include <QTranslator> #include <QTranslator>
#include <gio/gio.h> #include <gio/gio.h>
class QScreen; class QScreen;
class QFileSystemWatcher; class QFileSystemWatcher;

@ -200,6 +200,82 @@
</layout> </layout>
</widget> </widget>
</item> </item>
<item>
<widget class="QGroupBox" name="groupBox_3">
<property name="title">
<string>Spacing</string>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>Minimum item margins:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="hMargin">
<property name="toolTip">
<string>3 px by default.</string>
</property>
<property name="suffix">
<string> px</string>
</property>
<property name="maximum">
<number>48</number>
</property>
<property name="value">
<number>3</number>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QLabel" name="label_8">
<property name="text">
<string>x</string>
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QSpinBox" name="vMargin">
<property name="toolTip">
<string>1 px by default.
A space is also reserved for 3 lines of text.</string>
</property>
<property name="suffix">
<string> px</string>
</property>
<property name="maximum">
<number>48</number>
</property>
<property name="value">
<number>1</number>
</property>
</widget>
</item>
<item row="0" column="4">
<widget class="QCheckBox" name="lockMargins">
<property name="text">
<string>Lock</string>
</property>
</widget>
</item>
<item row="0" column="5">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>5</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item> <item>
<spacer name="verticalSpacer_2"> <spacer name="verticalSpacer_2">
<property name="orientation"> <property name="orientation">

@ -34,7 +34,8 @@ DesktopItemDelegate::DesktopItemDelegate(QListView* view, QObject* parent):
QStyledItemDelegate(parent ? parent : view), QStyledItemDelegate(parent ? parent : view),
view_(view), view_(view),
symlinkIcon_(QIcon::fromTheme("emblem-symbolic-link")), symlinkIcon_(QIcon::fromTheme("emblem-symbolic-link")),
shadowColor_(0, 0, 0) { shadowColor_(0, 0, 0),
margins_(QSize(3, 3)) {
} }
// FIXME: we need to figure out a way to derive from Fm::FolderItemDelegate to avoid code duplication. // FIXME: we need to figure out a way to derive from Fm::FolderItemDelegate to avoid code duplication.
@ -74,7 +75,7 @@ void DesktopItemDelegate::paint(QPainter* painter, const QStyleOptionViewItem& o
} }
// draw text // draw text
QSize gridSize = view_->gridSize() - QSize(6, 6); QSize gridSize = view_->gridSize() - 2 * margins_;
QRectF textRect(opt.rect.x() - (gridSize.width() - opt.rect.width()) / 2, QRectF textRect(opt.rect.x() - (gridSize.width() - opt.rect.width()) / 2,
opt.rect.y() + opt.decorationSize.height(), opt.rect.y() + opt.decorationSize.height(),
gridSize.width(), gridSize.width(),
@ -133,10 +134,22 @@ void DesktopItemDelegate::drawText(QPainter* painter, QStyleOptionViewItemV4& op
return; return;
} }
if((opt.state & QStyle::State_Selected) && opt.widget) { if (opt.state & QStyle::State_Selected || opt.state & QStyle::State_MouseOver) {
QPalette palette = opt.widget->palette(); if (const QWidget* widget = opt.widget) { // let the style engine do it
QStyle* style = widget->style() ? widget->style() : qApp->style();
QStyleOptionViewItemV4 o(opt);
o.text = QString();
o.rect = selRect.toAlignedRect().intersected(opt.rect); // due to clipping and rounding, we might lose 1px
o.showDecorationSelected = true;
style->drawPrimitive(QStyle::PE_PanelItemViewItem, &o, painter, widget);
}
}
if((opt.state & QStyle::State_Selected)) {
// qDebug("w: %f, h:%f, m:%f", boundRect.width(), boundRect.height(), layout.minimumWidth()); // qDebug("w: %f, h:%f, m:%f", boundRect.width(), boundRect.height(), layout.minimumWidth());
painter->fillRect(selRect, palette.highlight()); if(!opt.widget)
painter->fillRect(selRect, opt.palette.highlight());
painter->setPen(opt.palette.color(QPalette::Normal, QPalette::HighlightedText));
} }
else { // only draw shadow for non-selected items else { // only draw shadow for non-selected items
// draw shadow, FIXME: is it possible to use QGraphicsDropShadowEffect here? // draw shadow, FIXME: is it possible to use QGraphicsDropShadowEffect here?
@ -177,8 +190,7 @@ QSize DesktopItemDelegate::sizeHint(const QStyleOptionViewItem& option, const QM
opt.decorationAlignment = Qt::AlignHCenter|Qt::AlignTop; opt.decorationAlignment = Qt::AlignHCenter|Qt::AlignTop;
opt.displayAlignment = Qt::AlignTop|Qt::AlignHCenter; opt.displayAlignment = Qt::AlignTop|Qt::AlignHCenter;
QSize gridSize = view_->gridSize() QSize gridSize = view_->gridSize() - 2 * margins_;
- QSize(6, 6); // a 6-px margin is added at FolderView::updateGridSize()
Q_ASSERT(gridSize != QSize()); Q_ASSERT(gridSize != QSize());
QRectF textRect(0, 0, gridSize.width(), gridSize.height() - opt.decorationSize.height()); QRectF textRect(0, 0, gridSize.width(), gridSize.height() - opt.decorationSize.height());
drawText(NULL, opt, textRect); // passing NULL for painter will calculate the bounding rect only. drawText(NULL, opt, textRect); // passing NULL for painter will calculate the bounding rect only.

@ -45,6 +45,9 @@ public:
const QColor& shadowColor() const { const QColor& shadowColor() const {
return shadowColor_; return shadowColor_;
} }
void setMargins(QSize margins) {
margins_ = margins.expandedTo(QSize(0, 0));
}
private: private:
void drawText(QPainter* painter, QStyleOptionViewItemV4& opt, QRectF& textRect) const; void drawText(QPainter* painter, QStyleOptionViewItemV4& opt, QRectF& textRect) const;
@ -53,6 +56,7 @@ private:
QListView* view_; QListView* view_;
QIcon symlinkIcon_; QIcon symlinkIcon_;
QColor shadowColor_; QColor shadowColor_;
QSize margins_;
}; };
} }

@ -87,6 +87,10 @@ DesktopPreferencesDialog::DesktopPreferencesDialog(QWidget* parent, Qt::WindowFl
connect(ui.buttonBox->button(QDialogButtonBox::Apply), &QPushButton::clicked, connect(ui.buttonBox->button(QDialogButtonBox::Apply), &QPushButton::clicked,
this, &DesktopPreferencesDialog::onApplyClicked); this, &DesktopPreferencesDialog::onApplyClicked);
ui.hMargin->setValue(settings.desktopCellMargins().width());
ui.vMargin->setValue(settings.desktopCellMargins().height());
connect(ui.lockMargins, &QAbstractButton::clicked, this, &DesktopPreferencesDialog::lockMargins);
} }
DesktopPreferencesDialog::~DesktopPreferencesDialog() { DesktopPreferencesDialog::~DesktopPreferencesDialog() {
@ -108,6 +112,16 @@ void DesktopPreferencesDialog::setupDesktopFolderUi()
this, &DesktopPreferencesDialog::onBrowseDesktopFolderClicked); this, &DesktopPreferencesDialog::onBrowseDesktopFolderClicked);
} }
void DesktopPreferencesDialog::lockMargins(bool lock) {
ui.vMargin->setDisabled(lock);
if(lock) {
ui.vMargin->setValue(ui.hMargin->value());
connect(ui.hMargin, static_cast<void (QSpinBox::*)(int)>(&QSpinBox::valueChanged), ui.vMargin, &QSpinBox::setValue);
}
else
disconnect(ui.hMargin, static_cast<void (QSpinBox::*)(int)>(&QSpinBox::valueChanged), ui.vMargin, &QSpinBox::setValue);
}
void DesktopPreferencesDialog::applySettings() void DesktopPreferencesDialog::applySettings()
{ {
Settings& settings = static_cast<Application*>(qApp)->settings(); Settings& settings = static_cast<Application*>(qApp)->settings();
@ -123,6 +137,7 @@ void DesktopPreferencesDialog::applySettings()
settings.setDesktopFgColor(ui.textColor->color()); settings.setDesktopFgColor(ui.textColor->color());
settings.setDesktopShadowColor(ui.shadowColor->color()); settings.setDesktopShadowColor(ui.shadowColor->color());
settings.setShowWmMenu(ui.showWmMenu->isChecked()); settings.setShowWmMenu(ui.showWmMenu->isChecked());
settings.setDesktopCellMargins(QSize(ui.hMargin->value(), ui.vMargin->value()));
settings.save(); settings.save();
} }

@ -47,6 +47,7 @@ protected Q_SLOTS:
void onWallpaperModeChanged(int index); void onWallpaperModeChanged(int index);
void onBrowseClicked(); void onBrowseClicked();
void onBrowseDesktopFolderClicked(); void onBrowseDesktopFolderClicked();
void lockMargins(bool lock);
void applySettings(); void applySettings();

@ -344,7 +344,8 @@ void DesktopWindow::updateFromSettings(Settings& settings) {
setWallpaperMode(settings.wallpaperMode()); setWallpaperMode(settings.wallpaperMode());
setFont(settings.desktopFont()); setFont(settings.desktopFont());
setIconSize(Fm::FolderView::IconMode, QSize(settings.bigIconSize(), settings.bigIconSize())); setIconSize(Fm::FolderView::IconMode, QSize(settings.bigIconSize(), settings.bigIconSize()));
// setIconSize may trigger relayout of items by QListView, so we need to do the layout again. setMargins(settings.desktopCellMargins());
// setIconSize and setMargins may trigger relayout of items by QListView, so we need to do the layout again.
queueRelayout(); queueRelayout();
setForeground(settings.desktopFgColor()); setForeground(settings.desktopFgColor());
setBackground(settings.desktopBgColor()); setBackground(settings.desktopBgColor());
@ -441,8 +442,8 @@ void DesktopWindow::onIndexesMoved(const QModelIndexList& indexes) {
workArea.adjust(12, 12, -12, -12); workArea.adjust(12, 12, -12, -12);
if(customItemPos_.keys(tl).isEmpty() // don't put items on each other if(customItemPos_.keys(tl).isEmpty() // don't put items on each other
&& tl.x() >= workArea.x() && tl.y() >= workArea.y() && tl.x() >= workArea.x() && tl.y() >= workArea.y()
&& tl.x() + listView_->gridSize().width() <= workArea.right() && tl.x() + listView_->gridSize().width() <= workArea.right() + 1 // for historical reasons (-> Qt doc)
&& tl.y() + listView_->gridSize().height() <= workArea.bottom()) { && tl.y() + listView_->gridSize().height() <= workArea.bottom() + 1) { // as above
QByteArray name = fm_file_info_get_name(file); QByteArray name = fm_file_info_get_name(file);
customItemPos_[name] = tl; customItemPos_[name] = tl;
// qDebug() << "indexMoved:" << name << index << itemRect; // qDebug() << "indexMoved:" << name << index << itemRect;
@ -453,6 +454,48 @@ void DesktopWindow::onIndexesMoved(const QModelIndexList& indexes) {
queueRelayout(); queueRelayout();
} }
void DesktopWindow::removeBottomGap() {
/************************************************************
NOTE: Desktop is an area bounded from below while icons snap
to its grid srarting from above. Therefore, we try to adjust
the vertical cell margin to prevent relatively large gaps
from taking shape at the desktop bottom.
************************************************************/
QSize cellMargins = getMargins();
int workAreaHeight = qApp->desktop()->availableGeometry(screenNum_).height()
- 24; // a 12-pix margin will be considered everywhere
int cellHeight = listView_->gridSize().height() + listView_->spacing();
int iconNumber = workAreaHeight / cellHeight;
int bottomGap = workAreaHeight % cellHeight;
/*******************************************
First try to make room for an extra icon...
*******************************************/
// If one pixel is subtracted from the vertical margin, cellHeight
// will decrease by 2 while bottomGap will increase by 2*iconNumber.
// So, we can add an icon to the bottom once this inequality holds:
// bottomGap + 2*n*iconNumber >= cellHeight - 2*n
// From here, we get our "subtrahend":
qreal exactNumber = ((qreal)cellHeight - (qreal)bottomGap)
/ (2.0 * (qreal)iconNumber + 2.0);
int subtrahend = (int)exactNumber + ((int)exactNumber == exactNumber ? 0 : 1);
Settings& settings = static_cast<Application*>(qApp)->settings();
int minCellHeight = settings.desktopCellMargins().height();
if(subtrahend > 0
&& cellMargins.height() - subtrahend >= minCellHeight) {
cellMargins -= QSize(0, subtrahend);
}
/***************************************************
... but if that can't be done, try to spread icons!
***************************************************/
else
cellMargins += QSize(0, (bottomGap / iconNumber) / 2);
// set the new margins (if they're changed)
delegate_->setMargins(cellMargins);
setMargins(cellMargins);
// in case the text shadow is reset to (0,0,0,0)
setShadow(settings.desktopShadowColor());
}
// QListView does item layout in a very inflexible way, so let's do our custom layout again. // QListView does item layout in a very inflexible way, so let's do our custom layout again.
// FIXME: this is very inefficient, but due to the design flaw of QListView, this is currently the only workaround. // FIXME: this is very inefficient, but due to the design flaw of QListView, this is currently the only workaround.
void DesktopWindow::relayoutItems() { void DesktopWindow::relayoutItems() {
@ -513,13 +556,13 @@ void DesktopWindow::relayoutItems() {
} }
// move to next cell in the column // move to next cell in the column
pos.setY(pos.y() + grid.height() + listView_->spacing()); pos.setY(pos.y() + grid.height() + listView_->spacing());
if(pos.y() + grid.height() > workArea.bottom()) { if(pos.y() + grid.height() > workArea.bottom() + 1) {
// if the next position may exceed the bottom of work area, go to the top of next column // if the next position may exceed the bottom of work area, go to the top of next column
pos.setX(pos.x() + grid.width() + listView_->spacing()); pos.setX(pos.x() + grid.width() + listView_->spacing());
pos.setY(workArea.top()); pos.setY(workArea.top());
// check if the new column exceeds the right margin of work area // check if the new column exceeds the right margin of work area
if(pos.x() + grid.width() > workArea.right()) { if(pos.x() + grid.width() > workArea.right() + 1) {
if(desktop->isVirtualDesktop()) { if(desktop->isVirtualDesktop()) {
// in virtual desktop mode, go to next screen // in virtual desktop mode, go to next screen
++screen; ++screen;
@ -555,8 +598,8 @@ void DesktopWindow::loadItemPositions() {
if(var.isValid()) { if(var.isValid()) {
QPoint customPos = var.toPoint(); QPoint customPos = var.toPoint();
if (customPos.x() >= workArea.x() && customPos.y() >= workArea.y() if (customPos.x() >= workArea.x() && customPos.y() >= workArea.y()
&& customPos.x() + listView_->gridSize().width() <= workArea.right() && customPos.x() + listView_->gridSize().width() <= workArea.right() + 1
&& customPos.y() + listView_->gridSize().height() <= workArea.bottom()) && customPos.y() + listView_->gridSize().height() <= workArea.bottom() + 1)
{ {
// correct positions that are't aligned to the grid // correct positions that are't aligned to the grid
qreal w = qAbs((qreal)customPos.x() - (qreal)workArea.x()) qreal w = qAbs((qreal)customPos.x() - (qreal)workArea.x())
@ -567,7 +610,7 @@ void DesktopWindow::loadItemPositions() {
customPos.setY(workArea.y() + qRound(h) * (grid.height() + listView_->spacing())); customPos.setY(workArea.y() + qRound(h) * (grid.height() + listView_->spacing()));
while(customItemPos_.values().contains(customPos)) { while(customItemPos_.values().contains(customPos)) {
customPos.setY(customPos.y() + grid.height() + listView_->spacing()); customPos.setY(customPos.y() + grid.height() + listView_->spacing());
if(customPos.y() + grid.height() > workArea.bottom()) { if(customPos.y() + grid.height() > workArea.bottom() + 1) {
customPos.setX(customPos.x() + grid.width() + listView_->spacing()); customPos.setX(customPos.x() + grid.width() + listView_->spacing());
customPos.setY(workArea.top()); customPos.setY(workArea.top());
} }
@ -625,6 +668,7 @@ void DesktopWindow::onStickToCurrentPos(bool toggled) {
void DesktopWindow::queueRelayout(int delay) { void DesktopWindow::queueRelayout(int delay) {
// qDebug() << "queueRelayout"; // qDebug() << "queueRelayout";
removeBottomGap();
if(!relayoutTimer_) { if(!relayoutTimer_) {
relayoutTimer_ = new QTimer(); relayoutTimer_ = new QTimer();
relayoutTimer_->setSingleShot(true); relayoutTimer_->setSingleShot(true);

@ -113,6 +113,9 @@ protected Q_SLOTS:
void onDeleteActivated(); void onDeleteActivated();
void onFilePropertiesActivated(); void onFilePropertiesActivated();
private:
void removeBottomGap();
private: private:
Fm::ProxyFolderModel* proxyModel_; Fm::ProxyFolderModel* proxyModel_;
Fm::CachedFolderModel* model_; Fm::CachedFolderModel* model_;

@ -92,6 +92,9 @@
<property name="clearButtonEnabled"> <property name="clearButtonEnabled">
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="toolTip">
<string>Focus with Ctrl+I</string>
</property>
</widget> </widget>
</item> </item>
</layout> </layout>
@ -167,6 +170,7 @@
<addaction name="separator"/> <addaction name="separator"/>
<addaction name="menuSorting"/> <addaction name="menuSorting"/>
<addaction name="actionFilter"/> <addaction name="actionFilter"/>
<addaction name="actionMenu_bar"/>
</widget> </widget>
<widget class="QMenu" name="menu_Editw"> <widget class="QMenu" name="menu_Editw">
<property name="title"> <property name="title">
@ -244,6 +248,8 @@
<addaction name="actionGoUp"/> <addaction name="actionGoUp"/>
<addaction name="actionReload"/> <addaction name="actionReload"/>
<addaction name="actionGo"/> <addaction name="actionGo"/>
<addaction name="separator"/>
<addaction name="actionMenu"/>
</widget> </widget>
<action name="actionGoUp"> <action name="actionGoUp">
<property name="icon"> <property name="icon">
@ -636,6 +642,9 @@
<property name="text"> <property name="text">
<string>&amp;Close Window</string> <string>&amp;Close Window</string>
</property> </property>
<property name="shortcut">
<string>Ctrl+Q</string>
</property>
</action> </action>
<action name="actionEdit_Bookmarks"> <action name="actionEdit_Bookmarks">
<property name="text"> <property name="text">
@ -699,6 +708,9 @@
<property name="text"> <property name="text">
<string>&amp;Filter</string> <string>&amp;Filter</string>
</property> </property>
<property name="shortcut">
<string>Ctrl+B</string>
</property>
</action> </action>
<action name="actionCloseLeft"> <action name="actionCloseLeft">
<property name="icon"> <property name="icon">
@ -723,6 +735,31 @@
<string>Close &amp;other tabs</string> <string>Close &amp;other tabs</string>
</property> </property>
</action> </action>
<action name="actionMenu_bar">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>Menu bar</string>
</property>
<property name="toolTip">
<string>Menu bar</string>
</property>
<property name="shortcut">
<string>Ctrl+M</string>
</property>
</action>
<action name="actionMenu">
<property name="icon">
<iconset theme="application-menu"/>
</property>
<property name="text">
<string>Menu</string>
</property>
<property name="toolTip">
<string>Menu</string>
</property>
</action>
</widget> </widget>
<customwidgets> <customwidgets>
<customwidget> <customwidget>

@ -85,6 +85,10 @@ MainWindow::MainWindow(FmPath* path):
ui.tabBar->setElideMode(Qt::ElideRight); ui.tabBar->setElideMode(Qt::ElideRight);
ui.tabBar->setExpanding(false); ui.tabBar->setExpanding(false);
ui.tabBar->setMovable(true); // reorder the tabs by dragging ui.tabBar->setMovable(true); // reorder the tabs by dragging
if(!settings.fullWidthTabBar()) {
ui.verticalLayout->removeWidget(ui.tabBar);
ui.verticalLayout_2->insertWidget(0, ui.tabBar);
}
#if QT_VERSION >= QT_VERSION_CHECK(5, 4, 0) #if QT_VERSION >= QT_VERSION_CHECK(5, 4, 0)
// switch to the tab under the cursor during dnd. // switch to the tab under the cursor during dnd.
@ -164,13 +168,44 @@ MainWindow::MainWindow(FmPath* path):
group->addAction(ui.actionAscending); group->addAction(ui.actionAscending);
group->addAction(ui.actionDescending); group->addAction(ui.actionDescending);
// Add menubar actions to the main window this is necessary so that actions
// shortcuts are still working when the menubar is hidden.
addActions(ui.menubar->actions());
// Show or hide the menu bar
QMenu *menu = new QMenu();
menu->addMenu(ui.menu_File);
menu->addMenu(ui.menu_Editw);
menu->addMenu(ui.menu_View);
menu->addMenu(ui.menu_Go);
menu->addMenu(ui.menu_Bookmarks);
menu->addMenu(ui.menu_Tool);
menu->addMenu(ui.menu_Help);
ui.actionMenu->setMenu(menu);
if(ui.actionMenu->icon().isNull())
ui.actionMenu->setIcon(QIcon::fromTheme("applications-system"));
QList<QToolButton *> list = ui.toolBar->findChildren<QToolButton *>();
if (!list.isEmpty())
list.at(list.count() - 1)->setPopupMode(QToolButton::InstantPopup);
Q_FOREACH(QAction *action, ui.toolBar->actions()) {
if(action->isSeparator())
action->setVisible(!settings.showMenuBar());
}
ui.actionMenu->setVisible(!settings.showMenuBar());
ui.menubar->setVisible(settings.showMenuBar());
ui.actionMenu_bar->setChecked(settings.showMenuBar());
connect(ui.actionMenu_bar, &QAction::triggered, this, &MainWindow::toggleMenuBar);
// create shortcuts // create shortcuts
QShortcut* shortcut; QShortcut* shortcut;
shortcut = new QShortcut(QKeySequence(Qt::Key_Escape), this);
connect(shortcut, &QShortcut::activated, this, &MainWindow::onResetFocus);
shortcut = new QShortcut(QKeySequence(Qt::CTRL + Qt::Key_L), this); shortcut = new QShortcut(QKeySequence(Qt::CTRL + Qt::Key_L), this);
connect(shortcut, &QShortcut::activated, pathEntry, static_cast<void (QWidget::*)()>(&Fm::PathEdit::setFocus)); connect(shortcut, &QShortcut::activated, this, &MainWindow::focusPathEntry);
shortcut = new QShortcut(Qt::ALT + Qt::Key_D, this); shortcut = new QShortcut(Qt::ALT + Qt::Key_D, this);
connect(shortcut, &QShortcut::activated, pathEntry, static_cast<void (QWidget::*)()>(&QWidget::setFocus)); connect(shortcut, &QShortcut::activated, this, &MainWindow::focusPathEntry);
shortcut = new QShortcut(Qt::CTRL + Qt::Key_Tab, this); shortcut = new QShortcut(Qt::CTRL + Qt::Key_Tab, this);
connect(shortcut, &QShortcut::activated, this, &MainWindow::onShortcutNextTab); connect(shortcut, &QShortcut::activated, this, &MainWindow::onShortcutNextTab);
@ -202,6 +237,13 @@ MainWindow::MainWindow(FmPath* path):
shortcut = new QShortcut(QKeySequence(Qt::SHIFT + Qt::Key_Delete), this); shortcut = new QShortcut(QKeySequence(Qt::SHIFT + Qt::Key_Delete), this);
connect(shortcut, &QShortcut::activated, this, &MainWindow::on_actionDelete_triggered); connect(shortcut, &QShortcut::activated, this, &MainWindow::on_actionDelete_triggered);
shortcut = new QShortcut(QKeySequence(Qt::CTRL + Qt::Key_I), this);
connect(shortcut, &QShortcut::activated, this, &MainWindow::focusFilterBar);
// in addition to F3, for convenience
shortcut = new QShortcut(QKeySequence(Qt::CTRL + Qt::Key_F), this);
connect(shortcut, &QShortcut::activated, ui.actionFindFiles, &QAction::trigger);
if(QToolButton* clearButton = ui.filterBar->findChild<QToolButton*>()) { if(QToolButton* clearButton = ui.filterBar->findChild<QToolButton*>()) {
clearButton->setToolTip(tr("Clear text (Ctrl+K)")); clearButton->setToolTip(tr("Clear text (Ctrl+K)"));
shortcut = new QShortcut(Qt::CTRL + Qt::Key_K, this); shortcut = new QShortcut(Qt::CTRL + Qt::Key_K, this);
@ -237,7 +279,7 @@ void MainWindow::chdir(FmPath* path) {
} }
// add a new tab // add a new tab
void MainWindow::addTab(FmPath* path) { int MainWindow::addTab(FmPath* path) {
Settings& settings = static_cast<Application*>(qApp)->settings(); Settings& settings = static_cast<Application*>(qApp)->settings();
TabPage* newPage = new TabPage(path, this); TabPage* newPage = new TabPage(path, this);
@ -255,6 +297,32 @@ void MainWindow::addTab(FmPath* path) {
if(!settings.alwaysShowTabs()) { if(!settings.alwaysShowTabs()) {
ui.tabBar->setVisible(ui.tabBar->count() > 1); ui.tabBar->setVisible(ui.tabBar->count() > 1);
} }
return index;
}
void MainWindow::toggleMenuBar(bool checked) {
Settings& settings = static_cast<Application*>(qApp)->settings();
bool showMenuBar = !settings.showMenuBar();
if (!showMenuBar) {
if (QMessageBox::Cancel == QMessageBox::warning(this,
tr("Hide menu bar"),
tr("This will hide the menu bar completely, use Ctrl+M to show it again."),
QMessageBox::Ok | QMessageBox::Cancel)) {
ui.actionMenu_bar->setChecked(true);
return;
}
}
ui.menubar->setVisible(showMenuBar);
ui.actionMenu_bar->setChecked(showMenuBar);
Q_FOREACH(QAction *action, ui.toolBar->actions()) {
if(action->isSeparator())
action->setVisible(!showMenuBar);
}
ui.actionMenu->setVisible(!showMenuBar);
settings.setShowMenuBar(showMenuBar);
} }
void MainWindow::onPathEntryReturnPressed() { void MainWindow::onPathEntryReturnPressed() {
@ -309,7 +377,8 @@ void MainWindow::on_actionGo_triggered() {
void MainWindow::on_actionNewTab_triggered() { void MainWindow::on_actionNewTab_triggered() {
FmPath* path = currentPage()->path(); FmPath* path = currentPage()->path();
addTab(path); int index = addTab(path);
ui.tabBar->setCurrentIndex(index);
} }
void MainWindow::on_actionNewWin_triggered() { void MainWindow::on_actionNewWin_triggered() {
@ -418,6 +487,21 @@ void MainWindow::on_actionFolderFirst_triggered(bool checked) {
void MainWindow::on_actionFilter_triggered(bool checked) { void MainWindow::on_actionFilter_triggered(bool checked) {
ui.filterBar->setVisible(checked); ui.filterBar->setVisible(checked);
if(checked)
ui.filterBar->setFocus();
else if(TabPage* tabPage = currentPage()) {
ui.filterBar->clear();
tabPage->folderView()->childView()->setFocus();
// clear filter string for all tabs
int n = ui.stackedWidget->count();
for(int i = 0; i < n; ++i) {
TabPage* page = static_cast<TabPage*>(ui.stackedWidget->widget(i));
if(!page->getFilterStr().isEmpty()) {
page->setFilterStr(QString());
page->applyFilter();
}
}
}
static_cast<Application*>(qApp)->settings().setShowFilter(checked); static_cast<Application*>(qApp)->settings().setShowFilter(checked);
} }
@ -499,6 +583,12 @@ void MainWindow::onTabBarCloseRequested(int index) {
closeTab(index); closeTab(index);
} }
void MainWindow::onResetFocus() {
if(TabPage* page = currentPage()) {
currentPage()->folderView()->childView()->setFocus();
}
}
void MainWindow::onTabBarTabMoved(int from, int to) { void MainWindow::onTabBarTabMoved(int from, int to) {
// a tab in the tab bar is moved by the user, so we have to move the // a tab in the tab bar is moved by the user, so we have to move the
// corredponding tab page in the stacked widget to the new position, too. // corredponding tab page in the stacked widget to the new position, too.
@ -515,6 +605,13 @@ void MainWindow::onTabBarTabMoved(int from, int to) {
} }
} }
void MainWindow::focusFilterBar() {
if(!ui.filterBar->isVisible())
ui.actionFilter->trigger();
else
ui.filterBar->setFocus();
}
void MainWindow::onFilterStringChanged(QString str) { void MainWindow::onFilterStringChanged(QString str) {
if(TabPage* tabPage = currentPage()) { if(TabPage* tabPage = currentPage()) {
// appy filter only if needed (not if tab is changed) // appy filter only if needed (not if tab is changed)
@ -951,6 +1048,13 @@ void MainWindow::closeRightTabs() {
closeTab(rightClickIndex + 1); closeTab(rightClickIndex + 1);
} }
void MainWindow::focusPathEntry() {
if(pathEntry != nullptr) {
pathEntry->setFocus();
pathEntry->selectAll();
}
}
void MainWindow::updateFromSettings(Settings& settings) { void MainWindow::updateFromSettings(Settings& settings) {
// apply settings // apply settings
@ -963,9 +1067,16 @@ void MainWindow::updateFromSettings(Settings& settings) {
// tabs // tabs
ui.tabBar->setTabsClosable(settings.showTabClose()); ui.tabBar->setTabsClosable(settings.showTabClose());
ui.tabBar->setVisible(settings.alwaysShowTabs() || (ui.tabBar->count() > 1));
if(!settings.alwaysShowTabs()) { if(ui.verticalLayout->indexOf(ui.tabBar) > -1) {
ui.tabBar->setVisible(ui.tabBar->count() > 1); if(!settings.fullWidthTabBar()) {
ui.verticalLayout->removeWidget(ui.tabBar);
ui.verticalLayout_2->insertWidget(0, ui.tabBar);
}
}
else if (ui.verticalLayout_2->indexOf(ui.tabBar) > -1 && settings.fullWidthTabBar()) {
ui.verticalLayout_2->removeWidget(ui.tabBar);
ui.verticalLayout->insertWidget(0, ui.tabBar);
} }
// all tab pages // all tab pages

@ -45,7 +45,7 @@ public:
virtual ~MainWindow(); virtual ~MainWindow();
void chdir(FmPath* path); void chdir(FmPath* path);
void addTab(FmPath* path); int addTab(FmPath* path);
TabPage* currentPage() { TabPage* currentPage() {
return reinterpret_cast<TabPage*>(ui.stackedWidget->currentWidget()); return reinterpret_cast<TabPage*>(ui.stackedWidget->currentWidget());
@ -120,6 +120,7 @@ protected Q_SLOTS:
void onTabBarCurrentChanged(int index); void onTabBarCurrentChanged(int index);
void onTabBarTabMoved(int from, int to); void onTabBarTabMoved(int from, int to);
void focusFilterBar();
void onFilterStringChanged(QString str); void onFilterStringChanged(QString str);
void onShortcutPrevTab(); void onShortcutPrevTab();
@ -140,6 +141,7 @@ protected Q_SLOTS:
void onSidePaneCreateNewFolderRequested(FmPath* path); void onSidePaneCreateNewFolderRequested(FmPath* path);
void onSidePaneModeChanged(Fm::SidePane::Mode mode); void onSidePaneModeChanged(Fm::SidePane::Mode mode);
void onSplitterMoved(int pos, int index); void onSplitterMoved(int pos, int index);
void onResetFocus();
void onBackForwardContextMenu(QPoint pos); void onBackForwardContextMenu(QPoint pos);
@ -150,6 +152,8 @@ protected Q_SLOTS:
closeLeftTabs(); closeLeftTabs();
closeRightTabs(); closeRightTabs();
} }
void focusPathEntry();
void toggleMenuBar(bool checked);
protected: protected:
// void changeEvent( QEvent * event); // void changeEvent( QEvent * event);

@ -291,22 +291,22 @@
<property name="title"> <property name="title">
<string>User interface</string> <string>User interface</string>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_8"> <layout class="QGridLayout" name="gridLayout">
<item> <item row="0" column="0" colspan="6">
<widget class="QCheckBox" name="siUnit"> <widget class="QCheckBox" name="siUnit">
<property name="text"> <property name="text">
<string>Use SI decimal prefixes instead of IEC binary prefixes</string> <string>Use SI decimal prefixes instead of IEC binary prefixes</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="1" column="0" colspan="6">
<widget class="QCheckBox" name="backupAsHidden"> <widget class="QCheckBox" name="backupAsHidden">
<property name="text"> <property name="text">
<string>Treat backup files as hidden</string> <string>Treat backup files as hidden</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="2" column="0" colspan="6">
<widget class="QCheckBox" name="showFullNames"> <widget class="QCheckBox" name="showFullNames">
<property name="enabled"> <property name="enabled">
<bool>false</bool> <bool>false</bool>
@ -316,7 +316,7 @@
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="3" column="0" colspan="6">
<widget class="QCheckBox" name="shadowHidden"> <widget class="QCheckBox" name="shadowHidden">
<property name="enabled"> <property name="enabled">
<bool>false</bool> <bool>false</bool>
@ -326,6 +326,89 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="4" column="0">
<spacer name="verticalSpacer_7">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>5</height>
</size>
</property>
</spacer>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label_15">
<property name="text">
<string>Minimum item margins in icon view:</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QSpinBox" name="hMargin">
<property name="toolTip">
<string>3 px by default.</string>
</property>
<property name="suffix">
<string> px</string>
</property>
<property name="maximum">
<number>48</number>
</property>
<property name="value">
<number>3</number>
</property>
</widget>
</item>
<item row="5" column="2">
<widget class="QLabel" name="label_16">
<property name="text">
<string>x</string>
</property>
</widget>
</item>
<item row="5" column="3">
<widget class="QSpinBox" name="vMargin">
<property name="toolTip">
<string>3 px by default.
A space is also reserved for 3 lines of text.</string>
</property>
<property name="suffix">
<string> px</string>
</property>
<property name="maximum">
<number>48</number>
</property>
<property name="value">
<number>3</number>
</property>
</widget>
</item>
<item row="5" column="4">
<widget class="QCheckBox" name="lockMargins">
<property name="text">
<string>Lock</string>
</property>
</widget>
</item>
<item row="5" column="5">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>5</height>
</size>
</property>
</spacer>
</item>
</layout> </layout>
</widget> </widget>
</item> </item>
@ -363,47 +446,58 @@
</widget> </widget>
</item> </item>
<item row="1" column="0" colspan="2"> <item row="1" column="0" colspan="2">
<widget class="QCheckBox" name="fullWidthTabbar">
<property name="toolTip">
<string>If unchecked, the tab bar will be positioned only
above the folder-view and not above the left pane.</string>
</property>
<property name="text">
<string>Fullwidth tab bar</string>
</property>
</widget>
</item>
<item row="2" column="0" colspan="2">
<widget class="QCheckBox" name="showTabClose"> <widget class="QCheckBox" name="showTabClose">
<property name="text"> <property name="text">
<string>Show 'Close' buttons on tabs </string> <string>Show 'Close' buttons on tabs </string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="0" colspan="2"> <item row="3" column="0" colspan="2">
<widget class="QCheckBox" name="rememberWindowSize"> <widget class="QCheckBox" name="rememberWindowSize">
<property name="text"> <property name="text">
<string>Remember the size of the last closed window</string> <string>Remember the size of the last closed window</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="3" column="0"> <item row="4" column="0">
<widget class="QLabel" name="label_12"> <widget class="QLabel" name="label_12">
<property name="text"> <property name="text">
<string>Default width of new windows:</string> <string>Default width of new windows:</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="4" column="0"> <item row="4" column="1">
<widget class="QSpinBox" name="fixedWindowWidth">
<property name="maximum">
<number>32768</number>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label_13"> <widget class="QLabel" name="label_13">
<property name="text"> <property name="text">
<string>Default height of new windows:</string> <string>Default height of new windows:</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="4" column="1"> <item row="5" column="1">
<widget class="QSpinBox" name="fixedWindowHeight"> <widget class="QSpinBox" name="fixedWindowHeight">
<property name="maximum"> <property name="maximum">
<number>32768</number> <number>32768</number>
</property> </property>
</widget> </widget>
</item> </item>
<item row="3" column="1">
<widget class="QSpinBox" name="fixedWindowWidth">
<property name="maximum">
<number>32768</number>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
</item> </item>

@ -45,13 +45,7 @@ PreferencesDialog::PreferencesDialog (QString activePage, QWidget* parent):
initFromSettings(); initFromSettings();
if(!activePage.isEmpty()) { selectPage(activePage);
QWidget* page = findChild<QWidget*>(activePage + "Page");
if(page) {
int index = ui.stackedWidget->indexOf(page);
ui.listWidget->setCurrentRow(index);
}
}
adjustSize(); adjustSize();
} }
@ -118,6 +112,10 @@ void PreferencesDialog::initIconThemes(Settings& settings) {
ui.iconThemeLabel->hide(); ui.iconThemeLabel->hide();
ui.iconTheme->hide(); ui.iconTheme->hide();
} }
ui.hMargin->setValue(settings.folderViewCellMargins().width());
ui.vMargin->setValue(settings.folderViewCellMargins().height());
connect(ui.lockMargins, &QAbstractButton::clicked, this, &PreferencesDialog::lockMargins);
} }
void PreferencesDialog::initArchivers(Settings& settings) { void PreferencesDialog::initArchivers(Settings& settings) {
@ -172,6 +170,7 @@ void PreferencesDialog::initDisplayPage(Settings& settings) {
void PreferencesDialog::initUiPage(Settings& settings) { void PreferencesDialog::initUiPage(Settings& settings) {
ui.alwaysShowTabs->setChecked(settings.alwaysShowTabs()); ui.alwaysShowTabs->setChecked(settings.alwaysShowTabs());
ui.fullWidthTabbar->setChecked(settings.fullWidthTabBar());
ui.showTabClose->setChecked(settings.showTabClose()); ui.showTabClose->setChecked(settings.showTabClose());
ui.rememberWindowSize->setChecked(settings.rememberWindowSize()); ui.rememberWindowSize->setChecked(settings.rememberWindowSize());
ui.fixedWindowWidth->setValue(settings.fixedWindowWidth()); ui.fixedWindowWidth->setValue(settings.fixedWindowWidth());
@ -289,10 +288,12 @@ void PreferencesDialog::applyDisplayPage(Settings& settings) {
settings.setBackupAsHidden(ui.backupAsHidden->isChecked()); settings.setBackupAsHidden(ui.backupAsHidden->isChecked());
settings.setShowFullNames(ui.showFullNames->isChecked()); settings.setShowFullNames(ui.showFullNames->isChecked());
settings.setShadowHidden(ui.shadowHidden->isChecked()); settings.setShadowHidden(ui.shadowHidden->isChecked());
settings.setFolderViewCellMargins(QSize(ui.hMargin->value(), ui.vMargin->value()));
} }
void PreferencesDialog::applyUiPage(Settings& settings) { void PreferencesDialog::applyUiPage(Settings& settings) {
settings.setAlwaysShowTabs(ui.alwaysShowTabs->isChecked()); settings.setAlwaysShowTabs(ui.alwaysShowTabs->isChecked());
settings.setFullWidthTabBar(ui.fullWidthTabbar->isChecked());
settings.setShowTabClose(ui.showTabClose->isChecked()); settings.setShowTabClose(ui.showTabClose->isChecked());
settings.setRememberWindowSize(ui.rememberWindowSize->isChecked()); settings.setRememberWindowSize(ui.rememberWindowSize->isChecked());
settings.setFixedWindowWidth(ui.fixedWindowWidth->value()); settings.setFixedWindowWidth(ui.fixedWindowWidth->value());
@ -362,4 +363,24 @@ void PreferencesDialog::accept() {
QDialog::accept(); QDialog::accept();
} }
void PreferencesDialog::selectPage(QString name) {
if(!name.isEmpty()) {
QWidget* page = findChild<QWidget*>(name + "Page");
if(page) {
int index = ui.stackedWidget->indexOf(page);
ui.listWidget->setCurrentRow(index);
}
}
}
void PreferencesDialog::lockMargins(bool lock) {
ui.vMargin->setDisabled(lock);
if(lock) {
ui.vMargin->setValue(ui.hMargin->value());
connect(ui.hMargin, static_cast<void (QSpinBox::*)(int)>(&QSpinBox::valueChanged), ui.vMargin, &QSpinBox::setValue);
}
else
disconnect(ui.hMargin, static_cast<void (QSpinBox::*)(int)>(&QSpinBox::valueChanged), ui.vMargin, &QSpinBox::setValue);
}
} // namespace PCManFM } // namespace PCManFM

@ -40,6 +40,11 @@ public:
virtual void accept(); virtual void accept();
void selectPage(QString name);
protected Q_SLOTS:
void lockMargins(bool lock);
private: private:
void initIconThemes(Settings& settings); void initIconThemes(Settings& settings);
void initArchivers(Settings& settings); void initArchivers(Settings& settings);

@ -79,6 +79,8 @@ Settings::Settings():
lastWindowMaximized_(false), lastWindowMaximized_(false),
splitterPos_(120), splitterPos_(120),
sidePaneMode_(Fm::SidePane::ModePlaces), sidePaneMode_(Fm::SidePane::ModePlaces),
showMenuBar_(true),
fullWidthTabBar_(true),
viewMode_(Fm::FolderView::IconMode), viewMode_(Fm::FolderView::IconMode),
showHidden_(false), showHidden_(false),
sortOrder_(Qt::AscendingOrder), sortOrder_(Qt::AscendingOrder),
@ -96,10 +98,19 @@ Settings::Settings():
showThumbnails_(true), showThumbnails_(true),
archiver_(), archiver_(),
siUnit_(false), siUnit_(false),
placesHome_(true),
placesDesktop_(true),
placesApplications_(true),
placesTrash_(true),
placesRoot_(true),
placesComputer_(true),
placesNetwork_(true),
bigIconSize_(48), bigIconSize_(48),
smallIconSize_(24), smallIconSize_(24),
sidePaneIconSize_(24), sidePaneIconSize_(24),
thumbnailIconSize_(128) { thumbnailIconSize_(128),
folderViewCellMargins_(QSize(3, 3)),
desktopCellMargins_(QSize(3, 1)) {
} }
Settings::~Settings() { Settings::~Settings() {
@ -154,7 +165,7 @@ bool Settings::loadFile(QString filePath) {
// the value from XSETTINGS instead of hard code a fallback value. // the value from XSETTINGS instead of hard code a fallback value.
fallbackIconThemeName_ = "elementary"; // fallback icon theme name fallbackIconThemeName_ = "elementary"; // fallback icon theme name
} }
suCommand_ = settings.value("SuCommand", "gksu %s").toString(); suCommand_ = settings.value("SuCommand", "lxqt-sudo %s").toString();
setTerminal(settings.value("Terminal", "xterm").toString()); setTerminal(settings.value("Terminal", "xterm").toString());
setArchiver(settings.value("Archiver", "file-roller").toString()); setArchiver(settings.value("Archiver", "file-roller").toString());
setSiUnit(settings.value("SIUnit", false).toBool()); setSiUnit(settings.value("SIUnit", false).toBool());
@ -194,6 +205,9 @@ bool Settings::loadFile(QString filePath) {
desktopSortOrder_ = sortOrderFromString(settings.value("SortOrder").toString()); desktopSortOrder_ = sortOrderFromString(settings.value("SortOrder").toString());
desktopSortColumn_ = sortColumnFromString(settings.value("SortColumn").toString()); desktopSortColumn_ = sortColumnFromString(settings.value("SortColumn").toString());
desktopCellMargins_ = (settings.value("DesktopCellMargins", QSize(3, 1)).toSize()
.expandedTo(QSize(0, 0))).boundedTo(QSize(48, 48));
settings.endGroup(); settings.endGroup();
settings.beginGroup("Volume"); settings.beginGroup("Volume");
@ -226,6 +240,19 @@ bool Settings::loadFile(QString filePath) {
smallIconSize_ = settings.value("SmallIconSize", 24).toInt(); smallIconSize_ = settings.value("SmallIconSize", 24).toInt();
sidePaneIconSize_ = settings.value("SidePaneIconSize", 24).toInt(); sidePaneIconSize_ = settings.value("SidePaneIconSize", 24).toInt();
thumbnailIconSize_ = settings.value("ThumbnailIconSize", 128).toInt(); thumbnailIconSize_ = settings.value("ThumbnailIconSize", 128).toInt();
folderViewCellMargins_ = (settings.value("FolderViewCellMargins", QSize(3, 3)).toSize()
.expandedTo(QSize(0, 0))).boundedTo(QSize(48, 48));
settings.endGroup();
settings.beginGroup("Places");
placesHome_ = settings.value("PlacesHome", true).toBool();
placesDesktop_ = settings.value("PlacesDesktop", true).toBool();
placesApplications_ = settings.value("PlacesApplications", true).toBool();
placesTrash_ = settings.value("PlacesTrash", true).toBool();
placesRoot_ = settings.value("PlacesRoot", true).toBool();
placesComputer_ = settings.value("PlacesComputer", true).toBool();
placesNetwork_ = settings.value("PlacesNetwork", true).toBool();
settings.endGroup(); settings.endGroup();
settings.beginGroup("Window"); settings.beginGroup("Window");
@ -239,6 +266,8 @@ bool Settings::loadFile(QString filePath) {
showTabClose_ = settings.value("ShowTabClose", true).toBool(); showTabClose_ = settings.value("ShowTabClose", true).toBool();
splitterPos_ = settings.value("SplitterPos", 150).toInt(); splitterPos_ = settings.value("SplitterPos", 150).toInt();
sidePaneMode_ = sidePaneModeFromString(settings.value("SidePaneMode").toString()); sidePaneMode_ = sidePaneModeFromString(settings.value("SidePaneMode").toString());
showMenuBar_ = settings.value("ShowMenuBar", true).toBool();
fullWidthTabBar_ = settings.value("FullWidthTabBar", true).toBool();
settings.endGroup(); settings.endGroup();
return true; return true;
@ -285,6 +314,7 @@ bool Settings::saveFile(QString filePath) {
settings.setValue("ShowHidden", desktopShowHidden_); settings.setValue("ShowHidden", desktopShowHidden_);
settings.setValue("SortOrder", sortOrderToString(desktopSortOrder_)); settings.setValue("SortOrder", sortOrderToString(desktopSortOrder_));
settings.setValue("SortColumn", sortColumnToString(desktopSortColumn_)); settings.setValue("SortColumn", sortColumnToString(desktopSortColumn_));
settings.setValue("DesktopCellMargins", desktopCellMargins_);
settings.endGroup(); settings.endGroup();
settings.beginGroup("Volume"); settings.beginGroup("Volume");
@ -317,6 +347,18 @@ bool Settings::saveFile(QString filePath) {
settings.setValue("SmallIconSize", smallIconSize_); settings.setValue("SmallIconSize", smallIconSize_);
settings.setValue("SidePaneIconSize", sidePaneIconSize_); settings.setValue("SidePaneIconSize", sidePaneIconSize_);
settings.setValue("ThumbnailIconSize", thumbnailIconSize_); settings.setValue("ThumbnailIconSize", thumbnailIconSize_);
settings.setValue("FolderViewCellMargins", folderViewCellMargins_);
settings.endGroup();
settings.beginGroup("Places");
settings.setValue("PlacesHome", placesHome_);
settings.setValue("PlacesDesktop", placesDesktop_);
settings.setValue("PlacesApplications", placesApplications_);
settings.setValue("PlacesTrash", placesTrash_);
settings.setValue("PlacesRoot", placesRoot_);
settings.setValue("PlacesComputer", placesComputer_);
settings.setValue("PlacesNetwork", placesNetwork_);
settings.endGroup(); settings.endGroup();
settings.beginGroup("Window"); settings.beginGroup("Window");
@ -330,6 +372,8 @@ bool Settings::saveFile(QString filePath) {
settings.setValue("ShowTabClose", showTabClose_); settings.setValue("ShowTabClose", showTabClose_);
settings.setValue("SplitterPos", splitterPos_); settings.setValue("SplitterPos", splitterPos_);
settings.setValue("SidePaneMode", sidePaneModeToString(sidePaneMode_)); settings.setValue("SidePaneMode", sidePaneModeToString(sidePaneMode_));
settings.setValue("ShowMenuBar", showMenuBar_);
settings.setValue("FullWidthTabBar", fullWidthTabBar_);
settings.endGroup(); settings.endGroup();
return true; return true;
} }
@ -517,4 +561,5 @@ void Settings::setTerminal(QString terminalCommand) {
g_signal_emit_by_name(fm_config, "changed::terminal"); g_signal_emit_by_name(fm_config, "changed::terminal");
} }
} // namespace PCManFM } // namespace PCManFM

@ -306,6 +306,22 @@ public:
sidePaneMode_ = sidePaneMode; sidePaneMode_ = sidePaneMode;
} }
bool showMenuBar() const {
return showMenuBar_;
}
void setShowMenuBar(bool showMenuBar) {
showMenuBar_ = showMenuBar;
}
bool fullWidthTabBar() const {
return fullWidthTabBar_;
}
void setFullWidthTabBar(bool fullWith) {
fullWidthTabBar_ = fullWith;
}
Fm::FolderView::ViewMode viewMode() const { Fm::FolderView::ViewMode viewMode() const {
return viewMode_; return viewMode_;
} }
@ -322,6 +338,63 @@ public:
showHidden_ = showHidden; showHidden_ = showHidden;
} }
bool placesHome() const {
return placesHome_;
}
void setPlacesHome(bool placesHome) {
placesHome_ = placesHome;
}
bool placesDesktop() const {
return placesDesktop_;
}
void setPlacesDesktop(bool placesDesktop) {
placesDesktop_ = placesDesktop;
}
bool placesApplications() const {
return placesApplications_;
}
void setPlacesApplications(bool placesApplications) {
placesApplications_ = placesApplications;
}
bool placesTrash() const {
return placesTrash_;
}
void setPlacesTrash(bool placesTrash) {
placesTrash_ = placesTrash;
}
bool placesRoot() const {
return placesRoot_;
}
void setPlacesRoot(bool placesRoot) {
placesRoot_ = placesRoot;
}
bool placesComputer() const {
return placesComputer_;
}
void setPlacesComputer(bool placesComputer) {
placesComputer_ = placesComputer;
}
bool placesNetwork() const {
return placesNetwork_;
}
void setPlacesNetwork(bool placesNetwork) {
placesNetwork_ = placesNetwork;
}
Qt::SortOrder sortOrder() const { Qt::SortOrder sortOrder() const {
return sortOrder_; return sortOrder_;
} }
@ -446,6 +519,23 @@ public:
return thumbnailIconSize_; return thumbnailIconSize_;
} }
QSize folderViewCellMargins() const {
return folderViewCellMargins_;
}
void setFolderViewCellMargins(QSize size) {
folderViewCellMargins_ = size;
}
QSize desktopCellMargins() const {
return desktopCellMargins_;
}
void setDesktopCellMargins(QSize size) {
desktopCellMargins_ = size;
}
bool showThumbnails() { bool showThumbnails() {
return showThumbnails_; return showThumbnails_;
} }
@ -536,6 +626,7 @@ public:
fm_config->template_run_app = templateRunApp_; fm_config->template_run_app = templateRunApp_;
} }
private: private:
QString profileName_; QString profileName_;
bool supportTrash_; bool supportTrash_;
@ -574,6 +665,8 @@ private:
bool lastWindowMaximized_; bool lastWindowMaximized_;
int splitterPos_; int splitterPos_;
Fm::SidePane::Mode sidePaneMode_; Fm::SidePane::Mode sidePaneMode_;
bool showMenuBar_;
bool fullWidthTabBar_;
Fm::FolderView::ViewMode viewMode_; Fm::FolderView::ViewMode viewMode_;
bool showHidden_; bool showHidden_;
@ -599,6 +692,14 @@ private:
bool showFullNames_; bool showFullNames_;
bool shadowHidden_; bool shadowHidden_;
bool placesHome_;
bool placesDesktop_;
bool placesApplications_;
bool placesTrash_;
bool placesRoot_;
bool placesComputer_;
bool placesNetwork_;
int bigIconSize_; int bigIconSize_;
int smallIconSize_; int smallIconSize_;
int sidePaneIconSize_; int sidePaneIconSize_;
@ -607,6 +708,9 @@ private:
bool onlyUserTemplates_; bool onlyUserTemplates_;
bool templateTypeOnce_; bool templateTypeOnce_;
bool templateRunApp_; bool templateRunApp_;
QSize folderViewCellMargins_;
QSize desktopCellMargins_;
}; };
} }

@ -85,6 +85,7 @@ TabPage::TabPage(FmPath* path, QWidget* parent):
verticalLayout->setContentsMargins(0, 0, 0, 0); verticalLayout->setContentsMargins(0, 0, 0, 0);
folderView_ = new View(settings.viewMode(), this); folderView_ = new View(settings.viewMode(), this);
folderView_->setMargins(settings.folderViewCellMargins());
// newView->setColumnWidth(Fm::FolderModel::ColumnName, 200); // newView->setColumnWidth(Fm::FolderModel::ColumnName, 200);
connect(folderView_, &View::openDirRequested, this, &TabPage::onOpenDirRequested); connect(folderView_, &View::openDirRequested, this, &TabPage::onOpenDirRequested);
connect(folderView_, &View::selChanged, this, &TabPage::onSelChanged); connect(folderView_, &View::selChanged, this, &TabPage::onSelChanged);

@ -1,4 +0,0 @@
#Translations
Name[ru_RU]=Рабочий стол
GenericName[ru_RU]=Настройки рабочего стола
Comment[ru_RU]=Изменить обои и поведение менеджера рабочего стола

@ -0,0 +1,4 @@
#Translations / translated by tulliana <tulliana@yandex.com>
Name[tr]=Dosya Yöneticisi (pcmanfm-qt)
GenericName[tr]=Dosya ve masaüstü yönetim uygulaması
Comment[tr]=Dosya Yöneticisi ve Masaüstü Ayarları (duvarkağıtları, menüler vs..)

@ -54,12 +54,12 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.<
<message> <message>
<location filename="../../build/pcmanfm/ui_about.h" line="142"/> <location filename="../../build/pcmanfm/ui_about.h" line="142"/>
<source>Authors</source> <source>Authors</source>
<translation type="unfinished">Autoři</translation> <translation>Autoři</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_about.h" line="160"/> <location filename="../../build/pcmanfm/ui_about.h" line="160"/>
<source>License</source> <source>License</source>
<translation type="unfinished">Licence</translation> <translation>Licence</translation>
</message> </message>
</context> </context>
<context> <context>
@ -203,7 +203,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.<
<message> <message>
<location filename="../../build/pcmanfm/ui_desktop-preferences.h" line="278"/> <location filename="../../build/pcmanfm/ui_desktop-preferences.h" line="278"/>
<source>Advanced</source> <source>Advanced</source>
<translation type="unfinished">Pokročilé</translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context> <context>
@ -245,7 +245,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.<
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="563"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="563"/>
<source>&amp;Home</source> <source>&amp;Home</source>
<translation type="unfinished"></translation> <translation type="unfinished">&amp;Domů</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="565"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="565"/>
@ -290,7 +290,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.<
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="577"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="577"/>
<source>&amp;Computer</source> <source>&amp;Computer</source>
<translation type="unfinished">Počítač</translation> <translation type="unfinished">P&amp;očítač</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="578"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="578"/>
@ -300,122 +300,122 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.<
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="579"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="579"/>
<source>&amp;Network</source> <source>&amp;Network</source>
<translation type="unfinished">Síť</translation> <translation type="unfinished">&amp;Síť</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="580"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="580"/>
<source>&amp;Desktop</source> <source>&amp;Desktop</source>
<translation type="unfinished">Plocha</translation> <translation type="unfinished">P&amp;locha</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="581"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="581"/>
<source>&amp;Add to Bookmarks</source> <source>&amp;Add to Bookmarks</source>
<translation type="unfinished">Přidat k záložkám</translation> <translation type="unfinished">&amp;Přidat k záložkám</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="582"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="582"/>
<source>&amp;Applications</source> <source>&amp;Applications</source>
<translation type="unfinished">Programy</translation> <translation type="unfinished">P&amp;rogramy</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="589"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="589"/>
<source>Ctrl+X</source> <source>Ctrl+X</source>
<translation type="unfinished">Ctrl+X</translation> <translation>Ctrl+X</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="590"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="590"/>
<source>&amp;Copy</source> <source>&amp;Copy</source>
<translation type="unfinished">Kopírovat</translation> <translation>&amp;Kopírovat</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="591"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="591"/>
<source>Ctrl+C</source> <source>Ctrl+C</source>
<translation type="unfinished">Ctrl+C</translation> <translation>Ctrl+C</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="592"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="592"/>
<source>&amp;Paste</source> <source>&amp;Paste</source>
<translation type="unfinished">Vložit</translation> <translation>&amp;Vložit</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="593"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="593"/>
<source>Ctrl+V</source> <source>Ctrl+V</source>
<translation type="unfinished">Ctrl+V</translation> <translation>Ctrl+V</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="594"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="594"/>
<source>Select &amp;All</source> <source>Select &amp;All</source>
<translation type="unfinished">Vybrat všechno</translation> <translation>Vybr&amp;at všechno</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="596"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="596"/>
<source>Pr&amp;eferences</source> <source>Pr&amp;eferences</source>
<translation type="unfinished">&amp;Nastavení</translation> <translation>&amp;Předvolby</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="597"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="597"/>
<source>&amp;Ascending</source> <source>&amp;Ascending</source>
<translation type="unfinished"></translation> <translation>&amp;Vzestupně</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="598"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="598"/>
<source>&amp;Descending</source> <source>&amp;Descending</source>
<translation type="unfinished"></translation> <translation>&amp;Sesupně</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="599"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="599"/>
<source>&amp;By File Name</source> <source>&amp;By File Name</source>
<translation type="unfinished"></translation> <translation>Podle &amp;jména</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="600"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="600"/>
<source>By &amp;Modification Time</source> <source>By &amp;Modification Time</source>
<translation type="unfinished"></translation> <translation>Podle č&amp;asu</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="601"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="601"/>
<source>By File &amp;Type</source> <source>By File &amp;Type</source>
<translation type="unfinished"></translation> <translation>Podle &amp;typu</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="602"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="602"/>
<source>By &amp;Owner</source> <source>By &amp;Owner</source>
<translation type="unfinished"></translation> <translation>Podle v&amp;lastníka</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="603"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="603"/>
<source>&amp;Folder First</source> <source>&amp;Folder First</source>
<translation type="unfinished"></translation> <translation>&amp;Adresáře jako pvní</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="619"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="619"/>
<source>&amp;Invert Selection</source> <source>&amp;Invert Selection</source>
<translation type="unfinished">Invertovat výběr</translation> <translation>&amp;Invertovat výběr</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="620"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="620"/>
<source>&amp;Delete</source> <source>&amp;Delete</source>
<translation type="unfinished">Smazat</translation> <translation>&amp;Smazat</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="622"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="622"/>
<source>&amp;Rename</source> <source>&amp;Rename</source>
<translation type="unfinished">Přejmenovat</translation> <translation>Pře&amp;jmenovat</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="629"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="629"/>
<source>&amp;Case Sensitive</source> <source>&amp;Case Sensitive</source>
<translation type="unfinished"></translation> <translation>&amp;Zohlednit velikost písmen</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="630"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="630"/>
<source>By File &amp;Size</source> <source>By File &amp;Size</source>
<translation type="unfinished"></translation> <translation>Podle v&amp;elikosti</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="631"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="631"/>
<source>&amp;Close Window</source> <source>&amp;Close Window</source>
<translation type="unfinished"></translation> <translation type="unfinished">&amp;Zavřít okno</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="595"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="595"/>
@ -425,7 +425,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.<
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="558"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="558"/>
<source>Go &amp;Up</source> <source>Go &amp;Up</source>
<translation type="unfinished">Nahoru</translation> <translation type="unfinished">&amp;Nahoru</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="570"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="570"/>
@ -435,27 +435,27 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.<
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="584"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="584"/>
<source>&amp;Icon View</source> <source>&amp;Icon View</source>
<translation type="unfinished">Pohled s ikonami</translation> <translation>&amp;Ikony</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="585"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="585"/>
<source>&amp;Compact View</source> <source>&amp;Compact View</source>
<translation type="unfinished">Kompaktní pohled</translation> <translation>&amp;Kompaktní</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="586"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="586"/>
<source>&amp;Detailed List</source> <source>&amp;Detailed List</source>
<translation type="unfinished">Seznam s podrobnostmi</translation> <translation>&amp;Podrobnosti</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="587"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="587"/>
<source>&amp;Thumbnail View</source> <source>&amp;Thumbnail View</source>
<translation type="unfinished">Pohled s náhledy</translation> <translation>&amp;Náhledy</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="588"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="588"/>
<source>Cu&amp;t</source> <source>Cu&amp;t</source>
<translation type="unfinished">Vyjmout</translation> <translation>V&amp;yjmout</translation>
</message> </message>
<message> <message>
<source>Ascending</source> <source>Ascending</source>
@ -503,7 +503,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.<
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="609"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="609"/>
<source>Go &amp;Back</source> <source>Go &amp;Back</source>
<translation type="unfinished">Zpět</translation> <translation type="unfinished">&amp;Zpět</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="611"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="611"/>
@ -558,27 +558,27 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.<
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="638"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="638"/>
<source>Ctrl+Shift+N</source> <source>Ctrl+Shift+N</source>
<translation type="unfinished"></translation> <translation>Ctrl+Shift+N</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="640"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="640"/>
<source>Ctrl+Alt+N</source> <source>Ctrl+Alt+N</source>
<translation type="unfinished"></translation> <translation>Ctrl+Alt+N</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="643"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="643"/>
<source>Filter</source> <source>Filter</source>
<translation type="unfinished"></translation> <translation>Filtrovat</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="646"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="646"/>
<source>C&amp;reate New</source> <source>C&amp;reate New</source>
<translation type="unfinished"></translation> <translation>Vytvořit &amp;nový</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="649"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="649"/>
<source>&amp;Sorting</source> <source>&amp;Sorting</source>
<translation type="unfinished">Řadit</translation> <translation type="unfinished">Ř&amp;adit</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="654"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="654"/>
@ -630,32 +630,32 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.<
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="636"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="636"/>
<source>&amp;Edit Bookmarks</source> <source>&amp;Edit Bookmarks</source>
<translation type="unfinished">Upravit záložky</translation> <translation type="unfinished">&amp;Upravit záložky</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="637"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="637"/>
<source>&amp;Folder</source> <source>&amp;Folder</source>
<translation type="unfinished"></translation> <translation type="unfinished">&amp;Složku</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="639"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="639"/>
<source>&amp;Blank File</source> <source>&amp;Blank File</source>
<translation type="unfinished"></translation> <translation type="unfinished">&amp;Prázdný soubor</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="641"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="641"/>
<source>&amp;Find Files</source> <source>&amp;Find Files</source>
<translation type="unfinished"></translation> <translation type="unfinished">Najít soubory</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="642"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="642"/>
<source>F3</source> <source>F3</source>
<translation type="unfinished"></translation> <translation>F3</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="644"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="644"/>
<source>Filter by string...</source> <source>Filter by string...</source>
<translation type="unfinished"></translation> <translation>Filtrovat podle řetězce...</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="645"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="645"/>
@ -872,7 +872,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.<
<message> <message>
<location filename="../mainwindow.cpp" line="907"/> <location filename="../mainwindow.cpp" line="907"/>
<source>&amp;Delete</source> <source>&amp;Delete</source>
<translation type="unfinished">Smazat</translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../mainwindow.cpp" line="969"/> <location filename="../mainwindow.cpp" line="969"/>
@ -968,168 +968,168 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.<
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="706"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="706"/>
<source>Preferences</source> <source>Preferences</source>
<translation type="unfinished"></translation> <translation>Předvolby</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="715"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="715"/>
<source>User Interface</source> <source>User Interface</source>
<translation type="unfinished">Uživatelské rozhraní</translation> <translation>Uživatelské rozhraní</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="711"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="711"/>
<source>Behavior</source> <source>Behavior</source>
<translation type="unfinished">Chování</translation> <translation>Chování</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="717"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="717"/>
<location filename="../../build/pcmanfm/ui_preferences.h" line="779"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="779"/>
<source>Thumbnail</source> <source>Thumbnail</source>
<translation type="unfinished">Náhled</translation> <translation>Náhled</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="719"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="719"/>
<source>Volume</source> <source>Volume</source>
<translation type="unfinished"></translation> <translation>Úložiště</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="721"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="721"/>
<source>Advanced</source> <source>Advanced</source>
<translation type="unfinished">Pokročilé</translation> <translation>Pokročilé</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="742"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="742"/>
<source>Icons</source> <source>Icons</source>
<translation type="unfinished"></translation> <translation>Ikony</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="744"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="744"/>
<source>Size of big icons:</source> <source>Size of big icons:</source>
<translation type="unfinished">Velikost velkých ikon:</translation> <translation>Velikost velkých ikon:</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="745"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="745"/>
<source>Size of small icons:</source> <source>Size of small icons:</source>
<translation type="unfinished">Velikost malých ikon:</translation> <translation>Velikost malých ikon:</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="746"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="746"/>
<source>Size of thumbnails:</source> <source>Size of thumbnails:</source>
<translation type="unfinished">Velikost náhledů:</translation> <translation>Velikost náhledů:</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="747"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="747"/>
<source>Size of side pane icons:</source> <source>Size of side pane icons:</source>
<translation type="unfinished">Velikost ikon v postranním panelu:</translation> <translation>Velikost ikon v postranním panelu:</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="743"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="743"/>
<source>Icon theme:</source> <source>Icon theme:</source>
<translation type="unfinished"></translation> <translation>Téma ikon:</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="753"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="753"/>
<source>Window</source> <source>Window</source>
<translation type="unfinished"></translation> <translation>Okno</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="757"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="757"/>
<source>Default width of new windows:</source> <source>Default width of new windows:</source>
<translation type="unfinished"></translation> <translation>Výchozí šířka nových oken:</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="758"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="758"/>
<source>Default height of new windows:</source> <source>Default height of new windows:</source>
<translation type="unfinished"></translation> <translation>Výchozí výška nových oken:</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="754"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="754"/>
<source>Always show the tab bar</source> <source>Always show the tab bar</source>
<translation type="unfinished"></translation> <translation>Vždycky zobrazovat lištu s panely</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="755"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="755"/>
<source>Show &apos;Close&apos; buttons on tabs </source> <source>Show &apos;Close&apos; buttons on tabs </source>
<translation type="unfinished"></translation> <translation>Zobrazovat tlačítko &apos;Zavřít&apos; na panelech </translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="756"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="756"/>
<source>Remember the size of the last closed window</source> <source>Remember the size of the last closed window</source>
<translation type="unfinished"></translation> <translation>Pamatovat si rozměry naposedy zavřeného okna</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="724"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="724"/>
<source>Browsing</source> <source>Browsing</source>
<translation type="unfinished"></translation> <translation>Prohlížení</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="725"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="725"/>
<source>Open files with single click</source> <source>Open files with single click</source>
<translation type="unfinished"></translation> <translation>Otvírat soubory jedním kliknutím</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="726"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="726"/>
<source>Delay of auto-selection in single click mode (0 to disable)</source> <source>Delay of auto-selection in single click mode (0 to disable)</source>
<translation type="unfinished"></translation> <translation>Zpoždění automatického výběru v jednoklikacím režimu (0 pro zákaz)</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="727"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="727"/>
<source>Default view mode:</source> <source>Default view mode:</source>
<translation type="unfinished"></translation> <translation>Výchozí režim pohledu:</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="728"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="728"/>
<source> sec</source> <source> sec</source>
<translation type="unfinished"></translation> <translation> s</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="736"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="736"/>
<source>File Operations</source> <source>File Operations</source>
<translation type="unfinished"></translation> <translation>Operace se soubory</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="737"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="737"/>
<source>Confirm before deleting files</source> <source>Confirm before deleting files</source>
<translation type="unfinished"></translation> <translation>Potvrdit mazání souborů</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="738"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="738"/>
<source>Move deleted files to &quot;trash bin&quot; instead of erasing from disk.</source> <source>Move deleted files to &quot;trash bin&quot; instead of erasing from disk.</source>
<translation type="unfinished"></translation> <translation>Přesunout mazané soubory do koše místo smazání z disku.</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="783"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="783"/>
<source>Show thumbnails of files</source> <source>Show thumbnails of files</source>
<translation type="unfinished">Zobrazovat náhledy souborů</translation> <translation>Zobrazovat náhledy souborů</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="782"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="782"/>
<source>Only show thumbnails for local files</source> <source>Only show thumbnails for local files</source>
<translation type="unfinished">Zobrazovat náhlet jen u lokálních souborů</translation> <translation>Zobrazovat náhled jen u lokálních souborů</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="713"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="713"/>
<source>Display</source> <source>Display</source>
<translation type="unfinished"></translation> <translation>Zobrazení</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="729"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="729"/>
<source>Bookmarks:</source> <source>Bookmarks:</source>
<translation type="unfinished"></translation> <translation>Záložky:</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="732"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="732"/>
<source>Open in current tab</source> <source>Open in current tab</source>
<translation type="unfinished"></translation> <translation>Otvírat v současném panelu</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="733"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="733"/>
<source>Open in new tab</source> <source>Open in new tab</source>
<translation type="unfinished"></translation> <translation>Otvírat v novém panelu</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="734"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="734"/>
<source>Open in new window</source> <source>Open in new window</source>
<translation type="unfinished"></translation> <translation>Otvírat v novém okně</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="739"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="739"/>
@ -1149,7 +1149,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.<
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="748"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="748"/>
<source>User interface</source> <source>User interface</source>
<translation type="unfinished"></translation> <translation>Uživatelské rozhraní</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="750"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="750"/>
@ -1209,12 +1209,12 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.<
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="780"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="780"/>
<source>Do not generate thumbnails for image files exceeding this size:</source> <source>Do not generate thumbnails for image files exceeding this size:</source>
<translation type="unfinished">Negenerovat náhledy obrázků přesahujících tuto velikost:</translation> <translation>Negenerovat náhledy obrázků přesahujících tuto velikost:</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="781"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="781"/>
<source> KB</source> <source> KB</source>
<translation type="unfinished"></translation> <translation> KB</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="784"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="784"/>
@ -1224,42 +1224,42 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.<
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="785"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="785"/>
<source>Mount mountable volumes automatically on program startup</source> <source>Mount mountable volumes automatically on program startup</source>
<translation type="unfinished"></translation> <translation>Připojit přenosná úložiště automaticky při startu programu</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="786"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="786"/>
<source>Mount removable media automatically when they are inserted</source> <source>Mount removable media automatically when they are inserted</source>
<translation type="unfinished"></translation> <translation>Připojit přenosná úložiště automaticky když jsou vložena</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="787"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="787"/>
<source>Show available options for removable media when they are inserted</source> <source>Show available options for removable media when they are inserted</source>
<translation type="unfinished"></translation> <translation>Zobrazit pokročilé volby pro přenosná úložiště když jsou vložena</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="788"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="788"/>
<source>When removable medium unmounted:</source> <source>When removable medium unmounted:</source>
<translation type="unfinished"></translation> <translation>Když je přenosné úložiště odpojeno:</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="789"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="789"/>
<source>Close &amp;tab containing removable medium</source> <source>Close &amp;tab containing removable medium</source>
<translation type="unfinished"></translation> <translation>&amp;Zavřít panel obsahující přenosné úložiště</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="790"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="790"/>
<source>Chan&amp;ge folder in the tab to home folder</source> <source>Chan&amp;ge folder in the tab to home folder</source>
<translation type="unfinished"></translation> <translation>Změnit adresář v panelu na &amp;domovský</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="793"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="793"/>
<source>Switch &amp;user command:</source> <source>Switch &amp;user command:</source>
<translation type="unfinished"></translation> <translation>Příkaz k přepnutí &amp;uživatele:</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="796"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="796"/>
<source>Archiver in&amp;tegration:</source> <source>Archiver in&amp;tegration:</source>
<translation type="unfinished"></translation> <translation>Propojení s &amp;archivátorem:</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="797"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="797"/>
@ -1284,18 +1284,19 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.<
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="791"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="791"/>
<source>Programs</source> <source>Programs</source>
<translation type="unfinished"></translation> <translation>Programy</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="792"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="792"/>
<source>Terminal emulator:</source> <source>Terminal emulator:</source>
<translation type="unfinished"></translation> <translation>Emulátor terminálu:</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="794"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="794"/>
<source>Examples: &quot;xterm -e %s&quot; for terminal or &quot;gksu %s&quot; for switching user. <source>Examples: &quot;xterm -e %s&quot; for terminal or &quot;gksu %s&quot; for switching user.
%s = the command line you want to execute with terminal or su.</source> %s = the command line you want to execute with terminal or su.</source>
<translation type="unfinished"></translation> <translation type="unfinished">Příklady: &quot;xterm -e %s&quot; pro terminál nebo &quot;gksu %s&quot; pro přepnutí uživatele.
%s = příkazový řádek, který chceš spustit terminálem nebo su.</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="749"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="749"/>

@ -910,7 +910,7 @@ USA.</translation>
<message> <message>
<location filename="../application.cpp" line="190"/> <location filename="../application.cpp" line="190"/>
<source>Set mode of desktop wallpaper. MODE=(color|stretch|fit|center|tile)</source> <source>Set mode of desktop wallpaper. MODE=(color|stretch|fit|center|tile)</source>
<translation>Ορισμός της λειτουργίας της επιφάνειας ΛΕΙΤΟΥΡΓΙΑ=(χρώμα|τέντωμα|προσαρμογή|κέντρο|παράθεση)</translation> <translation>Ορισμός της λειτουργίας της επιφάνειας ΛΕΙΤΟΥΡΓΙΑ=(color|stretch|fit|center|tile)</translation>
</message> </message>
<message> <message>
<location filename="../application.cpp" line="190"/> <location filename="../application.cpp" line="190"/>

@ -888,7 +888,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
<message> <message>
<location filename="../application.cpp" line="190"/> <location filename="../application.cpp" line="190"/>
<source>Set mode of desktop wallpaper. MODE=(color|stretch|fit|center|tile)</source> <source>Set mode of desktop wallpaper. MODE=(color|stretch|fit|center|tile)</source>
<translation>Definir modo de papel tapiz. MODO =(color|estirar|ajustar|centrar|repetir)</translation> <translation>Definir modo de papel tapiz. MODO =(color|stretch|fit|center|tile)</translation>
</message> </message>
<message> <message>
<location filename="../application.cpp" line="190"/> <location filename="../application.cpp" line="190"/>

@ -716,7 +716,7 @@ Fifth Floor, Boston, MA 02110-1301, USA.</translation>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="648"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="648"/>
<source>&amp;View</source> <source>&amp;View</source>
<translation>&amp;Voir</translation> <translation>&amp;Affichage</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="650"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="650"/>
@ -795,7 +795,7 @@ Fifth Floor, Boston, MA 02110-1301, USA.</translation>
<message> <message>
<location filename="../application.cpp" line="190"/> <location filename="../application.cpp" line="190"/>
<source>Set mode of desktop wallpaper. MODE=(color|stretch|fit|center|tile)</source> <source>Set mode of desktop wallpaper. MODE=(color|stretch|fit|center|tile)</source>
<translation>Définir le mode de fond d&apos;écran de bureau. MODE=(couleur|étirer|ajuster|centrer|découper)</translation> <translation>Définir le mode de fond d&apos;écran de bureau. MODE=(color|stretch|fit|center|tile)</translation>
</message> </message>
<message> <message>
<location filename="../application.cpp" line="190"/> <location filename="../application.cpp" line="190"/>
@ -942,7 +942,7 @@ Fifth Floor, Boston, MA 02110-1301, USA.</translation>
<message> <message>
<location filename="../preferencesdialog.cpp" line="191"/> <location filename="../preferencesdialog.cpp" line="191"/>
<source>Compact Icon View</source> <source>Compact Icon View</source>
<translation>Vue en icônes compacte</translation> <translation>Vue compacte</translation>
</message> </message>
<message> <message>
<location filename="../preferencesdialog.cpp" line="192"/> <location filename="../preferencesdialog.cpp" line="192"/>
@ -1118,7 +1118,7 @@ Fifth Floor, Boston, MA 02110-1301, USA.</translation>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="727"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="727"/>
<source>Default view mode:</source> <source>Default view mode:</source>
<translation>Mode de vue par défaut :</translation> <translation>Mode d&apos;affichage par défaut :</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="728"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="728"/>
@ -1153,7 +1153,7 @@ Fifth Floor, Boston, MA 02110-1301, USA.</translation>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="713"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="713"/>
<source>Display</source> <source>Display</source>
<translation type="unfinished"></translation> <translation>Affichage</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="729"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="729"/>

@ -1142,7 +1142,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.<
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="713"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="713"/>
<source>Display</source> <source>Display</source>
<translation>Schermo</translation> <translation>Visualizza</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="729"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="729"/>

@ -102,27 +102,27 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.<
<message> <message>
<location filename="../../build/pcmanfm/ui_desktop-folder.h" line="76"/> <location filename="../../build/pcmanfm/ui_desktop-folder.h" line="76"/>
<source>Desktop</source> <source>Desktop</source>
<translation type="unfinished">Pulpit</translation> <translation>Pulpit</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_desktop-folder.h" line="77"/> <location filename="../../build/pcmanfm/ui_desktop-folder.h" line="77"/>
<source>Desktop folder:</source> <source>Desktop folder:</source>
<translation type="unfinished">Katalog Pulpitu:</translation> <translation>Katalog Pulpitu:</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_desktop-folder.h" line="79"/> <location filename="../../build/pcmanfm/ui_desktop-folder.h" line="79"/>
<source>Image file</source> <source>Image file</source>
<translation type="unfinished">Plik obrazka</translation> <translation>Plik obrazka</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_desktop-folder.h" line="84"/> <location filename="../../build/pcmanfm/ui_desktop-folder.h" line="84"/>
<source>Folder path</source> <source>Folder path</source>
<translation type="unfinished">Ścieżka katalogu</translation> <translation>Ścieżka katalogu</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_desktop-folder.h" line="85"/> <location filename="../../build/pcmanfm/ui_desktop-folder.h" line="85"/>
<source>&amp;Browse</source> <source>&amp;Browse</source>
<translation type="unfinished">&amp;Wybierz</translation> <translation>&amp;Wybierz</translation>
</message> </message>
</context> </context>
<context> <context>
@ -370,7 +370,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.<
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="563"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="563"/>
<source>&amp;Home</source> <source>&amp;Home</source>
<translation type="unfinished"></translation> <translation>Katalog &amp;użytkownika</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="565"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="565"/>
@ -480,37 +480,37 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.<
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="597"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="597"/>
<source>&amp;Ascending</source> <source>&amp;Ascending</source>
<translation type="unfinished"></translation> <translation>&amp;Rosnąco</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="598"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="598"/>
<source>&amp;Descending</source> <source>&amp;Descending</source>
<translation type="unfinished"></translation> <translation>&amp;Malejąco</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="599"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="599"/>
<source>&amp;By File Name</source> <source>&amp;By File Name</source>
<translation type="unfinished"></translation> <translation>&amp;Nazwa</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="600"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="600"/>
<source>By &amp;Modification Time</source> <source>By &amp;Modification Time</source>
<translation type="unfinished"></translation> <translation>Data &amp;modyfikacji</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="601"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="601"/>
<source>By File &amp;Type</source> <source>By File &amp;Type</source>
<translation type="unfinished"></translation> <translation>&amp;Typ pliku</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="602"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="602"/>
<source>By &amp;Owner</source> <source>By &amp;Owner</source>
<translation type="unfinished"></translation> <translation>W&amp;łaściciel</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="603"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="603"/>
<source>&amp;Folder First</source> <source>&amp;Folder First</source>
<translation type="unfinished"></translation> <translation>Najpierw &amp;katalogi</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="619"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="619"/>
@ -530,17 +530,17 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.<
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="629"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="629"/>
<source>&amp;Case Sensitive</source> <source>&amp;Case Sensitive</source>
<translation type="unfinished"></translation> <translation>Uwzględniaj wielkość &amp;liter</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="630"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="630"/>
<source>By File &amp;Size</source> <source>By File &amp;Size</source>
<translation type="unfinished"></translation> <translation>Według &amp;rozmiaru</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="631"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="631"/>
<source>&amp;Close Window</source> <source>&amp;Close Window</source>
<translation type="unfinished"></translation> <translation>&amp;Zamknij okno</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="595"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="595"/>
@ -706,7 +706,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.<
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="649"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="649"/>
<source>&amp;Sorting</source> <source>&amp;Sorting</source>
<translation>&amp;Sortowanie</translation> <translation>&amp;Uszereguj według</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="654"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="654"/>
@ -763,32 +763,32 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.<
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="637"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="637"/>
<source>&amp;Folder</source> <source>&amp;Folder</source>
<translation type="unfinished"></translation> <translation>&amp;Katalog</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="639"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="639"/>
<source>&amp;Blank File</source> <source>&amp;Blank File</source>
<translation type="unfinished"></translation> <translation>&amp;Pusty plik</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="641"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="641"/>
<source>&amp;Find Files</source> <source>&amp;Find Files</source>
<translation type="unfinished"></translation> <translation>&amp;Znajdź pliki</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="642"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="642"/>
<source>F3</source> <source>F3</source>
<translation type="unfinished">F3</translation> <translation>F3</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="643"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="643"/>
<source>Filter</source> <source>Filter</source>
<translation type="unfinished"></translation> <translation>Filtruj</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="644"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="644"/>
<source>Filter by string...</source> <source>Filter by string...</source>
<translation type="unfinished"></translation> <translation>Wpisz część nazwy pliku...</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_main-win.h" line="645"/> <location filename="../../build/pcmanfm/ui_main-win.h" line="645"/>
@ -877,7 +877,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.<
<message> <message>
<location filename="../application.cpp" line="183"/> <location filename="../application.cpp" line="183"/>
<source>Open Find Files utility</source> <source>Open Find Files utility</source>
<translation type="unfinished"></translation> <translation>Otwórz narzędzie wyszukiwania</translation>
</message> </message>
<message> <message>
<location filename="../application.cpp" line="186"/> <location filename="../application.cpp" line="186"/>
@ -990,7 +990,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.<
<message> <message>
<location filename="../mainwindow.cpp" line="190"/> <location filename="../mainwindow.cpp" line="190"/>
<source>Clear text (Ctrl+K)</source> <source>Clear text (Ctrl+K)</source>
<translation type="unfinished"></translation> <translation>Usuń tekst (Ctrl+K)</translation>
</message> </message>
<message> <message>
<location filename="../mainwindow.cpp" line="455"/> <location filename="../mainwindow.cpp" line="455"/>
@ -1242,7 +1242,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.<
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="713"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="713"/>
<source>Display</source> <source>Display</source>
<translation type="unfinished"></translation> <translation>Wygląd</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="729"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="729"/>
@ -1267,7 +1267,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.<
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="739"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="739"/>
<source>Erase files on removable media instead of &quot;trash can&quot; creation</source> <source>Erase files on removable media instead of &quot;trash can&quot; creation</source>
<translation type="unfinished"></translation> <translation>Usuwaj pliki na urządzeniach wymiennych zamiast przenosić je do kosza</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="740"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="740"/>
@ -1277,7 +1277,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.<
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="741"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="741"/>
<source>Don&apos;t ask options on launch executable file</source> <source>Don&apos;t ask options on launch executable file</source>
<translation type="unfinished"></translation> <translation>Nie pytaj o parametry przy uruchamianiu plików wykonywalnych</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="748"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="748"/>
@ -1287,7 +1287,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.<
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="750"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="750"/>
<source>Treat backup files as hidden</source> <source>Treat backup files as hidden</source>
<translation type="unfinished"></translation> <translation>Traktuj pliki kopii zapasowych jako ukryte</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="751"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="751"/>
@ -1297,12 +1297,12 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.<
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="752"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="752"/>
<source>Show icons of hidden files shadowed</source> <source>Show icons of hidden files shadowed</source>
<translation type="unfinished"></translation> <translation>Przytłumione ikony dla plików ukrytych</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="759"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="759"/>
<source>Show in places</source> <source>Show in places</source>
<translation type="unfinished"></translation> <translation>Pokaż w położeniach</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="764"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="764"/>
@ -1377,22 +1377,22 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.<
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="789"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="789"/>
<source>Close &amp;tab containing removable medium</source> <source>Close &amp;tab containing removable medium</source>
<translation>Zamknij zakładkę nośnika wymiennego</translation> <translation>Zamknij &amp;kartę nośnika wymiennego</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="790"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="790"/>
<source>Chan&amp;ge folder in the tab to home folder</source> <source>Chan&amp;ge folder in the tab to home folder</source>
<translation>Zmień katalog w zakładce na katalog użytkownika</translation> <translation>Z&amp;mień katalog w karcie na katalog użytkownika</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="793"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="793"/>
<source>Switch &amp;user command:</source> <source>Switch &amp;user command:</source>
<translation type="unfinished"></translation> <translation>Polecenie przełączania &amp;użytkownika:</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="796"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="796"/>
<source>Archiver in&amp;tegration:</source> <source>Archiver in&amp;tegration:</source>
<translation>Menedżer archiwów</translation> <translation>Menedżer &amp;archiwów:</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="797"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="797"/>
@ -1402,7 +1402,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.<
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="798"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="798"/>
<source>Show only user defined templates in menu</source> <source>Show only user defined templates in menu</source>
<translation type="unfinished"></translation> <translation>Pokazuj w menu tylko szablony zdefiniowane przez użytkownika</translation>
</message> </message>
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="799"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="799"/>
@ -1412,7 +1412,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.<
<message> <message>
<location filename="../../build/pcmanfm/ui_preferences.h" line="800"/> <location filename="../../build/pcmanfm/ui_preferences.h" line="800"/>
<source>Run default application after creation from template</source> <source>Run default application after creation from template</source>
<translation type="unfinished"></translation> <translation>Uruchom domyślną aplikację po utworzeniu pliku z szablonu</translation>
</message> </message>
<message> <message>
<source>Close tab containing removable medium</source> <source>Close tab containing removable medium</source>

@ -115,7 +115,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Бостон, MA 02110-1301,
<message> <message>
<location filename="../desktop-folder.ui" line="14"/> <location filename="../desktop-folder.ui" line="14"/>
<source>Form</source> <source>Form</source>
<translation type="unfinished"></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../desktop-folder.ui" line="23"/> <location filename="../desktop-folder.ui" line="23"/>
@ -215,18 +215,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Бостон, MA 02110-1301,
<source>Window Manager</source> <source>Window Manager</source>
<translation>Оконный менеджер</translation> <translation>Оконный менеджер</translation>
</message> </message>
<message>
<source>Desktop</source>
<translation type="vanished">Рабочий стол</translation>
</message>
<message>
<source>Desktop folder:</source>
<translation type="vanished">Папка рабочего стола:</translation>
</message>
<message>
<source>Folder path</source>
<translation type="vanished">Путь к папке</translation>
</message>
<message> <message>
<location filename="../desktop-preferences.ui" line="220"/> <location filename="../desktop-preferences.ui" line="220"/>
<source>Advanced</source> <source>Advanced</source>
@ -235,7 +223,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Бостон, MA 02110-1301,
<message> <message>
<location filename="../desktop-preferences.ui" line="232"/> <location filename="../desktop-preferences.ui" line="232"/>
<source>Show menus provided by window managers when desktop is clicked</source> <source>Show menus provided by window managers when desktop is clicked</source>
<translation>Показывать меню, предоставляемые оконными менеджерами по клику на рабочий стол</translation> <translation>Показывать меню, предоставляемые оконными менеджерами, по клику на рабочий стол</translation>
</message> </message>
</context> </context>
<context> <context>
@ -243,7 +231,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Бостон, MA 02110-1301,
<message> <message>
<location filename="../file-search.ui" line="14"/> <location filename="../file-search.ui" line="14"/>
<source>Find Files</source> <source>Find Files</source>
<translation>Найnb файлы</translation> <translation>Найти файлы</translation>
</message> </message>
<message> <message>
<location filename="../file-search.ui" line="24"/> <location filename="../file-search.ui" line="24"/>
@ -264,7 +252,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Бостон, MA 02110-1301,
<location filename="../file-search.ui" line="46"/> <location filename="../file-search.ui" line="46"/>
<location filename="../file-search.ui" line="221"/> <location filename="../file-search.ui" line="221"/>
<source>Case insensitive</source> <source>Case insensitive</source>
<translation>Регистрочувствительный</translation> <translation>Нечувствительный к регистру</translation>
</message> </message>
<message> <message>
<location filename="../file-search.ui" line="53"/> <location filename="../file-search.ui" line="53"/>
@ -341,7 +329,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Бостон, MA 02110-1301,
<message> <message>
<location filename="../file-search.ui" line="212"/> <location filename="../file-search.ui" line="212"/>
<source>File contains</source> <source>File contains</source>
<translation>Содержание файла</translation> <translation>Файл содержит</translation>
</message> </message>
<message> <message>
<location filename="../file-search.ui" line="252"/> <location filename="../file-search.ui" line="252"/>
@ -356,12 +344,12 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Бостон, MA 02110-1301,
<message> <message>
<location filename="../file-search.ui" line="264"/> <location filename="../file-search.ui" line="264"/>
<source>Bigger than:</source> <source>Bigger than:</source>
<translation>Больше чем:</translation> <translation>Больше, чем:</translation>
</message> </message>
<message> <message>
<location filename="../file-search.ui" line="289"/> <location filename="../file-search.ui" line="289"/>
<source>Smaller than:</source> <source>Smaller than:</source>
<translation>Меньше чем:</translation> <translation>Меньше, чем:</translation>
</message> </message>
<message> <message>
<location filename="../file-search.ui" line="317"/> <location filename="../file-search.ui" line="317"/>
@ -371,12 +359,12 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Бостон, MA 02110-1301,
<message> <message>
<location filename="../file-search.ui" line="323"/> <location filename="../file-search.ui" line="323"/>
<source>Earlier than:</source> <source>Earlier than:</source>
<translation>Раньше чем:</translation> <translation>Раньше, чем:</translation>
</message> </message>
<message> <message>
<location filename="../file-search.ui" line="340"/> <location filename="../file-search.ui" line="340"/>
<source>Later than:</source> <source>Later than:</source>
<translation>Позже чем:</translation> <translation>Позже, чем:</translation>
</message> </message>
</context> </context>
<context> <context>
@ -414,7 +402,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Бостон, MA 02110-1301,
<message> <message>
<location filename="../main-win.ui" line="119"/> <location filename="../main-win.ui" line="119"/>
<source>C&amp;reate New</source> <source>C&amp;reate New</source>
<translation>С&amp;оздать новое</translation> <translation>&amp;Создать</translation>
</message> </message>
<message> <message>
<location filename="../main-win.ui" line="137"/> <location filename="../main-win.ui" line="137"/>
@ -459,7 +447,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Бостон, MA 02110-1301,
<message> <message>
<location filename="../main-win.ui" line="256"/> <location filename="../main-win.ui" line="256"/>
<source>Go &amp;Up</source> <source>Go &amp;Up</source>
<translation>Перейти &amp;вверх</translation> <translation>Перейти вв&amp;ерх</translation>
</message> </message>
<message> <message>
<location filename="../main-win.ui" line="259"/> <location filename="../main-win.ui" line="259"/>
@ -509,7 +497,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Бостон, MA 02110-1301,
<message> <message>
<location filename="../main-win.ui" line="328"/> <location filename="../main-win.ui" line="328"/>
<source>&amp;New Window</source> <source>&amp;New Window</source>
<translation>&amp;Новое окно</translation> <translation>Новое &amp;окно</translation>
</message> </message>
<message> <message>
<location filename="../main-win.ui" line="331"/> <location filename="../main-win.ui" line="331"/>
@ -669,7 +657,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Бостон, MA 02110-1301,
<message> <message>
<location filename="../main-win.ui" line="643"/> <location filename="../main-win.ui" line="643"/>
<source>&amp;Case Sensitive</source> <source>&amp;Case Sensitive</source>
<translation>&amp;Регистрочувствительная</translation> <translation>&amp;Чувствительная к регистру</translation>
</message> </message>
<message> <message>
<location filename="../main-win.ui" line="651"/> <location filename="../main-win.ui" line="651"/>
@ -704,17 +692,17 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Бостон, MA 02110-1301,
<message> <message>
<location filename="../main-win.ui" line="729"/> <location filename="../main-win.ui" line="729"/>
<source>Close &amp;left tabs</source> <source>Close &amp;left tabs</source>
<translation>Закрыть вкладки &amp;слева</translation> <translation>Закрыть вкладки с&amp;лева</translation>
</message> </message>
<message> <message>
<location filename="../main-win.ui" line="737"/> <location filename="../main-win.ui" line="737"/>
<source>Close &amp;right tabs</source> <source>Close &amp;right tabs</source>
<translation>Закрыть вкладки &amp;справа</translation> <translation>Закрыть вкладки с&amp;права</translation>
</message> </message>
<message> <message>
<location filename="../main-win.ui" line="742"/> <location filename="../main-win.ui" line="742"/>
<source>Close &amp;other tabs</source> <source>Close &amp;other tabs</source>
<translation>Закрыть &amp;другие</translation> <translation>Закрыть &amp;остальные вкладки</translation>
</message> </message>
<message> <message>
<location filename="../main-win.ui" line="550"/> <location filename="../main-win.ui" line="550"/>
@ -799,7 +787,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Бостон, MA 02110-1301,
<message> <message>
<location filename="../main-win.ui" line="627"/> <location filename="../main-win.ui" line="627"/>
<source>File &amp;Properties</source> <source>File &amp;Properties</source>
<translation>&amp;Свойства файла</translation> <translation>Свойства &amp;файла</translation>
</message> </message>
<message> <message>
<location filename="../main-win.ui" line="630"/> <location filename="../main-win.ui" line="630"/>
@ -809,7 +797,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Бостон, MA 02110-1301,
<message> <message>
<location filename="../main-win.ui" line="635"/> <location filename="../main-win.ui" line="635"/>
<source>&amp;Folder Properties</source> <source>&amp;Folder Properties</source>
<translation>&amp;Свойства папки</translation> <translation>Свойства &amp;папки</translation>
</message> </message>
<message> <message>
<location filename="../main-win.ui" line="661"/> <location filename="../main-win.ui" line="661"/>
@ -893,7 +881,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Бостон, MA 02110-1301,
<message> <message>
<location filename="../application.cpp" line="193"/> <location filename="../application.cpp" line="193"/>
<source>Set mode of desktop wallpaper. MODE=(color|stretch|fit|center|tile)</source> <source>Set mode of desktop wallpaper. MODE=(color|stretch|fit|center|tile)</source>
<translation>Выбрать режим обоев рабочего стола. РЕЖИМ=(цвет|растянуть|вместить|по центру|черепицей)</translation> <translation>Выбрать режим обоев рабочего стола. РЕЖИМ=(color|stretch|fit|center|tile)</translation>
</message> </message>
<message> <message>
<location filename="../application.cpp" line="193"/> <location filename="../application.cpp" line="193"/>
@ -1158,7 +1146,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Бостон, MA 02110-1301,
<message> <message>
<location filename="../preferences.ui" line="269"/> <location filename="../preferences.ui" line="269"/>
<source>Size of thumbnails:</source> <source>Size of thumbnails:</source>
<translation>Размер значков:</translation> <translation>Размер эскизов:</translation>
</message> </message>
<message> <message>
<location filename="../preferences.ui" line="279"/> <location filename="../preferences.ui" line="279"/>
@ -1238,7 +1226,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Бостон, MA 02110-1301,
<message> <message>
<location filename="../preferences.ui" line="172"/> <location filename="../preferences.ui" line="172"/>
<source>Move deleted files to &quot;trash bin&quot; instead of erasing from disk.</source> <source>Move deleted files to &quot;trash bin&quot; instead of erasing from disk.</source>
<translation>Перемещать удалённые файлы в корзину вместо удаления их с диска.</translation> <translation>Перемещать удалённые файлы в «корзину» вместо удаления их с диска.</translation>
</message> </message>
<message> <message>
<location filename="../preferences.ui" line="554"/> <location filename="../preferences.ui" line="554"/>
@ -1278,12 +1266,12 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Бостон, MA 02110-1301,
<message> <message>
<location filename="../preferences.ui" line="179"/> <location filename="../preferences.ui" line="179"/>
<source>Erase files on removable media instead of &quot;trash can&quot; creation</source> <source>Erase files on removable media instead of &quot;trash can&quot; creation</source>
<translation>Удалять файлы на съёмных носителях вместо создания «Корзины»</translation> <translation>Удалять файлы на съёмных носителях вместо создания «корзины»</translation>
</message> </message>
<message> <message>
<location filename="../preferences.ui" line="186"/> <location filename="../preferences.ui" line="186"/>
<source>Confirm before moving files into &quot;trash can&quot;</source> <source>Confirm before moving files into &quot;trash can&quot;</source>
<translation>Просить подтверждения перед удалением файлов в «Корзину»</translation> <translation>Подтверждение перед перемещением файлов в «корзину»</translation>
</message> </message>
<message> <message>
<location filename="../preferences.ui" line="193"/> <location filename="../preferences.ui" line="193"/>
@ -1318,7 +1306,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Бостон, MA 02110-1301,
<message> <message>
<location filename="../preferences.ui" line="420"/> <location filename="../preferences.ui" line="420"/>
<source>Home</source> <source>Home</source>
<translation>Домой</translation> <translation>Дом</translation>
</message> </message>
<message> <message>
<location filename="../preferences.ui" line="433"/> <location filename="../preferences.ui" line="433"/>
@ -1373,7 +1361,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Бостон, MA 02110-1301,
<message> <message>
<location filename="../preferences.ui" line="594"/> <location filename="../preferences.ui" line="594"/>
<source>Mount removable media automatically when they are inserted</source> <source>Mount removable media automatically when they are inserted</source>
<translation>Подключать съёмные тома автоматически при их подключении</translation> <translation>Подключать съёмные тома автоматически при их вставлении</translation>
</message> </message>
<message> <message>
<location filename="../preferences.ui" line="601"/> <location filename="../preferences.ui" line="601"/>
@ -1413,7 +1401,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Бостон, MA 02110-1301,
<message> <message>
<location filename="../preferences.ui" line="720"/> <location filename="../preferences.ui" line="720"/>
<source>Show only user defined templates in menu</source> <source>Show only user defined templates in menu</source>
<translation>Показывать только шаблоны, определённые пользователем, в меню</translation> <translation>Показывать в меню только шаблоны, определённые пользователем</translation>
</message> </message>
<message> <message>
<location filename="../preferences.ui" line="727"/> <location filename="../preferences.ui" line="727"/>
@ -1423,7 +1411,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Бостон, MA 02110-1301,
<message> <message>
<location filename="../preferences.ui" line="734"/> <location filename="../preferences.ui" line="734"/>
<source>Run default application after creation from template</source> <source>Run default application after creation from template</source>
<translation>Запускать приложение по умолчанию после создания шаблона</translation> <translation>Запускать приложение по умолчанию после создания из шаблона</translation>
</message> </message>
<message> <message>
<location filename="../preferences.ui" line="651"/> <location filename="../preferences.ui" line="651"/>

@ -1,4 +0,0 @@
#Translations
Name[ru_RU]=Диспетчер файлов PCManFM
GenericName[ru_RU]=Диспетчер файлов
Comment[ru_RU]=Просматривайте файловую систему и управляйте файлами

File diff suppressed because it is too large Load Diff

@ -0,0 +1,4 @@
#Translations / translated by tulliana <tulliana@yandex.com>
Name[tr]=PCManFM-Qt
GenericName[tr]=Dosya Yönetici
Comment[tr]=Lxqt dosya ve masaüstü yöneticisi

File diff suppressed because it is too large Load Diff

@ -118,8 +118,10 @@ void View::prepareFileMenu(Fm::FileMenu* menu) {
} }
} }
else { else {
menu->pasteAction()->setVisible(false); if(menu->pasteAction()) // NULL for trash
menu->createAction()->setVisible(false); menu->pasteAction()->setVisible(false);
if(menu->createAction())
menu->createAction()->setVisible(false);
} }
} }
@ -133,6 +135,8 @@ void View::updateFromSettings(Settings& settings) {
setIconSize(Fm::FolderView::ThumbnailMode, QSize(settings.thumbnailIconSize(), settings.thumbnailIconSize())); setIconSize(Fm::FolderView::ThumbnailMode, QSize(settings.thumbnailIconSize(), settings.thumbnailIconSize()));
setIconSize(Fm::FolderView::DetailedListMode, QSize(settings.smallIconSize(), settings.smallIconSize())); setIconSize(Fm::FolderView::DetailedListMode, QSize(settings.smallIconSize(), settings.smallIconSize()));
setMargins(settings.folderViewCellMargins());
setAutoSelectionDelay(settings.autoSelectionDelay()); setAutoSelectionDelay(settings.autoSelectionDelay());
Fm::ProxyFolderModel* proxyModel = model(); Fm::ProxyFolderModel* proxyModel = model();

@ -41,6 +41,13 @@ public:
void updateFromSettings(Settings& settings); void updateFromSettings(Settings& settings);
QSize getMargins() const {
return Fm::FolderView::getMargins();
}
void setMargins(QSize size) {
Fm::FolderView::setMargins(size);
}
Q_SIGNALS: Q_SIGNALS:
void openDirRequested(FmPath* path, int target); void openDirRequested(FmPath* path, int target);

Loading…
Cancel
Save