summaryrefslogtreecommitdiff
path: root/stickynotes/stickynotes_applet.c
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-02-26 11:50:20 +0300
committerStefano Karapetsas <[email protected]>2015-03-15 18:58:51 +0100
commit9ff3e1b03e0beae87a6a77451c738cc8f34ec7c8 (patch)
tree9068b8f6c85d926e0cc1cf4fe1139687d8e18e40 /stickynotes/stickynotes_applet.c
parent8b02bc96f1e48a5dbcc459c8898464a891c01e0e (diff)
downloadmate-applets-9ff3e1b03e0beae87a6a77451c738cc8f34ec7c8.tar.bz2
mate-applets-9ff3e1b03e0beae87a6a77451c738cc8f34ec7c8.tar.xz
stickynotes: use mate_panel_applet_set_background_widget
Diffstat (limited to 'stickynotes/stickynotes_applet.c')
-rw-r--r--stickynotes/stickynotes_applet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stickynotes/stickynotes_applet.c b/stickynotes/stickynotes_applet.c
index ed5563ae..eb50f36d 100644
--- a/stickynotes/stickynotes_applet.c
+++ b/stickynotes/stickynotes_applet.c
@@ -404,11 +404,11 @@ StickyNotesApplet * stickynotes_applet_new(MatePanelApplet *mate_panel_applet)
G_CALLBACK(applet_size_allocate_cb), applet);
g_signal_connect(G_OBJECT(applet->w_applet), "change-orient",
G_CALLBACK(applet_change_orient_cb), applet);
- g_signal_connect(G_OBJECT(applet->w_applet), "change_background",
- G_CALLBACK(applet_change_bg_cb), applet);
g_signal_connect(G_OBJECT(applet->w_applet), "destroy",
G_CALLBACK(applet_destroy_cb), applet);
+ mate_panel_applet_set_background_widget (mate_panel_applet, applet->w_applet);
+
atk_obj = gtk_widget_get_accessible (applet->w_applet);
atk_object_set_name (atk_obj, _("Sticky Notes"));