aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2021-06-08 20:50:55 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-10-30 21:17:30 +0200
commit6090ab1119ce7947c66d56d168989877f54a29b1 (patch)
tree91fd0611d813077aeedfdb298e1b87643d5f1e10
parent1ef24c379f8d142180f77ecfe2ab43093c3b7a64 (diff)
downloadnx-libs-6090ab1119ce7947c66d56d168989877f54a29b1.tar.gz
nx-libs-6090ab1119ce7947c66d56d168989877f54a29b1.tar.bz2
nx-libs-6090ab1119ce7947c66d56d168989877f54a29b1.zip
nxdialog: rework comments
-rwxr-xr-xnxdialog/bin/nxdialog13
1 files changed, 5 insertions, 8 deletions
diff --git a/nxdialog/bin/nxdialog b/nxdialog/bin/nxdialog
index ab0dbf17f..8713b77c1 100755
--- a/nxdialog/bin/nxdialog
+++ b/nxdialog/bin/nxdialog
@@ -8,7 +8,7 @@
# shebang line.
# Copyright (C) 2008 Google Inc.
-# Copyright (C) 2019 Ulrich Sibiller <uli42@gmx.de>
+# Copyright (C) 2019-2021 Ulrich Sibiller <uli42@gmx.de>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -29,13 +29,13 @@
# Google project "neatx" (https://code.google.com/archive/p/neatx/).
# List of changes:
# - pulled in the few parts of the neatx python modules that are actually
-# to make it a standlone script
+# required to make it a standlone script
# - added usage output
# - dropped logging code, print errors to stderr
# - can handle the "yesno" dialog type
# - added missing docstrings
# - pylint improvements
-# - removed neatx entry from the pulldoww menu
+# - removed neatx entry from the pulldown menu
# - use PyGObject instead of PyGtk and thus Gtk3
# - replace optparse by argparse
# - make code compatible to python2 and python3.
@@ -46,11 +46,8 @@
# nxcomp library assumes this script is located in /usr/NX/bin/nxclient
#
# Examples:
-# nxdialog --dialog yesno --message "message text" --caption "message title" --parent 0
-# nxdialog --dialog pulldown --message "message text" --caption "message title" \
-# --window 0x123456 --parent 0
-#
-# pylint: disable=fixme, broad-except
+# nxdialog --dialog yesno --message "text" --caption "title" --parent 0
+# nxdialog --dialog pulldown --message "text" --caption "title" --window 0x123456 --parent 0
from __future__ import print_function