Skip to content

Commit

Permalink
MenuApplets: Rename CPUGraph to ResourceGraph
Browse files Browse the repository at this point in the history
The plan is to extend what currently is known as "CPUGraph" and let the
SystemServer spawn multiple instances of it - which then can show memory
or network usages as well :^)

Simply renaming the applet is the first step.
  • Loading branch information
linusg authored and awesomekling committed Apr 11, 2020
1 parent ea58563 commit b46a8d7
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Base/etc/SystemServer.ini
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ User=anon
KeepAlive=1
User=anon

[CPUGraph.MenuApplet]
[ResourceGraph.MenuApplet]
KeepAlive=1
User=anon

Expand Down
2 changes: 1 addition & 1 deletion Base/etc/WindowServer/WindowServer.ini
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ DoubleClickSpeed=250
Mode=scaled

[Applet]
Order=Clock,Audio,CPUGraph,UserName
Order=Clock,Audio,ResourceGraph,UserName
2 changes: 1 addition & 1 deletion Kernel/build-root-filesystem.sh
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ cp ../Servers/NotificationServer/NotificationServer mnt/bin/NotificationServer
cp ../Servers/WebServer/WebServer mnt/bin/WebServer
cp ../Shell/Shell mnt/bin/Shell
cp ../MenuApplets/Audio/Audio.MenuApplet mnt/bin/
cp ../MenuApplets/CPUGraph/CPUGraph.MenuApplet mnt/bin/
cp ../MenuApplets/ResourceGraph/ResourceGraph.MenuApplet mnt/bin/
cp ../MenuApplets/Clock/Clock.MenuApplet mnt/bin/
cp ../MenuApplets/UserName/UserName.MenuApplet mnt/bin
echo "done"
Expand Down
1 change: 0 additions & 1 deletion MenuApplets/CPUGraph/.gitignore

This file was deleted.

1 change: 1 addition & 0 deletions MenuApplets/ResourceGraph/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ResourceGraph.MenuApplet
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
OBJS = main.o

PROGRAM = CPUGraph.MenuApplet
PROGRAM = ResourceGraph.MenuApplet

LIB_DEPS = GUI IPC Gfx Thread Pthread Core

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ int main(int argc, char** argv)
}

auto window = GUI::Window::construct();
window->set_title("CPUGraph");
window->set_title("ResourceGraph");
window->set_window_type(GUI::WindowType::MenuApplet);
window->resize(30, 16);

Expand Down

0 comments on commit b46a8d7

Please sign in to comment.