ClipboardHistory: Always place the applet at the same location :^)

This commit is contained in:
Andreas Kling 2020-05-20 20:24:44 +02:00
parent 21cfa9acd4
commit ff4eaa12b4
2 changed files with 2 additions and 2 deletions

View file

@ -24,4 +24,4 @@ DoubleClickSpeed=250
Mode=scaled
[Applet]
Order=Clock,Audio,CPUGraph,MemoryGraph,UserName
Order=Clock,ClipboardHistory,Audio,CPUGraph,MemoryGraph,UserName

View file

@ -53,7 +53,7 @@ int main(int argc, char* argv[])
};
auto applet_window = GUI::Window::construct();
applet_window->set_title("Clipboard history");
applet_window->set_title("ClipboardHistory");
applet_window->set_window_type(GUI::WindowType::MenuApplet);
auto& icon = applet_window->set_main_widget<IconWidget>();
icon.on_click = [&main_window = *main_window] {