diff options
author | raveit65 <[email protected]> | 2016-07-30 21:02:36 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-07-30 21:02:36 +0200 |
commit | 3a50eb19defa7416ae8857e6617b4d2beb375b02 (patch) | |
tree | b873743af6f19b4d58de8f6e02b337d903f24e1c /src/caja-file-management-properties.c | |
parent | fb2849550b6916b6d0399a163a756ec3b911d704 (diff) | |
download | caja-3a50eb19defa7416ae8857e6617b4d2beb375b02.tar.bz2 caja-3a50eb19defa7416ae8857e6617b4d2beb375b02.tar.xz |
use GtkAbout instead of MateAbout
Diffstat (limited to 'src/caja-file-management-properties.c')
-rw-r--r-- | src/caja-file-management-properties.c | 22 |
1 files changed, 10 insertions, 12 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)); |