From: Michael Orlitzky Date: Thu, 25 Mar 2010 18:36:56 +0000 (-0400) Subject: Removed the redundant 'logo' property from the about dialog. X-Git-Tag: v0.0.6~1 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=42caaafe8379fa8e6ea208c0ebdbfbcb9ed58149;p=xfce4-hdaps.git Removed the redundant 'logo' property from the about dialog. Added a window icon to the about dialog. --- diff --git a/panel-plugin/xfce4-hdaps-dialogs.c b/panel-plugin/xfce4-hdaps-dialogs.c index d57b8f4..fb8a500 100644 --- a/panel-plugin/xfce4-hdaps-dialogs.c +++ b/panel-plugin/xfce4-hdaps-dialogs.c @@ -219,30 +219,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"; 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, "logo-icon-name", PACKAGE_NAME, + "icon-name", PACKAGE_NAME, "name", PACKAGE_NAME, "version", PACKAGE_VERSION, "website", PLUGIN_WEBSITE, "website-label", "xfce4-hdaps homepage", NULL); - - g_object_unref(G_OBJECT(icon)); }