Skip to content
This repository has been archived by the owner on Nov 5, 2023. It is now read-only.

Commit

Permalink
Improved: Processes tab information for Flatpak
Browse files Browse the repository at this point in the history
  • Loading branch information
hakandundar34coding committed Oct 29, 2022
1 parent 862d5ea commit 1436ef8
Show file tree
Hide file tree
Showing 21 changed files with 181 additions and 109 deletions.
Empty file modified .gitignore
100755 → 100644
Empty file.
Empty file modified Changes.md
100755 → 100644
Empty file.
Empty file modified LICENSE
100755 → 100644
Empty file.
Empty file modified MANIFEST.in
100755 → 100644
Empty file.
Empty file modified PKGBUILD
100755 → 100644
Empty file.
Empty file modified README.md
100755 → 100644
Empty file.
Empty file modified debian/changelog
100755 → 100644
Empty file.
Empty file modified debian/compat
100755 → 100644
Empty file.
Empty file modified debian/control
100755 → 100644
Empty file.
Empty file modified debian/copyright
100755 → 100644
Empty file.
Empty file modified debian/rules
100755 → 100644
Empty file.
Empty file modified debian/source/format
100755 → 100644
Empty file.
Empty file modified debian/system-monitoring-center.lintian-overrides
100755 → 100644
Empty file.
Empty file.
2 changes: 1 addition & 1 deletion io.github.hakandundar34coding.system-monitoring-center.yml
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,4 @@ modules:
sources:
- type: git
url: https://github.com/hakandundar34coding/system-monitoring-center.git
commit: e4aa0594534121b6ffc8ab6522a72077dfc53ed2
commit: 862d5eac73b9a3f103084f1b6034c0949e5265dc
Empty file modified pyproject.toml
100755 → 100644
Empty file.
Empty file modified screenshots/sensors_tab_dark_system_theme.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/Main.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
class Application(Gtk.Application):

def __init__(self, *args, **kwargs):
super().__init__(*args, application_id="io.github.hakandundar34coding.system-monitoring-center", **kwargs)
super().__init__(*args, application_id="io.github.hakandundar34coding.system-monitoring-center2", **kwargs)
self.window = None

def do_activate(self):
Expand Down
5 changes: 4 additions & 1 deletion src/MainGUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,9 @@ def main_gui_performance_summary_headerbar_loop_func(self):
# ----------------------- Called for adapting to system color scheme on systems with newer versions than GTK3. -----------------------
def main_gui_adapt_color_scheme_for_gtk4_based_systems_func(self):

# This method works in Flatpak environment but "gir1.2-handy-1" may not be installed on systems with GTK3 only. Additionally, this method works about 10 times slower than the other method (Gio.Settings).
# This method works in Flatpak environment if host OS DE is GTK4 based.
# "gir1.2-handy-1" may not be installed on systems with GTK3 only.
# Additionally, this method works about 10 times slower than the other method (Gio.Settings).
if Config.environment_type == "flatpak":

try:
Expand All @@ -279,6 +281,7 @@ def main_gui_adapt_color_scheme_for_gtk4_based_systems_func(self):
style_manager.set_color_scheme(Handy.ColorScheme.PREFER_LIGHT)

# This method does not work in Flatpak environment.
# It works on systems with GTK3 and GTK4 based DEs.
else:

gi.require_version('Gio', '2.0')
Expand Down
281 changes: 175 additions & 106 deletions src/Processes.py

Large diffs are not rendered by default.

Empty file modified system-monitoring-center.spec
100755 → 100644
Empty file.

0 comments on commit 1436ef8

Please sign in to comment.