diff options
author | Colomban Wendling <[email protected]> | 2021-10-07 18:42:36 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-10-26 16:00:45 +0200 |
commit | d3527344f928d0352e6ec92e6e6d954374664e71 (patch) | |
tree | eeaf2f2aeeb2d4e21713ded6f6488e554022b8a5 /stickynotes/stickynotes.c | |
parent | 130e2e12a7d5e54165b25effee5fadb1693a096a (diff) | |
download | mate-applets-d3527344f928d0352e6ec92e6e6d954374664e71.tar.bz2 mate-applets-d3527344f928d0352e6ec92e6e6d954374664e71.tar.xz |
stickynotes: Restore note popup menu that got lost in 37a85e35448f8
Diffstat (limited to 'stickynotes/stickynotes.c')
-rw-r--r-- | stickynotes/stickynotes.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/stickynotes/stickynotes.c b/stickynotes/stickynotes.c index 978e731e..698a83d7 100644 --- a/stickynotes/stickynotes.c +++ b/stickynotes/stickynotes.c @@ -163,9 +163,9 @@ stickynote_new_aux (GdkScreen *screen, note->w_menu = GTK_WIDGET (gtk_builder_get_object (builder, "stickynote_menu")); - note->ta_lock_toggle_item = - GTK_TOGGLE_ACTION (gtk_builder_get_object (builder, - "popup_toggle_lock")); + note->w_lock_toggle_item = + GTK_CHECK_MENU_ITEM (gtk_builder_get_object (builder, + "popup_toggle_lock")); note->w_properties = GTK_WIDGET (gtk_builder_get_object (builder, @@ -715,8 +715,8 @@ stickynote_set_locked (StickyNote *note, gtk_image_set_pixel_size (note->img_lock, STICKYNOTES_ICON_SIZE); - gtk_toggle_action_set_active (note->ta_lock_toggle_item, - locked); + gtk_check_menu_item_set_active (note->w_lock_toggle_item, + locked); stickynotes_applet_update_menus (); } |