Commit aba71355 authored by Jaden Goter's avatar Jaden Goter

Added a few newlines for clarity and fixed pylint errors.

parent c89440cb
Pipeline #174516 passed with stage
in 4 minutes and 47 seconds
......@@ -62,6 +62,7 @@ class OverlayStack(Gtk.Overlay, Loggable):
self.resize_status = Gtk.Label(name="resize_status")
self.revealer.add(self.resize_status)
self.add_overlay(self.revealer)
self.composition_guidelines_overlay = CompositionGuidelinesOverlay(self)
self.add_overlay(self.composition_guidelines_overlay)
self.composition_guidelines_overlay.hide()
......
......@@ -14,7 +14,6 @@
#
# You should have received a copy of the GNU Lesser General Public
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
# pylint: disable=attribute-defined-outside-init
import collections
from gettext import gettext as _
......@@ -92,6 +91,8 @@ class ViewerContainer(Gtk.Box, Loggable):
self.target = None
self.overlay_stack = None
self._last_guidelines = set()
self._create_ui()
self._create_actions()
......@@ -200,8 +201,8 @@ class ViewerContainer(Gtk.Box, Loggable):
def _create_ui(self):
"""Creates the Viewer GUI."""
# pylint: disable=attribute-defined-outside-init
self.set_orientation(Gtk.Orientation.VERTICAL)
self.external_window = Gtk.Window()
vbox = Gtk.Box()
vbox.set_orientation(Gtk.Orientation.VERTICAL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment