[gnome-initial-setup/youre-welcome: 2/5] assistant: Use has-forward to hide the next button
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup/youre-welcome: 2/5] assistant: Use has-forward to hide the next button
- Date: Wed, 5 Aug 2020 22:38:18 +0000 (UTC)
commit dc08b1a9d6cc152aa52ce14ef175272d47caa23e
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Aug 5 18:02:37 2020 -0400
assistant: Use has-forward to hide the next button
gnome-initial-setup/gis-assistant.c | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/gnome-initial-setup/gis-assistant.c b/gnome-initial-setup/gis-assistant.c
index 2ea0035b..14887f66 100644
--- a/gnome-initial-setup/gis-assistant.c
+++ b/gnome-initial-setup/gis-assistant.c
@@ -239,6 +239,10 @@ update_navigation_buttons (GisAssistant *assistant)
set_suggested_action_sensitive (next_widget, FALSE);
set_navigation_button (assistant, next_widget);
}
+
+ if (gis_page_get_has_forward (page)) {
+ gtk_widget_hide (next_widget);
+ }
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]