mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
UI: Show "Disable" title in DevTools disable button
The "disable DevTools" button looked like a "close this notification" button to me, and although a tooltip was set, it only showed up immediately on the AppKit UI and not the Qt version. This makes the behavior of clicking the disable button a lot clearer by showing a button with "Disable" as its title.
This commit is contained in:
parent
49d2a8df23
commit
acc9499c5d
Notes:
github-actions[bot]
2025-03-20 21:45:05 +00:00
Author: https://github.com/gmta
Commit: acc9499c5d
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4024
Reviewed-by: https://github.com/trflynn89 ✅
4 changed files with 6 additions and 7 deletions
|
@ -15,7 +15,7 @@ using InfoBarDismissed = void (^)(void);
|
|||
@interface InfoBar : NSStackView
|
||||
|
||||
- (void)showWithMessage:(NSString*)message
|
||||
dismissButtonTooltip:(NSString*)tooltip
|
||||
dismissButtonTitle:(NSString*)title
|
||||
dismissButtonClicked:(InfoBarDismissed)on_dimissed
|
||||
activeTab:(Tab*)tab;
|
||||
- (void)hide;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue