[gnome-builder/wip/project-selector] project-selector: make clone UI a bit clearer



commit 83ea7bb3c28b75134c60fae8d868ac74e1330c5e
Author: Christian Hergert <christian hergert me>
Date:   Fri Apr 3 16:03:21 2015 -0700

    project-selector: make clone UI a bit clearer

 data/ui/gb-new-project-dialog.ui |  119 ++++++++++++++++++++++++-------------
 1 files changed, 77 insertions(+), 42 deletions(-)
---
diff --git a/data/ui/gb-new-project-dialog.ui b/data/ui/gb-new-project-dialog.ui
index fc3925a..bd06b7d 100644
--- a/data/ui/gb-new-project-dialog.ui
+++ b/data/ui/gb-new-project-dialog.ui
@@ -295,63 +295,98 @@
             </child>
             <child>
               <object class="GtkBox">
-                <property name="orientation">horizontal</property>
+                <property name="orientation">vertical</property>
                 <property name="expand">true</property>
                 <property name="spacing">12</property>
                 <property name="visible">true</property>
-                <child type="center">
-                  <object class="GtkBox">
-                    <property name="orientation">vertical</property>
-                    <property name="spacing">12</property>
-                    <property name="halign">center</property>
-                    <property name="hexpand">false</property>
+                <child>
+                  <object class="GtkImage">
                     <property name="valign">center</property>
-                    <property name="vexpand">false</property>
+                    <property name="vexpand">true</property>
+                    <property name="icon-name">gitg</property>
+                    <property name="pixel-size">128</property>
                     <property name="visible">true</property>
-                    <child>
-                      <object class="GtkEntry" id="clone_uri_entry">
-                        <property name="hexpand">true</property>
-                        <property name="width-chars">35</property>
-                        <property name="placeholder-text" translatable="yes">ssh://user 
host:repository.git</property>
-                        <property name="visible">true</property>
-                      </object>
-                    </child>
-                    <child>
-                      <object class="GtkFileChooserButton" id="clone_location_button">
-                        <property name="action">select-folder</property>
-                        <property name="hexpand">true</property>
-                        <property name="visible">true</property>
-                      </object>
-                    </child>
                   </object>
                 </child>
-                <child>
+                <child type="center">
                   <object class="GtkBox">
-                    <property name="orientation">vertical</property>
+                    <property name="orientation">horizontal</property>
+                    <property name="expand">true</property>
                     <property name="spacing">12</property>
-                    <property name="hexpand">true</property>
-                    <property name="vexpand">true</property>
-                    <property name="valign">center</property>
-                    <property name="halign">end</property>
                     <property name="visible">true</property>
-                    <child>
-                      <object class="GtkLabel" id="clone_uri_label">
-                        <property name="label" translatable="yes">Repository URL</property>
+                    <child type="center">
+                      <object class="GtkBox">
+                        <property name="orientation">vertical</property>
+                        <property name="spacing">12</property>
+                        <property name="halign">center</property>
+                        <property name="hexpand">false</property>
+                        <property name="valign">center</property>
+                        <property name="vexpand">false</property>
                         <property name="visible">true</property>
-                        <property name="xalign">1.0</property>
-                        <style>
-                          <class name="dim-label"/>
-                        </style>
+                        <child>
+                          <object class="GtkBox">
+                            <property name="visible">true</property>
+                            <style>
+                              <class name="linked"/>
+                            </style>
+                            <child>
+                              <object class="GtkLabel">
+                                <property name="visible">true</property>
+                                <property name="label" translatable="yes">Git</property>
+                                <style>
+                                  <class name="button"/>
+                                </style>
+                              </object>
+                            </child>
+                            <child>
+                              <object class="GtkEntry" id="clone_uri_entry">
+                                <property name="hexpand">true</property>
+                                <property name="width-chars">35</property>
+                                <property name="placeholder-text" translatable="yes">user 
host:repository.git</property>
+                                <property name="tooltip-text" translatable="yes">Enter the URL of your 
project's source code repository.</property>
+                                <property name="visible">true</property>
+                              </object>
+                            </child>
+                          </object>
+                        </child>
+                        <child>
+                          <object class="GtkFileChooserButton" id="clone_location_button">
+                            <property name="action">select-folder</property>
+                            <property name="hexpand">true</property>
+                            <property name="visible">true</property>
+                          </object>
+                        </child>
                       </object>
                     </child>
                     <child>
-                      <object class="GtkLabel" id="clone_location_label">
-                        <property name="label" translatable="yes">Location</property>
+                      <object class="GtkBox">
+                        <property name="orientation">vertical</property>
+                        <property name="spacing">12</property>
+                        <property name="hexpand">true</property>
+                        <property name="vexpand">true</property>
+                        <property name="valign">center</property>
+                        <property name="halign">end</property>
                         <property name="visible">true</property>
-                        <property name="xalign">1.0</property>
-                        <style>
-                          <class name="dim-label"/>
-                        </style>
+                        <child>
+                          <object class="GtkLabel" id="clone_uri_label">
+                            <property name="label" translatable="yes">Repository</property>
+                            <property name="visible">true</property>
+                            <property name="xalign">1.0</property>
+                            <style>
+                              <class name="dim-label"/>
+                            </style>
+                          </object>
+                        </child>
+                        <child>
+                          <object class="GtkLabel" id="clone_location_label">
+                            <property name="label" translatable="yes">Location</property>
+                            <property name="visible">true</property>
+                            <property name="xalign">1.0</property>
+                            <style>
+                              <class name="dim-label"/>
+                            </style>
+                          </object>
+                        </child>
                       </object>
                     </child>
                   </object>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]