diff --git a/sgbackup/gui/_app.py b/sgbackup/gui/_app.py index 99bc0ef..71d2405 100644 --- a/sgbackup/gui/_app.py +++ b/sgbackup/gui/_app.py @@ -300,7 +300,7 @@ class AppWindow(Gtk.ApplicationWindow): Gtk.ApplicationWindow.__init__(self,**kwargs) self.set_default_size(800,600) - self.set_icon_name('sgbackup') + self.set_icon_name('org.sgbackup.sgbackup-symbolic') self.__builder = builder self.builder.add_from_file(os.path.join(os.path.dirname(__file__),'appmenu.ui')) @@ -445,4 +445,4 @@ class Application(Gtk.Application): arg_types=(SettingsDialog,)) def settings_dialog_init(self,dialog): pass - \ No newline at end of file + diff --git a/sgbackup/gui/_gamedialog.py b/sgbackup/gui/_gamedialog.py index 6baf3c2..a497f01 100644 --- a/sgbackup/gui/_gamedialog.py +++ b/sgbackup/gui/_gamedialog.py @@ -359,7 +359,7 @@ class GameDialog(Gtk.Dialog): page.set_child(vbox) self.__stack.add_titled(page,"main","Game") stack_page = self.__stack.get_page(page) - stack_page.set_icon_name('sgbackup') + stack_page.set_icon_name('org.sgbackup.sgbackup-symbolic') def __create_windows_page(self): @@ -1258,4 +1258,4 @@ class GameDialog(Gtk.Dialog): model.remove(i) continue i += 1 - \ No newline at end of file + diff --git a/sgbackup/icons/hicolor/128x128/apps/sgbackup.png b/sgbackup/icons/hicolor/128x128/apps/sgbackup.png deleted file mode 100644 index b86f422..0000000 Binary files a/sgbackup/icons/hicolor/128x128/apps/sgbackup.png and /dev/null differ diff --git a/sgbackup/icons/hicolor/256x256/apps/sgbackup.png b/sgbackup/icons/hicolor/256x256/apps/sgbackup.png deleted file mode 100644 index 9ab7b91..0000000 Binary files a/sgbackup/icons/hicolor/256x256/apps/sgbackup.png and /dev/null differ diff --git a/sgbackup/icons/hicolor/32x32/apps/sgbackup.png b/sgbackup/icons/hicolor/32x32/apps/sgbackup.png deleted file mode 100644 index 81b08e7..0000000 Binary files a/sgbackup/icons/hicolor/32x32/apps/sgbackup.png and /dev/null differ diff --git a/sgbackup/icons/hicolor/32x32/apps/windows.png b/sgbackup/icons/hicolor/32x32/apps/windows.png deleted file mode 100644 index 386a629..0000000 Binary files a/sgbackup/icons/hicolor/32x32/apps/windows.png and /dev/null differ diff --git a/sgbackup/icons/hicolor/512x512/apps/sgbackup.png b/sgbackup/icons/hicolor/512x512/apps/sgbackup.png deleted file mode 100644 index 9c5dd7e..0000000 Binary files a/sgbackup/icons/hicolor/512x512/apps/sgbackup.png and /dev/null differ diff --git a/sgbackup/icons/hicolor/64x64/apps/sgbackup.png b/sgbackup/icons/hicolor/64x64/apps/sgbackup.png deleted file mode 100644 index 960ae88..0000000 Binary files a/sgbackup/icons/hicolor/64x64/apps/sgbackup.png and /dev/null differ diff --git a/sgbackup/icons/hicolor/symbolic/apps/org.sgbackup.sgbackup-symbolic.svg b/sgbackup/icons/hicolor/symbolic/apps/org.sgbackup.sgbackup-symbolic.svg new file mode 100644 index 0000000..69072f8 --- /dev/null +++ b/sgbackup/icons/hicolor/symbolic/apps/org.sgbackup.sgbackup-symbolic.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/sgbackup/icons/hicolor/symbolic/apps/sgbackup-symbolic.svg b/sgbackup/icons/hicolor/symbolic/apps/sgbackup-symbolic.svg new file mode 100644 index 0000000..69072f8 --- /dev/null +++ b/sgbackup/icons/hicolor/symbolic/apps/sgbackup-symbolic.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/sgbackup/icons/hicolor/symbolic/devices/gamepad-svgrepo-com-symbolic.svg b/sgbackup/icons/hicolor/symbolic/devices/gamepad-svgrepo-com-symbolic.svg new file mode 100644 index 0000000..69072f8 --- /dev/null +++ b/sgbackup/icons/hicolor/symbolic/devices/gamepad-svgrepo-com-symbolic.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/sgbackup/steam.py b/sgbackup/steam.py index 9780c66..11b9104 100644 --- a/sgbackup/steam.py +++ b/sgbackup/steam.py @@ -21,10 +21,11 @@ import re from pathlib import Path import sys import json - from .settings import settings from .game import STEAM_GAMES,STEAM_WINDOWS_GAMES,STEAM_LINUX_GAMES,STEAM_MACOS_GAMES +__gtype_name__ = __name__ + PLATFORM_WINDOWS = (sys.platform.lower() == 'win32') PLATFORM_LINUX = (sys.platform.lower() in ('linux','freebsd','netbsd','openbsd','dragonfly')) PLATFORM_MACOS = (sys.platform.lower() == 'macos') @@ -35,7 +36,7 @@ from gi.repository.GObject import GObject,Property,Signal class AcfFileParser(object): """ - Parses steam acf files to a dict. + Parses steam .acf files to a dict. """ def __init__(self): pass