Skip to content

Commit

Permalink
fix regression: can't set label of notification menu item
Browse files Browse the repository at this point in the history
if a stock icon is also specified for the menu item.
  • Loading branch information
step- committed Jun 30, 2023
1 parent 67d4f67 commit ff1a104
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/notification.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ popup_menu_cb (GtkStatusIcon *icon, guint button, guint activate_time, gpointer
if (b)
{
SETUNDEPR (item, gtk_image_menu_item_new_from_stock, d->icon, NULL);
gtk_menu_item_set_label (GTK_MENU_ITEM (item), d->name);
}
else
{
Expand Down

0 comments on commit ff1a104

Please sign in to comment.