diff options
author | Stefano Karapetsas <[email protected]> | 2014-04-26 14:12:03 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-04-26 14:12:03 +0200 |
commit | c12158d5ac51aee5c857f06104d8803213cd42fd (patch) | |
tree | 395a2420ab9cadd9c0db3fd48375557c70b76422 /applets/wncklet | |
parent | 522567f336b5920c869ff45aa60d8cecdac0b640 (diff) | |
download | mate-panel-c12158d5ac51aee5c857f06104d8803213cd42fd.tar.bz2 mate-panel-c12158d5ac51aee5c857f06104d8803213cd42fd.tar.xz |
Use about dialog from libmate-desktop
Diffstat (limited to 'applets/wncklet')
-rw-r--r-- | applets/wncklet/showdesktop.c | 4 | ||||
-rw-r--r-- | applets/wncklet/window-list.c | 3 | ||||
-rw-r--r-- | applets/wncklet/window-menu.c | 4 | ||||
-rw-r--r-- | applets/wncklet/workspace-switcher.c | 3 |
4 files changed, 10 insertions, 4 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."), diff --git a/applets/wncklet/window-list.c b/applets/wncklet/window-list.c index 721aef22..954fb577 100644 --- a/applets/wncklet/window-list.c +++ b/applets/wncklet/window-list.c @@ -23,6 +23,7 @@ #include <libwnck/libwnck.h> #include <gio/gio.h> +#include <libmate-desktop/mate-aboutdialog.h> #if GTK_CHECK_VERSION (3, 0, 0) #define MATE_DESKTOP_USE_UNSTABLE_API #include <libmate-desktop/mate-desktop-utils.h> @@ -579,7 +580,7 @@ static void display_about_dialog(GtkAction* action, TasklistData* tasklist) "Copyright \xc2\xa9 2011 Perberos\n" "Copyright \xc2\xa9 2002 Red Hat, Inc."; - gtk_show_about_dialog(GTK_WINDOW(tasklist->applet), + mate_show_about_dialog(GTK_WINDOW(tasklist->applet), "program-name", _("Window List"), "authors", authors, "comments", _("The Window List shows a list of all windows in a set of buttons and lets you browse them."), diff --git a/applets/wncklet/window-menu.c b/applets/wncklet/window-menu.c index 86701b96..76dfdc58 100644 --- a/applets/wncklet/window-menu.c +++ b/applets/wncklet/window-menu.c @@ -38,6 +38,8 @@ #include <gdk/gdkkeysyms-compat.h> #endif +#include <libmate-desktop/mate-aboutdialog.h> + #define WNCK_I_KNOW_THIS_IS_UNSTABLE #include <libwnck/libwnck.h> @@ -81,7 +83,7 @@ static void window_menu_about(GtkAction* action, WindowMenu* window_menu) "Copyright \xc2\xa9 2001 Free Software Foundation, Inc.\n" "Copyright \xc2\xa9 2000 Helix Code, Inc."; - gtk_show_about_dialog(GTK_WINDOW(window_menu->applet), + mate_show_about_dialog(GTK_WINDOW(window_menu->applet), "program-name", _("Window Selector"), "authors", authors, "comments", _("The Window Selector shows a list of all windows in a menu and lets you browse them."), diff --git a/applets/wncklet/workspace-switcher.c b/applets/wncklet/workspace-switcher.c index d35155a2..bf6e365d 100644 --- a/applets/wncklet/workspace-switcher.c +++ b/applets/wncklet/workspace-switcher.c @@ -25,6 +25,7 @@ #include <libwnck/libwnck.h> #include <gio/gio.h> +#include <libmate-desktop/mate-aboutdialog.h> #include <libmate-desktop/mate-gsettings.h> #include "workspace-switcher.h" @@ -603,7 +604,7 @@ static void display_about_dialog(GtkAction* action, PagerData* pager) "Copyright \xc2\xa9 2011 Perberos\n" "Copyright \xc2\xa9 2002 Red Hat, Inc."; - gtk_show_about_dialog(GTK_WINDOW(pager->applet), + mate_show_about_dialog(GTK_WINDOW(pager->applet), "program-name", _("Workspace Switcher"), "authors", authors, "comments", _("The Workspace Switcher shows you a small version of your workspaces that lets you manage your windows."), |