ui: remove status
This commit is contained in:
parent
dea5efdf43
commit
c310542911
|
@ -154,11 +154,6 @@ template BavarderWindow : Adw.ApplicationWindow {
|
|||
|
||||
styles ["toolbar"]
|
||||
|
||||
Label status {
|
||||
label: _("Ready");
|
||||
|
||||
}
|
||||
|
||||
Button {
|
||||
sensitive: false;
|
||||
icon-name: "edit-copy-symbolic";
|
||||
|
|
|
@ -158,7 +158,6 @@ class BavarderApplication(Adw.Application):
|
|||
self.win.spinner.start()
|
||||
self.win.ask_button.set_visible(False)
|
||||
self.win.wait_button.set_visible(True)
|
||||
self.win.status.set_text("Loading…")
|
||||
self.prompt = self.win.prompt_text_view.get_buffer().props.text
|
||||
|
||||
def thread_run():
|
||||
|
@ -172,7 +171,6 @@ class BavarderApplication(Adw.Application):
|
|||
self.win.wait_button.set_visible(False)
|
||||
t.join()
|
||||
self.win.bot_text_view.get_buffer().set_text(response)
|
||||
self.win.status.set_text("Ready")
|
||||
|
||||
if self.clear_after_send:
|
||||
self.win.prompt_text_view.get_buffer().set_text("")
|
||||
|
|
|
@ -28,7 +28,6 @@ class BavarderWindow(Adw.ApplicationWindow):
|
|||
toast_overlay = Gtk.Template.Child()
|
||||
prompt_text_view = Gtk.Template.Child()
|
||||
bot_text_view = Gtk.Template.Child()
|
||||
status = Gtk.Template.Child()
|
||||
spinner = Gtk.Template.Child()
|
||||
ask_button = Gtk.Template.Child()
|
||||
wait_button = Gtk.Template.Child()
|
||||
|
|
Loading…
Reference in New Issue
Block a user