[california] Remove title from create/update event dialog



commit 939c2785b98471f28b3a6079885662930e9b8ef6
Author: Jim Nelson <jim yorba org>
Date:   Fri Mar 28 19:03:33 2014 -0700

    Remove title from create/update event dialog

 src/host/host-create-update-event.vala |    4 ----
 src/rc/create-update-event.ui          |   32 +++++---------------------------
 2 files changed, 5 insertions(+), 31 deletions(-)
---
diff --git a/src/host/host-create-update-event.vala b/src/host/host-create-update-event.vala
index 5efd9f8..17ed8c4 100644
--- a/src/host/host-create-update-event.vala
+++ b/src/host/host-create-update-event.vala
@@ -21,9 +21,6 @@ public class CreateUpdateEvent : Gtk.Grid, Interaction {
     public Gtk.Widget? default_widget { get { return accept_button; } }
     
     [GtkChild]
-    private Gtk.Label title_label;
-    
-    [GtkChild]
     private Gtk.Entry summary_entry;
     
     [GtkChild]
@@ -82,7 +79,6 @@ public class CreateUpdateEvent : Gtk.Grid, Interaction {
         this.event = event;
         original_calendar_source = event.calendar_source;
         
-        title_label.label = _("Update Event");
         accept_button.label = _("_Update");
         is_update = true;
         
diff --git a/src/rc/create-update-event.ui b/src/rc/create-update-event.ui
index f267612..d785f96 100644
--- a/src/rc/create-update-event.ui
+++ b/src/rc/create-update-event.ui
@@ -13,28 +13,6 @@
     <property name="row_spacing">8</property>
     <property name="column_homogeneous">True</property>
     <child>
-      <object class="GtkLabel" id="title_label">
-        <property name="visible">True</property>
-        <property name="can_focus">False</property>
-        <property name="ypad">8</property>
-        <property name="label" translatable="yes">New Event</property>
-        <property name="justify">center</property>
-        <property name="ellipsize">end</property>
-        <property name="width_chars">8</property>
-        <property name="max_width_chars">8</property>
-        <property name="lines">1</property>
-        <attributes>
-          <attribute name="weight" value="bold"/>
-        </attributes>
-      </object>
-      <packing>
-        <property name="left_attach">0</property>
-        <property name="top_attach">0</property>
-        <property name="width">2</property>
-        <property name="height">1</property>
-      </packing>
-    </child>
-    <child>
       <object class="GtkEntry" id="summary_entry">
         <property name="visible">True</property>
         <property name="can_focus">True</property>
@@ -48,7 +26,7 @@
       </object>
       <packing>
         <property name="left_attach">0</property>
-        <property name="top_attach">1</property>
+        <property name="top_attach">0</property>
         <property name="width">2</property>
         <property name="height">1</property>
       </packing>
@@ -137,7 +115,7 @@
       </object>
       <packing>
         <property name="left_attach">0</property>
-        <property name="top_attach">2</property>
+        <property name="top_attach">1</property>
         <property name="width">2</property>
         <property name="height">1</property>
       </packing>
@@ -156,7 +134,7 @@
       </object>
       <packing>
         <property name="left_attach">1</property>
-        <property name="top_attach">3</property>
+        <property name="top_attach">2</property>
         <property name="width">1</property>
         <property name="height">1</property>
       </packing>
@@ -193,7 +171,7 @@
       </object>
       <packing>
         <property name="left_attach">0</property>
-        <property name="top_attach">4</property>
+        <property name="top_attach">3</property>
         <property name="width">2</property>
         <property name="height">1</property>
       </packing>
@@ -251,7 +229,7 @@
       </object>
       <packing>
         <property name="left_attach">0</property>
-        <property name="top_attach">5</property>
+        <property name="top_attach">4</property>
         <property name="width">2</property>
         <property name="height">1</property>
       </packing>


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