gnome-desktop r4999 - trunk/gnome-about
- From: vuntz svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-desktop r4999 - trunk/gnome-about
- Date: Mon, 11 Feb 2008 18:27:01 +0000 (GMT)
Author: vuntz
Date: Mon Feb 11 18:27:01 2008
New Revision: 4999
URL: http://svn.gnome.org/viewvc/gnome-desktop?rev=4999&view=rev
Log:
2008-02-11 Vincent Untz <vuntz gnome org>
* gnome-about.in: add a --version option to restore compatibility
Fix bug #509566
Modified:
trunk/gnome-about/ChangeLog
trunk/gnome-about/gnome-about.in
Modified: trunk/gnome-about/gnome-about.in
==============================================================================
--- trunk/gnome-about/gnome-about.in (original)
+++ trunk/gnome-about/gnome-about.in Mon Feb 11 18:27:01 2008
@@ -1017,12 +1017,20 @@
action="store_true",
dest="gnome_version",
help=_("Display information on this GNOME version")),
+ # FIXME: remove this when we can get all the default
+ # options
+ make_option ("--version",
+ action="store_true",
+ dest="version",
+ help=VERSION),
])
#FIXME: http://bugzilla.gnome.org/show_bug.cgi?id=496278
parser.parse_args (sys.argv)
if parser.values.gnome_version:
about = GnomeAbout (ui = False)
about.gnome_version ()
+ elif parser.values.version:
+ print "GNOME gnome-about %s" % (VERSION)
else:
about = GnomeAbout ()
about.show_all ()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]