diff --git a/bin/pytop-0-0-1-x64.deb b/bin/pytop-0-0-1-x64.deb index 875ada8..5de58c6 100644 Binary files a/bin/pytop-0-0-1-x64.deb and b/bin/pytop-0-0-1-x64.deb differ diff --git a/src/debs/pytop-0-0-1-x64/opt/Pytop/resources/PyTop.glade b/src/debs/pytop-0-0-1-x64/opt/Pytop/resources/PyTop.glade index 1c7adfd..4cafb45 100644 --- a/src/debs/pytop-0-0-1-x64/opt/Pytop/resources/PyTop.glade +++ b/src/debs/pytop-0-0-1-x64/opt/Pytop/resources/PyTop.glade @@ -208,6 +208,8 @@ True False vertical + 10 + 10 diff --git a/src/debs/pytop-0-0-1-x64/opt/Pytop/utils/Icon.py b/src/debs/pytop-0-0-1-x64/opt/Pytop/utils/Icon.py index 55debe8..75c8c5b 100644 --- a/src/debs/pytop-0-0-1-x64/opt/Pytop/utils/Icon.py +++ b/src/debs/pytop-0-0-1-x64/opt/Pytop/utils/Icon.py @@ -8,14 +8,15 @@ from gi.repository import Gtk as gtk from gi.repository import Gio as gio from gi.repository import GdkPixbuf -import os, hashlib +import os, subprocess, hashlib from os.path import isdir, isfile, join class Icon: def __init__(self): self.GTK_ORIENTATION = 1 # HORIZONTAL (0) VERTICAL (1) - self.iconImageWxH = [64, 64] + self.iconImageWxH = [128, -1] + self.iconSystem = [72, 72] self.iconWxH = [128, -1] self.iconMargins = 8 self.usrHome = os.path.expanduser('~') @@ -60,8 +61,8 @@ class Icon: elif file.lower().endswith(imagesList): thumbnl = self.createGtkImage(fullPathFile, self.iconImageWxH) else: - thumbPth = self.getSystemThumbnail(fullPathFile, self.iconImageWxH[0]) - thumbnl = self.createGtkImage(thumbPth, self.iconImageWxH) + thumbPth = self.getSystemThumbnail(fullPathFile, self.iconSystem[0]) + thumbnl = self.createGtkImage(thumbPth, self.iconSystem) return thumbnl diff --git a/src/versions/pytop-0.0.1/Pytop/resources/PyTop.glade b/src/versions/pytop-0.0.1/Pytop/resources/PyTop.glade index 1c7adfd..4cafb45 100644 --- a/src/versions/pytop-0.0.1/Pytop/resources/PyTop.glade +++ b/src/versions/pytop-0.0.1/Pytop/resources/PyTop.glade @@ -208,6 +208,8 @@ True False vertical + 10 + 10 diff --git a/src/versions/pytop-0.0.1/Pytop/utils/Icon.py b/src/versions/pytop-0.0.1/Pytop/utils/Icon.py index 55debe8..75c8c5b 100644 --- a/src/versions/pytop-0.0.1/Pytop/utils/Icon.py +++ b/src/versions/pytop-0.0.1/Pytop/utils/Icon.py @@ -8,14 +8,15 @@ from gi.repository import Gtk as gtk from gi.repository import Gio as gio from gi.repository import GdkPixbuf -import os, hashlib +import os, subprocess, hashlib from os.path import isdir, isfile, join class Icon: def __init__(self): self.GTK_ORIENTATION = 1 # HORIZONTAL (0) VERTICAL (1) - self.iconImageWxH = [64, 64] + self.iconImageWxH = [128, -1] + self.iconSystem = [72, 72] self.iconWxH = [128, -1] self.iconMargins = 8 self.usrHome = os.path.expanduser('~') @@ -60,8 +61,8 @@ class Icon: elif file.lower().endswith(imagesList): thumbnl = self.createGtkImage(fullPathFile, self.iconImageWxH) else: - thumbPth = self.getSystemThumbnail(fullPathFile, self.iconImageWxH[0]) - thumbnl = self.createGtkImage(thumbPth, self.iconImageWxH) + thumbPth = self.getSystemThumbnail(fullPathFile, self.iconSystem[0]) + thumbnl = self.createGtkImage(thumbPth, self.iconSystem) return thumbnl