diff --git a/desktop/pisilinux/package-manager/files/update_button_fixed.patch b/desktop/pisilinux/package-manager/files/update_button_fixed.patch new file mode 100644 index 0000000000..266395a331 --- /dev/null +++ b/desktop/pisilinux/package-manager/files/update_button_fixed.patch @@ -0,0 +1,32 @@ +commit 6bea986efaca4b71056f059fcea0fcc49be9e606 (HEAD -> master, origin/master, origin/HEAD) +Author: ayhanyalcinsoy +Date: Mon May 23 14:36:34 2022 +0300 + + fixed update button function + +diff --git a/src/mainwidget.py b/src/mainwidget.py +index a404fc6..41300b2 100755 +--- a/src/mainwidget.py ++++ b/src/mainwidget.py +@@ -433,7 +433,7 @@ class MainWidget(QWidget, PM, Ui_MainWidget): + waitCursor() + self.statusUpdater.wait() + +- if self.currentState == self.state.ALL or self.state.REMOVE: ++ if self.currentState == self.state.ALL and self.state.REMOVE: + action = {self.__remove_action:self.state.REMOVE, + self.__install_action:self.state.INSTALL}.get(self.sender(), self.state.INSTALL) + if action: +diff --git a/src/packagedelegate.py b/src/packagedelegate.py +index 28378c8..258d5b2 100755 +--- a/src/packagedelegate.py ++++ b/src/packagedelegate.py +@@ -57,7 +57,7 @@ LIGHTBLUE = QColor('#DEE5F2') + DARKVIOLET = QColor('#3B414F') + LIGHTGREEN = QColor('#F1F5EC') + DARKGREEN = QColor('#32775F') +-CHECK_ICON = 'list-add' #add ++CHECK_ICON = 'check' #add + RECT = QRect() + DETAIL_LINE_OFFSET = 36 + ICON_PADDING = 10 diff --git a/desktop/pisilinux/package-manager/pspec.xml b/desktop/pisilinux/package-manager/pspec.xml index 9cdec160bc..6086675442 100644 --- a/desktop/pisilinux/package-manager/pspec.xml +++ b/desktop/pisilinux/package-manager/pspec.xml @@ -21,6 +21,9 @@ intltool qt5-linguist + + update_button_fixed.patch + @@ -40,12 +43,17 @@ /usr/share/doc - + + 2022-05-24 + 4.2.7.1 + fixed update button functions + Ayhan Yalçınsoy + ayhanyalcinsoy@pisilinux.org + 2022-05-06 4.2.7.1