summaryrefslogtreecommitdiff
path: root/stickynotes/stickynotes.c
diff options
context:
space:
mode:
authorColomban Wendling <[email protected]>2021-10-07 18:42:36 +0200
committerraveit65 <[email protected]>2021-11-09 22:39:33 +0100
commit63b52c7b872258270f7f75d52dcf4edff83cefc3 (patch)
treeea57a2f7d6c4b429cedbbd7f94bd94a05744db48 /stickynotes/stickynotes.c
parente4f0153c22cf9639953ce28c4e6e7cda1ef064d9 (diff)
downloadmate-applets-63b52c7b872258270f7f75d52dcf4edff83cefc3.tar.bz2
mate-applets-63b52c7b872258270f7f75d52dcf4edff83cefc3.tar.xz
stickynotes: Restore note popup menu that got lost in 37a85e35448f8
Diffstat (limited to 'stickynotes/stickynotes.c')
-rw-r--r--stickynotes/stickynotes.c10
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 ();
}