Skip to content
This repository has been archived by the owner on Apr 7, 2024. It is now read-only.

Commit

Permalink
Merge pull request #45 from gaining/develop
Browse files Browse the repository at this point in the history
fixed transition issues
  • Loading branch information
gaining authored Jan 27, 2018
2 parents af65420 + 93d746a commit b1184d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Download the deb files found [here](https://github.com/gaining/Resetter/releases

# Status
- Version 2.1.0 adds support for Deepin 15.5 and opens the possibility to easily make any other debian based distro compatible by using [Resetter Helper](https://github.com/gaining/ResetterHelper)
I'll elaborate on that as *ResetterHelper* becomes more mature.
- then on the terminal, run the following commands:
- The software is stable. Feedback will be greatly appreciated.
- Working Project: Resetter-cli, a version of resetter that runs terminally.
Expand Down
8 changes: 3 additions & 5 deletions Resetter/usr/lib/resetter/Resetter.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ def __init__(self, parent=None):
self.btnReset.clicked.connect(self.warningPrompt)
self.btnCustomReset = QtGui.QPushButton(self)
self.btnCustomReset.setText("Custom Reset")
#self.btnCustomReset.resize(614, 110)
self.btnCustomReset.setFixedHeight(100)
self.btnCustomReset.setFont(font)
self.btnCustomReset.setStyleSheet(button_style)
Expand All @@ -173,7 +172,6 @@ def __init__(self, parent=None):

self.btnEasyInstall = QtGui.QPushButton(self)
self.btnEasyInstall.setText("Easy Install")
# self.btnCustomReset.resize(614, 110)
self.btnEasyInstall.setFixedHeight(100)
self.btnEasyInstall.setFont(font)
self.btnEasyInstall.setStyleSheet(button_style)
Expand Down Expand Up @@ -208,7 +206,7 @@ def __init__(self, parent=None):
if self.userlist is not None:
self.userlist_label.setText("Userlist: {}".format(self.userlist.split('/')[-1]))
else:
self.manifest_label.setText("Userlist: ???")
self.userlist_label.setText("Userlist: ???")

self.pixmap = QtGui.QPixmap("/usr/lib/resetter/data/icons/resetter-logo.png")
self.pixmap2 = self.pixmap.scaled(650, 200)
Expand Down Expand Up @@ -346,7 +344,7 @@ def warningPrompt(self):
self.logger.warning("auto reset chosen")
self.getInstalledList()
self.getMissingPackages()
if UsefulTools().lineCount("apps-to-remove") > 0:
if UsefulTools().lineCount('apps-to-remove') > 0:
self.getLocalUserList()
self.findNonDefaultUsers()
view = AppView(self)
Expand All @@ -356,7 +354,7 @@ def warningPrompt(self):
QtGui.QApplication.restoreOverrideCursor()

else:
UsefulTools.showMessage("Nothing left to remove",
UsefulTools().showMessage("Nothing left to remove",
"All removable packages have already been removed, there are no more packages left",
QtGui.QMessageBox.Information)
QtGui.QApplication.restoreOverrideCursor()
Expand Down

0 comments on commit b1184d1

Please sign in to comment.