summaryrefslogtreecommitdiff
path: root/applets/wncklet/showdesktop.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-04-26 14:12:03 +0200
committerStefano Karapetsas <[email protected]>2014-04-26 14:12:03 +0200
commitc12158d5ac51aee5c857f06104d8803213cd42fd (patch)
tree395a2420ab9cadd9c0db3fd48375557c70b76422 /applets/wncklet/showdesktop.c
parent522567f336b5920c869ff45aa60d8cecdac0b640 (diff)
downloadmate-panel-c12158d5ac51aee5c857f06104d8803213cd42fd.tar.bz2
mate-panel-c12158d5ac51aee5c857f06104d8803213cd42fd.tar.xz
Use about dialog from libmate-desktop
Diffstat (limited to 'applets/wncklet/showdesktop.c')
-rw-r--r--applets/wncklet/showdesktop.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/applets/wncklet/showdesktop.c b/applets/wncklet/showdesktop.c
index abee22bc..efe19ab2 100644
--- a/applets/wncklet/showdesktop.c
+++ b/applets/wncklet/showdesktop.c
@@ -33,6 +33,8 @@
#define WNCK_I_KNOW_THIS_IS_UNSTABLE
#include <libwnck/libwnck.h>
+#include <libmate-desktop/mate-aboutdialog.h>
+
#include "wncklet.h"
#include "showdesktop.h"
@@ -479,7 +481,7 @@ static void display_about_dialog(GtkAction* action, ShowDesktopData* sdd)
"Copyright \xc2\xa9 2011 Perberos\n"
"Copyright \xc2\xa9 2002 Red Hat, Inc.";
- gtk_show_about_dialog(GTK_WINDOW(sdd->applet),
+ mate_show_about_dialog(GTK_WINDOW(sdd->applet),
"program-name", _("Show Desktop Button"),
"authors", authors,
"comments", _("This button lets you hide all windows and show the desktop."),