Skip to content

Commit

Permalink
Revert "fix issue Guake#1747"
Browse files Browse the repository at this point in the history
This reverts commit be570b9.
  • Loading branch information
ChristianCelora committed Feb 25, 2022
1 parent be570b9 commit 076e92c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
5 changes: 0 additions & 5 deletions guake/guake_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion guake/terminal.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 0 additions & 6 deletions releasenotes/notes/bugfix-9eef9bb673862b57.yaml

This file was deleted.

0 comments on commit 076e92c

Please sign in to comment.