lang: fix widgets close #768
This commit is contained in:
parent
f749969c07
commit
874212e166
@ -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()
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user