summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgnome-about.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnome-about.py b/gnome-about.py
index 4414a90..2e89287 100755
--- a/gnome-about.py
+++ b/gnome-about.py
@@ -1245,8 +1245,12 @@ contributors list) correctly positionned and sized.'''
gtk.main_quit ()
if __name__ == "__main__":
+ if gnome.gnome_python_version < (2, 21, 0):
+ shortarg = "v"
+ else:
+ shortarg = ""
popt_table = [
- ("gnome-version", "", None, None, 0,
+ ("gnome-version", shortarg, None, None, 0,
_("Display information on this GNOME version"), "")
]
program = gnome.program_init ("gnome-about", VERSION,