From 4e81308c2e59e5b18b0939a3e006f596bd2073fb Mon Sep 17 00:00:00 2001 From: "berkeviktor@aol.com" Date: Mon, 30 Aug 2010 12:37:09 +0200 Subject: update checker cosmetics --- src/fe-gtk/update.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/fe-gtk') diff --git a/src/fe-gtk/update.c b/src/fe-gtk/update.c index b967a403..34c9c1a2 100644 --- a/src/fe-gtk/update.c +++ b/src/fe-gtk/update.c @@ -121,10 +121,8 @@ menu_update (GtkWidget * wid, gpointer sess) gtk_container_add (GTK_CONTAINER (vbox), label); g_get_charset (&locale); (snprintf) (buf, sizeof (buf), - "Your Version: "PACKAGE_VERSION"\n" - "Latest Version: %s%s", - check_version () - /*((strcmp (check_version (), PACKAGE_VERSION) != 0) && (strcmp (check_version (), "Unknown") != 0)) ? "\n\nDownload the new version from\n\nhttp://code.google.com/p/xchat-wdk/" : ""*/ + "\n%s\n", + ((strcmp (check_version (), PACKAGE_VERSION) == 0) || (strcmp (check_version (), "Unknown") == 0)) ? "You have the latest version!" : "Download the latest version\nfrom the website!" ); gtk_label_set_markup (GTK_LABEL (label), buf); gtk_label_set_justify (GTK_LABEL (label), GTK_JUSTIFY_CENTER); -- cgit 1.4.1