From 3a50eb19defa7416ae8857e6617b4d2beb375b02 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sat, 30 Jul 2016 21:02:36 +0200 Subject: use GtkAbout instead of MateAbout --- src/caja-file-management-properties.c | 22 ++++++++++------------ src/caja-window-menus.c | 5 ++--- 2 files changed, 12 insertions(+), 15 deletions(-) (limited to 'src') 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 -#include - /* 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 #define MATE_DESKTOP_USE_UNSTABLE_API -#include #include @@ -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, -- cgit v1.2.1