1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-26 03:02:17 -05:00

update checker cosmetics

This commit is contained in:
berkeviktor@aol.com 2010-08-30 12:37:09 +02:00
parent cc6e18411c
commit 4e81308c2e

View File

@ -121,10 +121,8 @@ menu_update (GtkWidget * wid, gpointer sess)
gtk_container_add (GTK_CONTAINER (vbox), label); gtk_container_add (GTK_CONTAINER (vbox), label);
g_get_charset (&locale); g_get_charset (&locale);
(snprintf) (buf, sizeof (buf), (snprintf) (buf, sizeof (buf),
"<b>Your Version</b>: "PACKAGE_VERSION"\n" "\n%s\n",
"<b>Latest Version</b>: %s%s", ((strcmp (check_version (), PACKAGE_VERSION) == 0) || (strcmp (check_version (), "Unknown") == 0)) ? "<span size=\"x-large\"><b>You have the latest version!</b></span>" : "<span size=\"x-large\"><b>Download the latest version\nfrom the website!</b></span>"
check_version ()
/*((strcmp (check_version (), PACKAGE_VERSION) != 0) && (strcmp (check_version (), "Unknown") != 0)) ? "\n\nDownload the new version from\n\n<b>http://code.google.com/p/xchat-wdk/</b>" : ""*/
); );
gtk_label_set_markup (GTK_LABEL (label), buf); gtk_label_set_markup (GTK_LABEL (label), buf);
gtk_label_set_justify (GTK_LABEL (label), GTK_JUSTIFY_CENTER); gtk_label_set_justify (GTK_LABEL (label), GTK_JUSTIFY_CENTER);