Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
System Monitoring Center
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Kayıtlar (commit)
Kenar çubuğunu aç
Hakan Dündar
System Monitoring Center
Commits
eca22200
Kaydet (Commit)
eca22200
authored
Haz 20, 2022
tarafından
Hakan Dündar
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Minor improvements
üst
e46e9a45
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
4 additions
and
176 deletions
+4
-176
ProcessesMenuCustomizations.py
src/ProcessesMenuCustomizations.py
+1
-13
ServicesMenuCustomizations.py
src/ServicesMenuCustomizations.py
+1
-13
UsersMenuCustomizations.py
src/UsersMenuCustomizations.py
+1
-13
ProcessesMenuCustomizations.ui
ui/ProcessesMenuCustomizations.ui
+1
-29
ServicesMenuCustomizations.ui
ui/ServicesMenuCustomizations.ui
+0
-54
UsersMenuCustomizations.ui
ui/UsersMenuCustomizations.ui
+0
-54
No files found.
src/ProcessesMenuCustomizations.py
Dosyayı görüntüle @
eca22200
...
...
@@ -27,7 +27,6 @@ class ProcessesMenuCustomizations:
self
.
checkbutton2102p
=
builder
.
get_object
(
'checkbutton2102p'
)
self
.
checkbutton2103p
=
builder
.
get_object
(
'checkbutton2103p'
)
self
.
button2102p
=
builder
.
get_object
(
'button2102p'
)
self
.
button2103p
=
builder
.
get_object
(
'button2103p'
)
self
.
checkbutton2106p
=
builder
.
get_object
(
'checkbutton2106p'
)
self
.
checkbutton2107p
=
builder
.
get_object
(
'checkbutton2107p'
)
self
.
checkbutton2108p
=
builder
.
get_object
(
'checkbutton2108p'
)
...
...
@@ -59,7 +58,6 @@ class ProcessesMenuCustomizations:
# Connect GUI signals
self
.
popover2101p
.
connect
(
"show"
,
self
.
on_popover2101p_show
)
self
.
button2102p
.
connect
(
"clicked"
,
self
.
on_button2102p_clicked
)
self
.
button2103p
.
connect
(
"clicked"
,
self
.
on_button2103p_clicked
)
# ----------------------- Called for connecting some of the signals in order to disconnect them for setting GUI -----------------------
...
...
@@ -202,17 +200,6 @@ class ProcessesMenuCustomizations:
Config
.
config_save_func
()
# ----------------------- "Reset column width, row sorting, etc." Button -----------------------
def
on_button2103p_clicked
(
self
,
widget
):
Config
.
config_default_processes_row_sort_column_order_func
()
# Apply changes immediately (without waiting update interval).
Processes
.
processes_initial_func
()
Processes
.
processes_loop_func
()
Config
.
config_save_func
()
# ----------------------- "Add/Remove Columns (Name, PID, Username, etc.)" Checkbuttons -----------------------
def
on_add_remove_checkbuttons_toggled
(
self
,
widget
):
...
...
@@ -491,6 +478,7 @@ class ProcessesMenuCustomizations:
Config
.
processes_treeview_columns_shown
.
append
(
18
)
# Apply changes immediately (without waiting update interval).
Processes
.
processes_treeview_column_order_width_row_sorting_func
()
Processes
.
processes_initial_func
()
Processes
.
processes_loop_func
()
Config
.
config_save_func
()
...
...
src/ServicesMenuCustomizations.py
Dosyayı görüntüle @
eca22200
...
...
@@ -32,12 +32,10 @@ class ServicesMenuCustomizations:
self
.
checkbutton6107p
=
builder
.
get_object
(
'checkbutton6107p'
)
self
.
checkbutton6108p
=
builder
.
get_object
(
'checkbutton6108p'
)
self
.
button6101p
=
builder
.
get_object
(
'button6101p'
)
self
.
button6102p
=
builder
.
get_object
(
'button6102p'
)
# Connect GUI signals
self
.
popover6101p
.
connect
(
"show"
,
self
.
on_popover6101p_show
)
self
.
button6101p
.
connect
(
"clicked"
,
self
.
on_button6101p_clicked
)
self
.
button6102p
.
connect
(
"clicked"
,
self
.
on_button6102p_clicked
)
# ----------------------- Called for connecting some of the signals in order to disconnect them for setting GUI -----------------------
...
...
@@ -92,17 +90,6 @@ class ServicesMenuCustomizations:
self
.
services_tab_customization_popover_connect_signals_func
()
# ----------------------- "Add/Remove Columns (Name, PID, Username, etc.)" Checkbuttons -----------------------
def
on_button6102p_clicked
(
self
,
widget
):
Config
.
config_default_services_row_sort_column_order_func
()
# Apply changes immediately (without waiting update interval).
# Services.services_initial_func()
# Services.Config.services_loop_func()
Config
.
config_save_func
()
# ----------------------- "Add/Remove Columns (Service Name, State, Main PID, etc.)" Checkbuttons -----------------------
def
on_add_remove_checkbuttons_toggled
(
self
,
widget
):
...
...
@@ -169,6 +156,7 @@ class ServicesMenuCustomizations:
Config
.
services_treeview_columns_shown
.
append
(
7
)
# Apply changes immediately (without waiting update interval).
Services
.
services_treeview_column_order_width_row_sorting_func
()
# Services.services_initial_func()
# Services.services_loop_func()
Config
.
config_save_func
()
...
...
src/UsersMenuCustomizations.py
Dosyayı görüntüle @
eca22200
...
...
@@ -24,7 +24,6 @@ class UsersMenuCustomizations:
# Get GUI objects
self
.
popover3101p
=
builder
.
get_object
(
'popover3101p'
)
self
.
button3101p
=
builder
.
get_object
(
'button3101p'
)
self
.
button3102p
=
builder
.
get_object
(
'button3102p'
)
self
.
checkbutton3101p
=
builder
.
get_object
(
'checkbutton3101p'
)
self
.
checkbutton3102p
=
builder
.
get_object
(
'checkbutton3102p'
)
self
.
checkbutton3103p
=
builder
.
get_object
(
'checkbutton3103p'
)
...
...
@@ -40,7 +39,6 @@ class UsersMenuCustomizations:
# Connect GUI signals
self
.
popover3101p
.
connect
(
"show"
,
self
.
on_popover3101p_show
)
self
.
button3101p
.
connect
(
"clicked"
,
self
.
on_button3101p_clicked
)
self
.
button3102p
.
connect
(
"clicked"
,
self
.
on_button3102p_clicked
)
# ----------------------- Called for connecting some of the signals in order to disconnect them for setting GUI -----------------------
...
...
@@ -101,17 +99,6 @@ class UsersMenuCustomizations:
self
.
users_tab_customization_popover_connect_signals_func
()
# ----------------------- "Reset column width, row sorting, etc." Button -----------------------
def
on_button3102p_clicked
(
self
,
widget
):
Config
.
config_default_users_row_sort_column_order_func
()
# Apply changes immediately (without waiting update interval).
Users
.
users_initial_func
()
Users
.
users_loop_func
()
Config
.
config_save_func
()
# ----------------------- "Add/Remove Columns (User Name, Full Name,, etc.)" Checkbuttons -----------------------
def
on_add_remove_checkbuttons_toggled
(
self
,
widget
):
...
...
@@ -197,6 +184,7 @@ class UsersMenuCustomizations:
Config
.
users_treeview_columns_shown
.
append
(
10
)
# Apply changes immediately (without waiting update interval).
Users
.
users_treeview_column_order_width_row_sorting_func
()
Users
.
users_initial_func
()
Users
.
users_loop_func
()
Config
.
config_save_func
()
...
...
ui/ProcessesMenuCustomizations.ui
Dosyayı görüntüle @
eca22200
...
...
@@ -35,7 +35,7 @@
<property
name=
"visible"
>
True
</property>
<property
name=
"can-focus"
>
True
</property>
<child>
<!-- n-columns=1 n-rows=
7
-->
<!-- n-columns=1 n-rows=
5
-->
<object
class=
"GtkGrid"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can-focus"
>
False
</property>
...
...
@@ -99,19 +99,6 @@
<property
name=
"top-attach"
>
4
</property>
</packing>
</child>
<child>
<object
class=
"GtkButton"
id=
"button2103p"
>
<property
name=
"label"
translatable=
"yes"
>
Reset
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can-focus"
>
True
</property>
<property
name=
"receives-default"
>
True
</property>
<property
name=
"halign"
>
start
</property>
</object>
<packing>
<property
name=
"left-attach"
>
0
</property>
<property
name=
"top-attach"
>
6
</property>
</packing>
</child>
<child>
<object
class=
"GtkLabel"
>
<property
name=
"visible"
>
True
</property>
...
...
@@ -127,21 +114,6 @@
<property
name=
"top-attach"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkLabel"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can-focus"
>
False
</property>
<property
name=
"halign"
>
start
</property>
<property
name=
"label"
translatable=
"yes"
>
Reordering/Sorting/Widths
</property>
<attributes>
<attribute
name=
"weight"
value=
"bold"
/>
</attributes>
</object>
<packing>
<property
name=
"left-attach"
>
0
</property>
<property
name=
"top-attach"
>
5
</property>
</packing>
</child>
</object>
</child>
<child
type=
"tab"
>
...
...
ui/ServicesMenuCustomizations.ui
Dosyayı görüntüle @
eca22200
...
...
@@ -34,56 +34,6 @@
<object
class=
"GtkNotebook"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can-focus"
>
True
</property>
<child>
<!-- n-columns=1 n-rows=2 -->
<object
class=
"GtkGrid"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can-focus"
>
False
</property>
<property
name=
"margin-start"
>
5
</property>
<property
name=
"margin-end"
>
5
</property>
<property
name=
"margin-top"
>
15
</property>
<property
name=
"margin-bottom"
>
5
</property>
<property
name=
"row-spacing"
>
5
</property>
<child>
<object
class=
"GtkButton"
id=
"button6102p"
>
<property
name=
"label"
translatable=
"yes"
>
Reset
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can-focus"
>
True
</property>
<property
name=
"receives-default"
>
True
</property>
<property
name=
"halign"
>
start
</property>
</object>
<packing>
<property
name=
"left-attach"
>
0
</property>
<property
name=
"top-attach"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkLabel"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can-focus"
>
False
</property>
<property
name=
"halign"
>
start
</property>
<property
name=
"label"
translatable=
"yes"
>
Reordering/Sorting/Widths
</property>
<attributes>
<attribute
name=
"weight"
value=
"bold"
/>
</attributes>
</object>
<packing>
<property
name=
"left-attach"
>
0
</property>
<property
name=
"top-attach"
>
0
</property>
</packing>
</child>
</object>
</child>
<child
type=
"tab"
>
<object
class=
"GtkLabel"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can-focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
View
</property>
</object>
<packing>
<property
name=
"tab-fill"
>
False
</property>
</packing>
</child>
<child>
<!-- n-columns=1 n-rows=2 -->
<object
class=
"GtkGrid"
>
...
...
@@ -238,9 +188,6 @@
</packing>
</child>
</object>
<packing>
<property
name=
"position"
>
1
</property>
</packing>
</child>
<child
type=
"tab"
>
<object
class=
"GtkLabel"
>
...
...
@@ -249,7 +196,6 @@
<property
name=
"label"
translatable=
"yes"
>
Add/Remove Columns
</property>
</object>
<packing>
<property
name=
"position"
>
1
</property>
<property
name=
"tab-fill"
>
False
</property>
</packing>
</child>
...
...
ui/UsersMenuCustomizations.ui
Dosyayı görüntüle @
eca22200
...
...
@@ -34,56 +34,6 @@
<object
class=
"GtkNotebook"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can-focus"
>
True
</property>
<child>
<!-- n-columns=1 n-rows=2 -->
<object
class=
"GtkGrid"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can-focus"
>
False
</property>
<property
name=
"margin-start"
>
5
</property>
<property
name=
"margin-end"
>
5
</property>
<property
name=
"margin-top"
>
15
</property>
<property
name=
"margin-bottom"
>
5
</property>
<property
name=
"row-spacing"
>
5
</property>
<child>
<object
class=
"GtkButton"
id=
"button3102p"
>
<property
name=
"label"
translatable=
"yes"
>
Reset
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can-focus"
>
True
</property>
<property
name=
"receives-default"
>
True
</property>
<property
name=
"halign"
>
start
</property>
</object>
<packing>
<property
name=
"left-attach"
>
0
</property>
<property
name=
"top-attach"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkLabel"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can-focus"
>
False
</property>
<property
name=
"halign"
>
start
</property>
<property
name=
"label"
translatable=
"yes"
>
Reordering/Sorting/Widths
</property>
<attributes>
<attribute
name=
"weight"
value=
"bold"
/>
</attributes>
</object>
<packing>
<property
name=
"left-attach"
>
0
</property>
<property
name=
"top-attach"
>
0
</property>
</packing>
</child>
</object>
</child>
<child
type=
"tab"
>
<object
class=
"GtkLabel"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can-focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
View
</property>
</object>
<packing>
<property
name=
"tab-fill"
>
False
</property>
</packing>
</child>
<child>
<!-- n-columns=1 n-rows=2 -->
<object
class=
"GtkGrid"
>
...
...
@@ -283,9 +233,6 @@
</packing>
</child>
</object>
<packing>
<property
name=
"position"
>
1
</property>
</packing>
</child>
<child
type=
"tab"
>
<object
class=
"GtkLabel"
>
...
...
@@ -294,7 +241,6 @@
<property
name=
"label"
translatable=
"yes"
>
Add/Remove Columns
</property>
</object>
<packing>
<property
name=
"position"
>
1
</property>
<property
name=
"tab-fill"
>
False
</property>
</packing>
</child>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment