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

Commit 698b7b3

Browse files
Changes for new version (v2.26.0)
1 parent 5dd1e7f commit 698b7b3

File tree

8 files changed

+42
-8
lines changed

8 files changed

+42
-8
lines changed

Changes.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# System Monitoring Center
22

3+
### v2.26.0 (31.10.2023)
4+
* New: Portage package count (System tab)
5+
* Add: Dialog for end of support announcement for SMC v2.x.x
6+
* Disabled GPU usage and GPU memory columns (Processes tab)
7+
* Minor improvements (code, translations, etc.)
8+
9+
### v1.43.12 (17.10.2023)
10+
* Add: Dialog for end of support announcement for SMC v1.x.x
11+
312
### v2.25.1 (13.10.2023)
413
* Fix: High memory consumption in some cases (AMD GPUs)
514
* Disabled external tool usage for video engine load (AMD GPU)

data/io.github.hakandundar34coding.system-monitoring-center.appdata.xml.in

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,16 @@
9898
</screenshot>
9999
</screenshots>
100100
<releases>
101+
<release version="2.26.0" date="2023-10-31">
102+
<description>
103+
<ul>
104+
<li>New: Portage package count (System tab)</li>
105+
<li>Add: Dialog for end of support announcement for SMC v2.x.x</li>
106+
<li>Disabled GPU usage and GPU memory columns (Processes tab)</li>
107+
<li>Minor improvements (code, translations, etc.)</li>
108+
</ul>
109+
</description>
110+
</release>
101111
<release version="2.25.1" date="2023-10-13">
102112
<description>
103113
<ul>

debian/changelog

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
system-monitoring-center (2.26.0) unstable; urgency=medium
2+
3+
* New: Portage package count (System tab)
4+
* Add: Dialog for end of support announcement for SMC v2.x.x
5+
* Disabled GPU usage and GPU memory columns (Processes tab)
6+
* Minor improvements (code, translations, etc.)
7+
8+
-- Hakan Dündar <[email protected]> Tue, 31 Oct 2023 10:30:00 +0300
9+
110
system-monitoring-center (2.25.1) unstable; urgency=medium
211

312
* Fix: High memory consumption in some cases (AMD GPUs)

io.github.hakandundar34coding.system-monitoring-center.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,5 @@ modules:
5656
sources:
5757
- type: git
5858
url: https://github.com/hakandundar34coding/system-monitoring-center.git
59-
commit: 99ded81df1d1516f314b93bf21c2eb0912553630
59+
commit: fe0ff5120e2b0475f5219cf9debe7be5cf644863
6060

src/Common.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -936,7 +936,6 @@ def reset_tab_settings(TabObject):
936936
if len(TabObject.row_data_list) < len(Config.processes_data_column_order):
937937
Config.config_default_processes_func()
938938
Config.config_save_func()
939-
print(1)
940939
elif TabObject.name == "Users":
941940
if len(TabObject.row_data_list) < len(Config.users_data_column_order):
942941
Config.config_default_users_func()

src/Config.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ def config_default_reset_all_func(self):
7575
Run functions for all default settings.
7676
"""
7777

78+
self.end_of_support_for_v2_dialog_dont_show = 0
79+
7880
self.config_default_general_general_func()
7981
self.config_default_performance_summary_func()
8082
self.config_default_performance_cpu_func()
@@ -281,6 +283,10 @@ def config_get_values_func(self):
281283
self.summary_show_gpu_usage = float(config_values[config_variables.index("summary_show_gpu_usage")])
282284
else:
283285
pass
286+
if "end_of_support_for_v2_dialog_dont_show" in config_variables:
287+
self.end_of_support_for_v2_dialog_dont_show = int(config_values[config_variables.index("end_of_support_for_v2_dialog_dont_show")])
288+
else:
289+
pass
284290

285291
self.chart_line_color_cpu_percent = [float(value) for value in config_values[config_variables.index("chart_line_color_cpu_percent")].strip("[]").split(", ")]
286292
self.show_cpu_usage_per_core = int(config_values[config_variables.index("show_cpu_usage_per_core")])
@@ -402,6 +408,7 @@ def config_save_func(self):
402408
config_write_text = config_write_text + "remember_last_selected_hardware = " + str(self.remember_last_selected_hardware) + "\n"
403409
config_write_text = config_write_text + "remember_window_size = " + str(self.remember_window_size) + "\n"
404410
config_write_text = config_write_text + "main_window_opacity = " + str(self.main_window_opacity) + "\n"
411+
config_write_text = config_write_text + "end_of_support_for_v2_dialog_dont_show = " + str(self.end_of_support_for_v2_dialog_dont_show) + "\n"
405412
config_write_text = config_write_text + "\n"
406413

407414
config_write_text = config_write_text + "[Performance Tab - Summary]" + "\n"

src/System.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ def loop_func(self):
468468
current_gtk_version = Libsysmon.get_current_gtk_version()
469469
current_desktop_environment, current_desktop_environment_version, windowing_system, window_manager, current_display_manager = Libsysmon.get_desktop_environment_and_version_windowing_system_window_manager_display_manager()
470470
# Run this function in a separate thread because it may take a long time (2-3 seconds) to get the information on some systems (such as rpm based systems) and it blocks the GUI during this process if a separate thread is not used.
471-
threading.Thread(target=self.apt_or_rpm_or_pacman_or_apk_packages_count_func, daemon=True).start()
471+
threading.Thread(target=self.system_packages_count_func, daemon=True).start()
472472
threading.Thread(target=self.flatpak_packages_count_func, daemon=True).start()
473473

474474

@@ -495,7 +495,7 @@ def loop_func(self):
495495
self.computer_name_label.set_label(host_name)
496496
self.architecture_label.set_label(cpu_architecture)
497497
self.number_of_monitors_label.set_label(f'{number_of_monitors}')
498-
#self.system_packages_label.set_label(f'{apt_or_rpm_or_pacman_or_apk_packages_count}')
498+
#self.system_packages_label.set_label(f'{system_packages_count}')
499499
#self.flatpak_packages_label.set_label(f'{flatpak_packages_count}')
500500
self.gtk_version_label.set_label(current_gtk_version)
501501
self.python_version_label.set_label(f'{current_python_version}')
@@ -582,10 +582,10 @@ def get_computer_hardware_information(self):
582582
GLib.idle_add(self.set_multiple_label_text, label_list, label_data_list)
583583

584584

585-
def apt_or_rpm_or_pacman_or_apk_packages_count_func(self):
586-
apt_or_rpm_or_pacman_or_apk_packages_count = Libsysmon.get_installed_apt_rpm_pacman_apk_packages()
585+
def system_packages_count_func(self):
586+
system_packages_count = Libsysmon.get_installed_system_packages()
587587
# Stop and hide spinner and set label text.
588-
GLib.idle_add(Common.set_label_spinner, self.system_packages_label, self.system_packages_spinner_label, apt_or_rpm_or_pacman_or_apk_packages_count)
588+
GLib.idle_add(Common.set_label_spinner, self.system_packages_label, self.system_packages_spinner_label, system_packages_count)
589589

590590

591591
def flatpak_packages_count_func(self):

src/__version__

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.25.1
1+
2.26.0

0 commit comments

Comments
 (0)