[california] Use edit-clear symbolic instead of edit-delete: Closes bgo#730461



commit 5947a75ea47c909cd9b5d411a744eb844637e060
Author: Yosef Or Boczko <yoseforb src gnome org>
Date:   Thu May 22 17:12:57 2014 -0700

    Use edit-clear symbolic instead of edit-delete: Closes bgo#730461

 src/host/host-quick-create-event.vala |    3 +++
 src/rc/quick-create-event.ui          |    1 -
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/host/host-quick-create-event.vala b/src/host/host-quick-create-event.vala
index 42da468..af33921 100644
--- a/src/host/host-quick-create-event.vala
+++ b/src/host/host-quick-create-event.vala
@@ -41,6 +41,9 @@ public class QuickCreateEvent : Gtk.Grid, Toolkit.Card {
                 model.add(calendar_source);
         }
         
+        details_entry.secondary_icon_name = get_direction() == Gtk.TextDirection.RTL
+            ? "edit-clear-rtl-symbolic" : "edit-clear-symbolic";
+        
         // make first item active
         calendar_combo_box.active = 0;
         
diff --git a/src/rc/quick-create-event.ui b/src/rc/quick-create-event.ui
index 431e8a8..827d36d 100644
--- a/src/rc/quick-create-event.ui
+++ b/src/rc/quick-create-event.ui
@@ -89,7 +89,6 @@
             <property name="hexpand">True</property>
             <property name="activates_default">True</property>
             <property name="width_chars">40</property>
-            <property name="secondary_icon_name">edit-delete-symbolic</property>
             <signal name="icon-release" handler="on_details_entry_icon_release" 
object="CaliforniaHostQuickCreateEvent" swapped="no"/>
           </object>
           <packing>


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