Skip to content

Commit

Permalink
Remove the code related to the docker container feature (#381)
Browse files Browse the repository at this point in the history
  • Loading branch information
stsdc authored Oct 9, 2024
1 parent 0f107c9 commit 2e2a048
Show file tree
Hide file tree
Showing 16 changed files with 1 addition and 1,533 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

![Monitor Screenshot](https://github.com/stsdc/monitor/raw/dev/data/screenshots/monitor-processes.png)
![Monitor Screenshot](https://github.com/stsdc/monitor/raw/dev/data/screenshots/monitor-system.png)
![Monitor Screenshot](https://github.com/stsdc/monitor/raw/dev/data/screenshots/monitor-containers.png)

## Install

Expand Down
5 changes: 0 additions & 5 deletions data/com.github.stsdc.monitor.gschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,6 @@
<default>2</default>
<summary>Update time</summary>
<description>This value sets update time for updating data and charts.</description>
</key>
<key type='b' name="containers-view-state">
<default>false</default>
<summary>To show Containers view or not</summary>
<description>To show Containers view or not</description>
</key>
</schema>
</schemalist>
3 changes: 1 addition & 2 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ Build-Depends: meson,
libudisks2-dev,
libxnvctrl0,
libxnvctrl-dev,
libcurl4-gnutls-dev,
libjson-glib-dev,
libflatpak-dev,
sassc
Expand All @@ -25,4 +24,4 @@ Standards-Version: 4.1.1
Package: com.github.stsdc.monitor
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: Manage processes and monitor system resources. And containers
Description: Manage processes and monitor system resources
2 changes: 0 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ app_dependencies = [
meson.get_compiler('c').find_library('XNVCtrl'),
meson.get_compiler('c').find_library('X11'),
meson.get_compiler('vala').find_library('libxnvctrl', dirs: vapidir),
meson.get_compiler('vala').find_library('libcurl', dirs: vapidir),
meson.get_compiler('c').find_library('libcurl', dirs: vapidir),
]


Expand Down
10 changes: 0 additions & 10 deletions src/MainWindow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ public class Monitor.MainWindow : Hdy.ApplicationWindow {

public ProcessView process_view;
public SystemView system_view;
public ContainerView container_view;
private Gtk.Stack stack;

private Statusbar statusbar;
Expand All @@ -32,17 +31,12 @@ public class Monitor.MainWindow : Hdy.ApplicationWindow {

process_view = new ProcessView ();
system_view = new SystemView (resources);
container_view = new ContainerView ();

stack = new Gtk.Stack ();
stack.set_transition_type (Gtk.StackTransitionType.SLIDE_LEFT_RIGHT);
stack.add_titled (process_view, "process_view", _("Processes"));
stack.add_titled (system_view, "system_view", _("System"));

if (MonitorApp.settings.get_boolean ("containers-view-state")) {
stack.add_titled (container_view, "container_view", _("Containers"));
}


Gtk.StackSwitcher stack_switcher = new Gtk.StackSwitcher ();
stack_switcher.valign = Gtk.Align.CENTER;
Expand Down Expand Up @@ -79,10 +73,6 @@ public class Monitor.MainWindow : Hdy.ApplicationWindow {
Timeout.add_seconds (MonitorApp.settings.get_int ("update-time"), () => {
process_view.update ();


container_view.update ();


Idle.add (() => {
system_view.update ();
dbusserver.indicator_state (MonitorApp.settings.get_boolean ("indicator-state"));
Expand Down
263 changes: 0 additions & 263 deletions src/Managers/Container.vala

This file was deleted.

Loading

0 comments on commit 2e2a048

Please sign in to comment.