diff options
author | Clayton Smith <argilo@gmail.com> | 2020-10-12 16:13:19 -0400 |
---|---|---|
committer | Sebastian Koslowski <sebastian.koslowski@gmail.com> | 2020-10-20 15:16:48 +0200 |
commit | 272d38407f0a7460b0e3958a8dfeb71dfb342b3e (patch) | |
tree | 630b0288a329adecb70aff4036a3366e8f79b131 /grc/gui/Dialogs.py | |
parent | 629d8854863ab9ea782d0c0d648f525ed5d4c71b (diff) |
grc: fix pylint C0303: Trailing whitespace
Diffstat (limited to 'grc/gui/Dialogs.py')
-rw-r--r-- | grc/gui/Dialogs.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/grc/gui/Dialogs.py b/grc/gui/Dialogs.py index b6eed88532..d77a32651e 100644 --- a/grc/gui/Dialogs.py +++ b/grc/gui/Dialogs.py @@ -2,7 +2,7 @@ # This file is part of GNU Radio # # SPDX-License-Identifier: GPL-2.0-or-later -# +# import sys @@ -276,14 +276,14 @@ def show_help(parent): markup = textwrap.dedent("""\ <b>Usage Tips</b> \n\ - <u>Add block</u>: drag and drop or double click a block in the block + <u>Add block</u>: drag and drop or double click a block in the block selection window. <u>Rotate block</u>: Select a block, press left/right on the keyboard. <u>Change type</u>: Select a block, press up/down on the keyboard. <u>Edit parameters</u>: double click on a block in the flow graph. - <u>Make connection</u>: click on the source port of one block, then + <u>Make connection</u>: click on the source port of one block, then click on the sink port of another block. - <u>Remove connection</u>: select the connection and press delete, or + <u>Remove connection</u>: select the connection and press delete, or drag the connection. \n\ *Press Ctrl+K or see menu for Keyboard - Shortcuts @@ -324,12 +324,12 @@ def show_keyboard_shortcuts(parent): <u>Ctrl+D/B/R</u>: Toggle visibility of disabled blocks or connections/block tree widget/console. <u>Shift+T/M/B/L/C/R</u>: Vertical Align Top/Middle/Bottom and - Horizontal Align Left/Center/Right respectively of the + Horizontal Align Left/Center/Right respectively of the selected block. \ """) markup = markup.replace("Ctrl", Utils.get_modifier_key()) - + MessageDialogWrapper( parent, Gtk.MessageType.INFO, Gtk.ButtonsType.CLOSE, title='Keyboard - Shortcuts', markup=markup ).run_and_destroy() @@ -345,10 +345,10 @@ def show_get_involved(parent): You can also join our <a href="https://chat.gnuradio.org/">Matrix chat server</a>, IRC Channel (#gnuradio) or contact through our <a href="https://lists.gnu.org/mailman/listinfo/discuss-gnuradio">mailing list (discuss-gnuradio)</a>. \ """) - + MessageDialogWrapper( parent, Gtk.MessageType.QUESTION, Gtk.ButtonsType.CLOSE, title='Get - Involved', markup=markup - ).run_and_destroy() + ).run_and_destroy() def show_types(parent): @@ -364,7 +364,7 @@ def show_types(parent): MessageDialogWrapper( parent, Gtk.MessageType.INFO, Gtk.ButtonsType.CLOSE, title='Types - Color Mapping', markup=message - ).run_and_destroy() + ).run_and_destroy() def show_missing_xterm(parent, xterm): |