diff options
Diffstat (limited to 'x11-misc/pcmanfm-qt/files')
-rw-r--r-- | x11-misc/pcmanfm-qt/files/pcmanfm-qt-0.13.0-use_view_action_icons_from_theme.patch | 18 | ||||
-rw-r--r-- | x11-misc/pcmanfm-qt/files/pcmanfm-qt-0.14.1-use_view_action_icons_from_theme.patch | 12 |
2 files changed, 12 insertions, 18 deletions
diff --git a/x11-misc/pcmanfm-qt/files/pcmanfm-qt-0.13.0-use_view_action_icons_from_theme.patch b/x11-misc/pcmanfm-qt/files/pcmanfm-qt-0.13.0-use_view_action_icons_from_theme.patch deleted file mode 100644 index c9dccf4f..00000000 --- a/x11-misc/pcmanfm-qt/files/pcmanfm-qt-0.13.0-use_view_action_icons_from_theme.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff -Nur a/pcmanfm/mainwindow.cpp b/pcmanfm/mainwindow.cpp ---- a/pcmanfm/mainwindow.cpp 2018-05-21 20:14:54.000000000 +0100 -+++ b/pcmanfm/mainwindow.cpp 2019-02-02 12:12:29.726816339 +0000 -@@ -164,10 +164,10 @@ - loadBookmarksMenu(); - - // set generic icons for view actions -- ui.actionIconView->setIcon(style()->standardIcon(QStyle::SP_FileDialogContentsView)); -- ui.actionThumbnailView->setIcon(style()->standardIcon(QStyle::SP_FileDialogInfoView)); -- ui.actionCompactView->setIcon(style()->standardIcon(QStyle::SP_FileDialogListView)); -- ui.actionDetailedList->setIcon(style()->standardIcon(QStyle::SP_FileDialogDetailedView)); -+ ui.actionIconView->setIcon(QIcon::fromTheme(QLatin1String("view-list-icons"), style()->standardIcon(QStyle::SP_FileDialogContentsView))); -+ ui.actionThumbnailView->setIcon(QIcon::fromTheme(QLatin1String("view-list-thumbnails"), style()->standardIcon(QStyle::SP_FileDialogInfoView))); -+ ui.actionCompactView->setIcon(QIcon::fromTheme(QLatin1String("view-list-text"), style()->standardIcon(QStyle::SP_FileDialogListView))); -+ ui.actionDetailedList->setIcon(QIcon::fromTheme(QLatin1String("view-list-details"), style()->standardIcon(QStyle::SP_FileDialogDetailedView))); - - // Fix the menu groups which is not done by Qt designer - // To my suprise, this was supported in Qt designer 3 :-( diff --git a/x11-misc/pcmanfm-qt/files/pcmanfm-qt-0.14.1-use_view_action_icons_from_theme.patch b/x11-misc/pcmanfm-qt/files/pcmanfm-qt-0.14.1-use_view_action_icons_from_theme.patch new file mode 100644 index 00000000..81a7a08b --- /dev/null +++ b/x11-misc/pcmanfm-qt/files/pcmanfm-qt-0.14.1-use_view_action_icons_from_theme.patch @@ -0,0 +1,12 @@ +diff -Nur a/pcmanfm/mainwindow.cpp b/pcmanfm/mainwindow.cpp +--- a/pcmanfm/mainwindow.cpp 2019-02-24 00:16:13.000000000 +0000 ++++ b/pcmanfm/mainwindow.cpp 2019-06-01 12:31:10.004634642 +0100 +@@ -201,7 +201,7 @@ + + // use generic icons for view actions only if theme icons don't exist + ui.actionIconView->setIcon(QIcon::fromTheme(QLatin1String("view-list-icons"), style()->standardIcon(QStyle::SP_FileDialogContentsView))); +- ui.actionThumbnailView->setIcon(QIcon::fromTheme(QLatin1String("dialog-information"), style()->standardIcon(QStyle::SP_FileDialogInfoView))); ++ ui.actionThumbnailView->setIcon(QIcon::fromTheme(QLatin1String("view-list-thumbnails"), style()->standardIcon(QStyle::SP_FileDialogInfoView))); + ui.actionCompactView->setIcon(QIcon::fromTheme(QLatin1String("view-list-text"), style()->standardIcon(QStyle::SP_FileDialogListView))); + ui.actionDetailedList->setIcon(QIcon::fromTheme(QLatin1String("view-list-details"), style()->standardIcon(QStyle::SP_FileDialogDetailedView))); + |