]> gitweb.michael.orlitzky.com - xfce4-hdaps.git/blobdiff - panel-plugin/xfce4-hdaps-dialogs.c
Update the PLUGIN_WEBSITE constant.
[xfce4-hdaps.git] / panel-plugin / xfce4-hdaps-dialogs.c
index d57b8f4070bd4dddd0253970f8b84fc48f5392de..c919f8c23602e62603f8a1bd1cfce8ccc3848ce7 100644 (file)
@@ -36,7 +36,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,
@@ -219,30 +219,22 @@ static void hdaps_mailto_handler(GtkAboutDialog *about,
 
 
 void hdaps_about(XfcePanelPlugin *plugin) {
-  GdkPixbuf *icon;
-
   const gchar *authors[] = { "Michael Orlitzky <michael@orlitzky.com>", 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,
                        "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));
 }