mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:07:45 +00:00
ClipboardHistory: Use the "edit-copy" icon instead of a colorized one
This commit is contained in:
parent
ee7693afa0
commit
721572410e
2 changed files with 2 additions and 2 deletions
Binary file not shown.
Before Width: | Height: | Size: 1.8 KiB |
|
@ -58,7 +58,7 @@ int main(int argc, char* argv[])
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto app_icon = GUI::Icon::default_icon("clipboard");
|
auto app_icon = GUI::Icon::default_icon("edit-copy");
|
||||||
|
|
||||||
auto main_window = GUI::Window::construct();
|
auto main_window = GUI::Window::construct();
|
||||||
main_window->set_title("Clipboard history");
|
main_window->set_title("Clipboard history");
|
||||||
|
@ -94,7 +94,7 @@ int main(int argc, char* argv[])
|
||||||
applet_window->set_title("ClipboardHistory");
|
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<GUI::ImageWidget>();
|
auto& icon = applet_window->set_main_widget<GUI::ImageWidget>();
|
||||||
icon.load_from_file("/res/icons/16x16/clipboard.png");
|
icon.load_from_file("/res/icons/16x16/edit-copy.png");
|
||||||
icon.set_fill_with_background_color(true);
|
icon.set_fill_with_background_color(true);
|
||||||
icon.on_click = [&main_window = *main_window] {
|
icon.on_click = [&main_window = *main_window] {
|
||||||
main_window.show();
|
main_window.show();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue