[gnome-shell] st: Fix spacing on right icon in entry



commit 954d262d674f597a35a4b4342a6d4fc41dc8ff43
Author: Florian Müllner <fmuellner gnome org>
Date:   Tue Sep 10 21:59:21 2013 +0200

    st: Fix spacing on right icon in entry
    
    https://bugzilla.gnome.org/show_bug.cgi?id=705779

 src/st/st-entry.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/st/st-entry.c b/src/st/st-entry.c
index ed5f303..c00caa4 100644
--- a/src/st/st-entry.c
+++ b/src/st/st-entry.c
@@ -469,7 +469,7 @@ st_entry_allocate (ClutterActor          *actor,
       clutter_actor_allocate (right_icon, &icon_box, flags);
 
       /* reduce the size for the entry */
-      child_box.x2 -= icon_w - priv->spacing;
+      child_box.x2 -= icon_w + priv->spacing;
     }
 
   clutter_actor_get_preferred_height (priv->entry, child_box.x2 - child_box.x1,


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