diff options
author | Lukáš Tyrychtr <lukastyrychtr@gmail.com> | 2022-02-28 09:58:47 +0000 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2022-03-08 15:45:54 +0100 |
commit | 28322e82991639146b0f72ecf5513d3cd4bfde36 (patch) | |
tree | 4a750664916649080ccca4d8b96bf7be43056241 | |
parent | 041077276468333e09313e77927ce722daabd507 (diff) | |
download | network-manager-applet-28322e82991639146b0f72ecf5513d3cd4bfde36.tar.gz |
applet: make the tooltip of the status icon available for screen readers
https://gitlab.gnome.org/GNOME/network-manager-applet/-/merge_requests/109
-rw-r--r-- | src/applet.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/applet.c b/src/applet.c index 0d5e7493..bc7099f6 100644 --- a/src/applet.c +++ b/src/applet.c @@ -2795,8 +2795,10 @@ applet_update_icon (gpointer user_data) } else applet->tip = g_strdup (dev_tip); - if (applet->status_icon) - gtk_status_icon_set_tooltip_text (applet->status_icon, applet->tip); + if (applet->status_icon) { + gtk_status_icon_set_tooltip_text (applet->status_icon, applet->tip); + gtk_status_icon_set_title (applet->status_icon, applet->tip); + } return FALSE; } |