Skip to content

Commit

Permalink
Merge pull request #3 from ayhanyalcinsoy/master
Browse files Browse the repository at this point in the history
updated and fixed some issues
  • Loading branch information
ayhanyalcinsoy authored Jun 2, 2022
2 parents ead3e37 + 6110403 commit c671af1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
File renamed without changes.
12 changes: 6 additions & 6 deletions historymanager/libhistorymanager/listitem.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,17 @@ def __init__(self, operation, parent=None):

def iconReplace(self, icon):
if icon == "install":
return "package-install"
return "/usr/share/pixmaps/icons/installed_pisi.png"
elif icon == "remove":
return "package-remove"
return "/usr/share/pixmaps/icons/removed_pisi.png"
elif icon == "repoupdate":
return "update-none"
return "/usr/share/pixmaps/icons/update-repo.svg"
elif icon == "snapshot":
return "draw-star"
return "/usr/share/pixmaps/icons/system-snapshot.svg"
elif icon == "takeback":
return "draw-arrow-back"
return "/usr/share/pixmaps/icons/take_back.svg"
elif icon == "upgrade":
return "package-upgrade"
return "/usr/share/pixmaps/icons/updated_pisi.png"
elif icon == "unknown":
return "unknown"

Expand Down
4 changes: 2 additions & 2 deletions script/history-manager
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python

from historymanager import historymanager5
from historymanager import historymanager

historymanager5.main()
historymanager.main()

0 comments on commit c671af1

Please sign in to comment.