[gnome-initial-setup/youre-welcome: 2/6] assistant: Hide the next button when requested
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup/youre-welcome: 2/6] assistant: Hide the next button when requested
- Date: Fri, 7 Aug 2020 10:46:14 +0000 (UTC)
commit 69914dde02dc6586a42072cf3701f80fc387b583
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Aug 5 18:02:37 2020 -0400
assistant: Hide the next button when requested
Use the has-forward property of pages to hide the
"Next" button. This will be used in the future for
pages that have their own "Next" button and don't
need one in the header.
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]