summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-07-30 21:02:36 +0200
committerraveit65 <[email protected]>2016-07-30 21:02:36 +0200
commit3a50eb19defa7416ae8857e6617b4d2beb375b02 (patch)
treeb873743af6f19b4d58de8f6e02b337d903f24e1c /src
parentfb2849550b6916b6d0399a163a756ec3b911d704 (diff)
downloadcaja-3a50eb19defa7416ae8857e6617b4d2beb375b02.tar.bz2
caja-3a50eb19defa7416ae8857e6617b4d2beb375b02.tar.xz
use GtkAbout instead of MateAbout
Diffstat (limited to 'src')
-rw-r--r--src/caja-file-management-properties.c22
-rw-r--r--src/caja-window-menus.c5
2 files changed, 12 insertions, 15 deletions
diff --git a/src/caja-file-management-properties.c b/src/caja-file-management-properties.c
index 258eaca3..f5d9e400 100644
--- a/src/caja-file-management-properties.c
+++ b/src/caja-file-management-properties.c
@@ -43,8 +43,6 @@
#include <libcaja-private/caja-autorun.h>
-#include <libmate-desktop/mate-aboutdialog.h>
-
/* string enum preferences */
#define CAJA_FILE_MANAGEMENT_PROPERTIES_DEFAULT_VIEW_WIDGET "default_view_combobox"
#define CAJA_FILE_MANAGEMENT_PROPERTIES_ICON_VIEW_ZOOM_WIDGET "icon_view_zoom_combobox"
@@ -620,16 +618,16 @@ static gulong extension_about_id = 0;
static void
extension_about_clicked (GtkButton *button, Extension *ext)
{
- MateAboutDialog *extension_about_dialog;
-
- extension_about_dialog = (MateAboutDialog *) mate_about_dialog_new();
- mate_about_dialog_set_program_name (extension_about_dialog, ext->name != NULL ? ext->name : ext->filename);
- mate_about_dialog_set_comments (extension_about_dialog, ext->description);
- mate_about_dialog_set_logo_icon_name (extension_about_dialog, ext->icon != NULL ? ext->icon : "system-run");
- mate_about_dialog_set_copyright (extension_about_dialog, ext->copyright);
- mate_about_dialog_set_authors (extension_about_dialog, ext->author);
- mate_about_dialog_set_version (extension_about_dialog, ext->version);
- mate_about_dialog_set_website (extension_about_dialog, ext->website);
+ GtkAboutDialog *extension_about_dialog;
+
+ extension_about_dialog = (GtkAboutDialog *) gtk_about_dialog_new();
+ gtk_about_dialog_set_program_name (extension_about_dialog, ext->name != NULL ? ext->name : ext->filename);
+ gtk_about_dialog_set_comments (extension_about_dialog, ext->description);
+ gtk_about_dialog_set_logo_icon_name (extension_about_dialog, ext->icon != NULL ? ext->icon : "system-run");
+ gtk_about_dialog_set_copyright (extension_about_dialog, ext->copyright);
+ gtk_about_dialog_set_authors (extension_about_dialog, ext->author);
+ gtk_about_dialog_set_version (extension_about_dialog, ext->version);
+ gtk_about_dialog_set_website (extension_about_dialog, ext->website);
gtk_window_set_title (GTK_WINDOW(extension_about_dialog), _("About Extension"));
gtk_dialog_run (GTK_DIALOG (extension_about_dialog));
gtk_widget_destroy (GTK_WIDGET (extension_about_dialog));
diff --git a/src/caja-window-menus.c b/src/caja-window-menus.c
index 4f1f0677..edf1bd71 100644
--- a/src/caja-window-menus.c
+++ b/src/caja-window-menus.c
@@ -56,7 +56,6 @@
#include <libcaja-private/caja-trash-monitor.h>
#define MATE_DESKTOP_USE_UNSTABLE_API
-#include <libmate-desktop/mate-aboutdialog.h>
#include <string.h>
@@ -533,14 +532,14 @@ action_about_caja_callback (GtkAction *action,
license_trans = g_strjoin ("\n\n", _(license[0]), _(license[1]),
_(license[2]), NULL);
- mate_show_about_dialog (GTK_WINDOW (user_data),
+ gtk_show_about_dialog (GTK_WINDOW (user_data),
"program-name", _("Caja"),
"version", VERSION,
"comments", _("Caja lets you organize "
"files and folders, both on "
"your computer and online."),
"copyright", _("Copyright \xC2\xA9 1999-2009 The Nautilus authors\n"
- "Copyright \xC2\xA9 2011-2014 The Caja authors"),
+ "Copyright \xC2\xA9 2011-2016 The Caja authors"),
"license", license_trans,
"wrap-license", TRUE,
"authors", authors,