From 5420bcb92d0bd79ea359eeda20da2ccf8bbac876 Mon Sep 17 00:00:00 2001 From: jeffser Date: Mon, 8 Jul 2024 11:41:20 -0600 Subject: [PATCH] Fixed welcome dialog --- src/window.py | 8 ++++++-- src/window.ui | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/window.py b/src/window.py index 81e469c..0e30c0d 100644 --- a/src/window.py +++ b/src/window.py @@ -253,8 +253,12 @@ class AlpacaWindow(Adw.ApplicationWindow): def welcome_carousel_page_changed(self, carousel, index): if index == 0: self.welcome_previous_button.set_sensitive(False) else: self.welcome_previous_button.set_sensitive(True) - if index == carousel.get_n_pages()-1: self.welcome_next_button.set_label(_("Close")) - else: self.welcome_next_button.set_label(_("Next")) + if index == carousel.get_n_pages()-1: + self.welcome_next_button.set_label(_("Close")) + self.welcome_next_button.set_tooltip_text(_("Close")) + else: + self.welcome_next_button.set_label(_("Next")) + self.welcome_next_button.set_tooltip_text(_("Next")) @Gtk.Template.Callback() def welcome_previous_button_activate(self, button): diff --git a/src/window.ui b/src/window.ui index d3b0f3e..98923bd 100644 --- a/src/window.ui +++ b/src/window.ui @@ -930,7 +930,7 @@ By downloading any model you accept their license agreement available on the mod false folder-download-symbolic 3 - Pull 'Gemma 2 (latest)' + Pull 'Gemma2 (latest)'