mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-14 13:32:23 +00:00
LibGUI: Add deprecated suffix to {set_,}tooltip in Widget
This commit is contained in:
parent
9b1e33af69
commit
d978dd4af8
Notes:
sideshowbarker
2024-07-18 03:35:30 +09:00
Author: https://github.com/camc 🔰
Commit: d978dd4af8
Pull-request: https://github.com/SerenityOS/serenity/pull/20312
Reviewed-by: https://github.com/AtkinsSJ ✅
32 changed files with 56 additions and 56 deletions
|
@ -32,7 +32,7 @@ GitWidget::GitWidget()
|
|||
auto& refresh_button = unstaged_header.add<GUI::Button>();
|
||||
refresh_button.set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/reload.png"sv).release_value_but_fixme_should_propagate_errors());
|
||||
refresh_button.set_fixed_size(16, 16);
|
||||
refresh_button.set_tooltip("refresh");
|
||||
refresh_button.set_tooltip_deprecated("refresh");
|
||||
refresh_button.on_click = [this](int) { refresh(); };
|
||||
|
||||
auto& unstaged_label = unstaged_header.add<GUI::Label>();
|
||||
|
@ -60,7 +60,7 @@ GitWidget::GitWidget()
|
|||
auto& commit_button = staged_header.add<GUI::Button>();
|
||||
commit_button.set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/commit.png"sv).release_value_but_fixme_should_propagate_errors());
|
||||
commit_button.set_fixed_size(16, 16);
|
||||
commit_button.set_tooltip("commit");
|
||||
commit_button.set_tooltip_deprecated("commit");
|
||||
commit_button.on_click = [this](int) { commit(); };
|
||||
|
||||
auto& staged_label = staged_header.add<GUI::Label>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue