diff --git a/guake/guake_app.py b/guake/guake_app.py index 423e4d638..6a9be59bc 100644 --- a/guake/guake_app.py +++ b/guake/guake_app.py @@ -203,9 +203,6 @@ def load_schema(): self.notebook_manager.set_workspace(0) self.set_tab_position() - # store the font scale index - self.scale_index = 0 - # check and set ARGB for real transparency self.update_visual() self.window.get_screen().connect("composited-changed", self.update_visual) @@ -937,13 +934,11 @@ def accel_reset_terminal(self, *args): def accel_zoom_in(self, *args): """Callback to zoom in.""" - self.scale_index += 1 for term in self.get_notebook().iter_terminals(): term.increase_font_size() return True def accel_zoom_out(self, *args): - self.scale_index -= 1 """Callback to zoom out.""" for term in self.get_notebook().iter_terminals(): term.decrease_font_size() diff --git a/guake/terminal.py b/guake/terminal.py index 0baa98dad..2a6b559b7 100644 --- a/guake/terminal.py +++ b/guake/terminal.py @@ -492,7 +492,7 @@ def browse_link_under_cursor(self): def set_font(self, font): self.font = font - self.set_font_scale_index(self.guake.scale_index) + self.set_font_scale_index(0) def set_font_scale_index(self, scale_index): self.font_scale_index = clamp(scale_index, -6, 12) diff --git a/releasenotes/notes/bugfix-9eef9bb673862b57.yaml b/releasenotes/notes/bugfix-9eef9bb673862b57.yaml deleted file mode 100644 index fdebcbd39..000000000 --- a/releasenotes/notes/bugfix-9eef9bb673862b57.yaml +++ /dev/null @@ -1,6 +0,0 @@ -release_summary: > - Bugfix issue #1747. Splitting terminal should not reset font size - -fixes: - - | - broken feature has been fixed #1747