[gnome-builder] create-project: allow expanding languages row
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] create-project: allow expanding languages row
- Date: Sat, 16 Sep 2017 22:05:24 +0000 (UTC)
commit 8cd7c4fd958088e4ed69bcf9692ad03e0a0e5781
Author: Christian Hergert <chergert redhat com>
Date: Sat Sep 16 15:05:05 2017 -0700
create-project: allow expanding languages row
If we have more languages, we will need to be able to expand here.
.../create-project/gbp-create-project-widget.ui | 34 ++++++++++++++++++--
1 files changed, 31 insertions(+), 3 deletions(-)
---
diff --git a/plugins/create-project/gbp-create-project-widget.ui
b/plugins/create-project/gbp-create-project-widget.ui
index edc2864..2917cdd 100644
--- a/plugins/create-project/gbp-create-project-widget.ui
+++ b/plugins/create-project/gbp-create-project-widget.ui
@@ -94,7 +94,7 @@
</child>
<child>
- <object class="GtkLabel">
+ <object class="GtkLabel" id="language_label">
<property name="halign">end</property>
<property name="label" translatable="yes">Language</property>
<property name="visible">true</property>
@@ -191,7 +191,6 @@
<property name="row">4</property>
</packing>
</child>
-
<child>
<object class="GtkBox">
<property name="visible">true</property>
@@ -221,7 +220,35 @@
<property name="row">3</property>
</packing>
</child>
-
+ <child>
+ <object class="GtkBox">
+ <property name="visible">true</property>
+ <child>
+ <object class="GtkToggleButton" id="language_more">
+ <property name="active" bind-source="project_language_chooser"
bind-property="show-more" bind-flags="bidirectional"/>
+ <property name="sensitive" bind-source="project_language_chooser"
bind-property="has-more"/>
+ <property name="valign">start</property>
+ <property name="vexpand">false</property>
+ <property name="visible">true</property>
+ <property name="focus-on-click">false</property>
+ <style>
+ <class name="flat"/>
+ <class name="image-button"/>
+ </style>
+ <child>
+ <object class="GtkImage">
+ <property name="icon-name">view-more-symbolic</property>
+ <property name="visible">true</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="column">right</property>
+ <property name="row">2</property>
+ </packing>
+ </child>
</object>
</child>
<child>
@@ -268,6 +295,7 @@
<widget name="project_name_label"/>
<widget name="project_name_entry"/>
<widget name="license_label"/>
+ <widget name="language_label"/>
</widgets>
</object>
</interface>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]