1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 08:57:34 +00:00

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 Mode=scaled
[Applet] [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(); 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); applet_window->set_window_type(GUI::WindowType::MenuApplet);
auto& icon = applet_window->set_main_widget<IconWidget>(); auto& icon = applet_window->set_main_widget<IconWidget>();
icon.on_click = [&main_window = *main_window] { icon.on_click = [&main_window = *main_window] {