[fractal/login-development-notice: 7/7] login: set expectations for dev version
- From: Julian Sparber <jsparber src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [fractal/login-development-notice: 7/7] login: set expectations for dev version
- Date: Wed, 23 Jun 2021 07:06:28 +0000 (UTC)
commit 270b3e54fc6b2494016d9148f568811613592b19
Author: Alexandre Franke <afranke gnome org>
Date: Fri Jun 18 18:22:36 2021 +0200
login: set expectations for dev version
data/resources/style.css | 6 ++++++
data/resources/ui/login.ui | 19 +++++++++++++++++++
2 files changed, 25 insertions(+)
---
diff --git a/data/resources/style.css b/data/resources/style.css
index 62cbe1b9..2c452d83 100644
--- a/data/resources/style.css
+++ b/data/resources/style.css
@@ -23,6 +23,12 @@
min-width: 250px;
}
+#devnotice {
+ background-color: @warning_color;
+ padding: 6px;
+ border-radius: 10px;
+}
+
/* Session */
.session-loading-spinner {
min-width: 32px;
diff --git a/data/resources/ui/login.ui b/data/resources/ui/login.ui
index ef85b38d..f1affe0c 100644
--- a/data/resources/ui/login.ui
+++ b/data/resources/ui/login.ui
@@ -60,6 +60,25 @@
<property name="visible">False</property>
</object>
</child>
+ <child>
+ <object class="GtkBox">
+ <property name="name">devnotice</property>
+ <child>
+ <object class="GtkImage" id="development_icon">
+ <property name="icon-name">dialog-warning-symbolic</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkLabel" id="development_notice">
+ <property name="label" translatable="yes">You are running an early stage
development version. Be aware it is a work in progress and far from complete yet.</property>
+ <property name="wrap">True</property>
+ <style>
+ <class name="warning"/>
+ </style>
+ </object>
+ </child>
+ </object>
+ </child>
<child>
<object class="GtkListBox">
<child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]