From 42caaafe8379fa8e6ea208c0ebdbfbcb9ed58149 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Thu, 25 Mar 2010 14:36:56 -0400 Subject: [PATCH] Removed the redundant 'logo' property from the about dialog. Added a window icon to the about dialog. --- panel-plugin/xfce4-hdaps-dialogs.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) 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)); } -- 2.44.2