summaryrefslogtreecommitdiff
path: root/grc/gui/Notebook.py
Commit message (Collapse)AuthorAgeFilesLines
* grc: pep8 formattingJosh Morman2021-11-241-3/+6
| | | | Signed-off-by: Josh Morman <jmorman@gnuradio.org>
* grc: prevent search keystrokes from modifying flowgraphClayton Smith2020-08-191-1/+4
| | | | | | | | | | | | | | | A confluence of bugs introduced while updating GRC to Python 3 results in keystrokes being sent to the drawing area while typing in the block search box. First, the drawing area needs to be placed in a Viewport before being added into a ScrolledWindow. Fixing this allows the drawing area to grab focus as intended when it is clicked. Second, the drawing area needs to unselect all blocks when it loses focus so that the relevant keystroke actions can be disabled. This functionality was commented out during the transition to Python 3, and I've restored it here.
* python: Remove unnecessary 'from __future__ import'Oleksandr Kravchuk2020-08-031-1/+0
| | | | | | | | | | | | | | | | All of the removed `from __future__ import` were needed in older versions of Python (mostly 2.5.x and below) but later became mandatory in most versions of Python 3 hence are not necessary anymore. More specifically, according to __future__.py[1]: - unicode_literals is part of Python since versions 2.6.0 and 3.0.0; - print_function is part of Python since versions 2.6.0 and 3.0.0; - absolute_import is part of Python since versions 2.5.0 and 3.0.0; - division is part of Python since versions 2.2.0 and 3.0.0; Get rid of those unnecessary imports to slightly clean up the codebase. [1] https://github.com/python/cpython/blob/master/Lib/__future__.py
* grc: show file path as tooltip in tab labeljapm482020-04-031-0/+9
| | | | Fixes #3294.
* Update license header to SPDX formatdevnulling2020-01-271-13/+2
|
* [grc] better path handling in generator (merges #1473)Håkon Vågsether2017-09-301-1/+1
|
* grc: gtk3: Small fixes for PR 1299Seth Hitefield2017-05-111-1/+8
|
* grc: gtk3: Converted actions to Gio.Action instead of Gtk.ActionSeth Hitefield2017-05-031-11/+33
|
* grc: gtk3: fix block layout sizes when zoomingSebastian Koslowski2017-01-111-1/+0
|
* grc: refactor: Moved the notebook and console into separate classes.Seth Hitefield2016-09-231-0/+159