soc.2008.finch: be5379ee: Add libpurple version to --version (-v) ...

queueram at soc.pidgin.im queueram at soc.pidgin.im
Thu Jun 18 21:40:22 EDT 2009


-----------------------------------------------------------------
Revision: be5379ee6452f0ab9155b265d2d5679a6ef56051
Ancestor: 966d87f2886478c304f36f4b9941b9877ec87e52
Author: queueram at soc.pidgin.im
Date: 2009-06-19T01:38:44
Branch: im.pidgin.soc.2008.finch
URL: http://d.pidgin.im/viewmtn/revision/info/be5379ee6452f0ab9155b265d2d5679a6ef56051

Modified files:
        finch/finch.c

ChangeLog: 

Add libpurple version to --version (-v) in finch.

-------------- next part --------------
============================================================
--- finch/finch.c	8c094d9ed8ac527472c39e24646f71cea6ccbc54
+++ finch/finch.c	4054fa739222be0136b0cd17c24ad1cd2ee52bbd
@@ -294,7 +294,8 @@ init_libpurple(int argc, char **argv)
 	if (opt_version) {
 		/* Translators may want to transliterate the name.
 		 It is not to be translated. */
-		printf("%s %s\n", _("Finch"), DISPLAY_VERSION);
+		printf("%s %s (libpurple %s)\n", _("Finch"), DISPLAY_VERSION,
+		                                 purple_core_get_version());
 		return 0;
 	}
 


More information about the Commits mailing list