X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=panel-plugin%2Fxfce4-hdaps-dialogs.c;h=b6da7cb95edab9e365a81dc0f243906c0ddbeba3;hb=f53133d9a33b1a3390cca82b3885a6788b42e761;hp=d57b8f4070bd4dddd0253970f8b84fc48f5392de;hpb=f0ffaaf3e333ddae3d1b04bf7ce4ac64898a4d84;p=xfce4-hdaps.git diff --git a/panel-plugin/xfce4-hdaps-dialogs.c b/panel-plugin/xfce4-hdaps-dialogs.c index d57b8f4..b6da7cb 100644 --- a/panel-plugin/xfce4-hdaps-dialogs.c +++ b/panel-plugin/xfce4-hdaps-dialogs.c @@ -1,21 +1,22 @@ /* * xfce4-hdaps, an XFCE4 panel plugin for the HDAPS system. * - * Copyright Michael Orlitzky + * Copyright (C) 2019 Michael Orlitzky * - * http://michael.orlitzky.com/ + * http://michael.orlitzky.com/ * * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details: + * + * https://www.gnu.org/licenses/agpl-3.0.html * - * http://www.fsf.org/licensing/licenses/gpl.html */ #ifdef HAVE_CONFIG_H @@ -36,7 +37,7 @@ /* If people can't read the README, well maybe * they can do it /online/. */ -#define PLUGIN_WEBSITE "http://michael.orlitzky.com/code/xfce4-hdaps.php" +#define PLUGIN_WEBSITE "http://michael.orlitzky.com/code/xfce4-hdaps.xhtml" static void hdaps_configure_response(GtkWidget *dialog, @@ -100,7 +101,7 @@ void hdaps_configure(XfcePanelPlugin *plugin, /* Create the dialog */ dialog = xfce_titled_dialog_new_with_buttons(_("Hdaps Plugin"), GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (plugin))), - GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_NO_SEPARATOR, + GTK_DIALOG_DESTROY_WITH_PARENT, GTK_STOCK_HELP, GTK_RESPONSE_HELP, GTK_STOCK_SAVE, GTK_RESPONSE_OK, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, @@ -219,30 +220,22 @@ static void hdaps_mailto_handler(GtkAboutDialog *about, void hdaps_about(XfcePanelPlugin *plugin) { - GdkPixbuf *icon; - const gchar *authors[] = { "Michael Orlitzky ", NULL }; - const gchar *copyright = "Copyright \302\251 2010 Michael Orlitzky"; + const gchar *copyright = "Copyright \302\251 2012 Michael Orlitzky"; gtk_about_dialog_set_url_hook(hdaps_url_handler, NULL, NULL); gtk_about_dialog_set_email_hook(hdaps_mailto_handler, NULL, NULL); - icon = gtk_icon_theme_load_icon(gtk_icon_theme_get_default(), - PACKAGE_NAME, - 48, 0, NULL); - gtk_show_about_dialog(NULL, "authors", authors, "copyright", copyright, "destroy-with-parent", TRUE, - "license", LICENSE_GPL3, - "logo", icon, + "license", LICENSE_AGPL3, "logo-icon-name", PACKAGE_NAME, - "name", PACKAGE_NAME, + "icon-name", PACKAGE_NAME, + "program-name", PACKAGE_NAME, "version", PACKAGE_VERSION, "website", PLUGIN_WEBSITE, "website-label", "xfce4-hdaps homepage", NULL); - - g_object_unref(G_OBJECT(icon)); }