lang: fix widgets close #768

This commit is contained in:
alfrix 2022-10-28 13:22:47 -03:00
parent f749969c07
commit 874212e166
2 changed files with 0 additions and 2 deletions

View File

@ -7,7 +7,6 @@ from gi.repository import Gtk, GLib
class Keyboard(Gtk.Box):
def __init__(self, screen, close_cb, entry=None):
super().__init__(orientation=Gtk.Orientation.VERTICAL)
_ = screen.lang.gettext
self._gtk = screen.gtk
self.close_cb = close_cb
self.keyboard = Gtk.Grid()

View File

@ -8,7 +8,6 @@ class Keypad(Gtk.Box):
def __init__(self, screen, change_temp, close_function):
super().__init__(orientation=Gtk.Orientation.VERTICAL)
_ = screen.lang.gettext
self.labels = {}
self.change_temp = change_temp
self.screen = screen