Skip to content

Commit

Permalink
Support markup for the icon's tooltip.
Browse files Browse the repository at this point in the history
Fixes #7
  • Loading branch information
mtwebster committed May 23, 2024
1 parent 1e50748 commit 6ec6a25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/status-icon.c
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ bind_props_and_signals (StatusIcon *icon)
guint flags = G_BINDING_DEFAULT | G_BINDING_SYNC_CREATE;

g_object_bind_property (icon->proxy, "label", icon->label, "label", flags);
g_object_bind_property (icon->proxy, "tooltip-text", GTK_BUTTON (icon), "tooltip-text", flags);
g_object_bind_property (icon->proxy, "tooltip-text", GTK_BUTTON (icon), "tooltip-markup", flags);
g_object_bind_property (icon->proxy, "visible", GTK_BUTTON (icon), "visible", flags);

g_signal_connect (icon->proxy, "notify::primary-menu-is-open", G_CALLBACK (menu_visible_changed), icon);
Expand Down

0 comments on commit 6ec6a25

Please sign in to comment.