[gnome-software] update dialog: Tweak new permissions section
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] update dialog: Tweak new permissions section
- Date: Tue, 15 Jan 2019 13:48:39 +0000 (UTC)
commit af3a1320f8c5c7b89b57a76331d4c3fa3c8cf08d
Author: Kalev Lember <klember redhat com>
Date: Tue Jan 15 11:21:14 2019 +0100
update dialog: Tweak new permissions section
Move it so that it comes before the scrollable update notes area, and
change the text from "New System Access" to "Requires additional
permissions", as per latest mockups.
https://gitlab.gnome.org/Teams/Design/software-mockups/blob/master/updates-dialogs.png
src/gs-update-dialog.ui | 72 +++++++++++++++++++++++++------------------------
1 file changed, 37 insertions(+), 35 deletions(-)
---
diff --git a/src/gs-update-dialog.ui b/src/gs-update-dialog.ui
index 73bb8463..8e23c00b 100644
--- a/src/gs-update-dialog.ui
+++ b/src/gs-update-dialog.ui
@@ -166,6 +166,36 @@
</child>
</object>
</child>
+ <child>
+ <object class="GtkBox" id="permissions_section_box">
+ <property name="visible">True</property>
+ <property name="orientation">vertical</property>
+ <property name="spacing">6</property>
+ <property name="margin_top">12</property>
+ <property name="margin_bottom">18</property>
+ <child>
+ <object class="GtkLabel" id="permissions_section_title">
+ <property name="visible">True</property>
+ <property name="xalign">0</property>
+ <property name="halign">start</property>
+ <property name="margin_bottom">6</property>
+ <property name="label" translatable="yes">Requires additional permissions</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
+ </object>
+ </child>
+ <child>
+ <object class="GtkBox" id="permissions_section_content">
+ <property name="visible">True</property>
+ <property name="orientation">vertical</property>
+ <property name="spacing">12</property>
+ <property name="margin-start">18</property>
+ <property name="margin-end">18</property>
+ </object>
+ </child>
+ </object>
+ </child>
<child>
<object class="GtkScrolledWindow" id="scrolledwindow_details">
<property name="visible">True</property>
@@ -175,44 +205,16 @@
<property name="vscrollbar_policy">automatic</property>
<property name="shadow_type">none</property>
<child>
- <object class="GtkBox">
+ <object class="GtkLabel" id="label_details">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
- <property name="spacing">20</property>
- <child>
- <object class="GtkLabel" id="label_details">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="yalign">0</property>
- <property name="margin">6</property>
- <property name="label">New in kmod 14-1
+ <property name="xalign">0</property>
+ <property name="yalign">0</property>
+ <property name="margin">6</property>
+ <property name="label">New in kmod 14-1
* Moo
* bar</property>
- <property name="wrap">True</property>
- <property name="selectable">True</property>
- </object>
- </child>
- <child>
- <object class="GtkLabel" id="permissions_section_title">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="halign">start</property>
- <property name="margin">6</property>
- <property name="label" translatable="yes">New System Access</property>
- <attributes>
- <attribute name="weight" value="bold"/>
- </attributes>
- </object>
- </child>
- <child>
- <object class="GtkBox" id="permissions_section_content">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <property name="spacing">12</property>
- <property name="margin-start">18</property>
- <property name="margin-end">18</property>
- </object>
- </child>
+ <property name="wrap">True</property>
+ <property name="selectable">True</property>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]