aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-08-03 23:53:37 +0800
committerChristian Persch <chpe@src.gnome.org>2005-08-03 23:53:37 +0800
commitf642770fa5d2fbabb305fc817e4c6963cfc01d96 (patch)
treea9506beaaf82835d1b2ca32d13f1e07eb12655e8
parent11e7d40e8fa159a122e4c98b09cfb0cd4902f342 (diff)
downloadgsoc2013-epiphany-f642770fa5d2fbabb305fc817e4c6963cfc01d96.tar
gsoc2013-epiphany-f642770fa5d2fbabb305fc817e4c6963cfc01d96.tar.gz
gsoc2013-epiphany-f642770fa5d2fbabb305fc817e4c6963cfc01d96.tar.bz2
gsoc2013-epiphany-f642770fa5d2fbabb305fc817e4c6963cfc01d96.tar.lz
gsoc2013-epiphany-f642770fa5d2fbabb305fc817e4c6963cfc01d96.tar.xz
gsoc2013-epiphany-f642770fa5d2fbabb305fc817e4c6963cfc01d96.tar.zst
gsoc2013-epiphany-f642770fa5d2fbabb305fc817e4c6963cfc01d96.zip
No need to add focus_width to borders anymore. Now we get the same height
2005-08-03 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-icon-entry.c: (ephy_icon_entry_get_borders): No need to add focus_width to borders anymore. Now we get the same height as a normal entry.
-rw-r--r--ChangeLog7
-rw-r--r--lib/widgets/ephy-icon-entry.c6
2 files changed, 7 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 234c18652..d4b585346 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2005-08-03 Christian Persch <chpe@cvs.gnome.org>
+ * lib/widgets/ephy-icon-entry.c: (ephy_icon_entry_get_borders):
+
+ No need to add focus_width to borders anymore. Now we get the
+ same height as a normal entry.
+
+2005-08-03 Christian Persch <chpe@cvs.gnome.org>
+
* lib/widgets/ephy-icon-entry.c: (ephy_icon_entry_get_borders),
(ephy_icon_entry_size_allocate):
diff --git a/lib/widgets/ephy-icon-entry.c b/lib/widgets/ephy-icon-entry.c
index 898b8cadb..1ab2dc0b6 100644
--- a/lib/widgets/ephy-icon-entry.c
+++ b/lib/widgets/ephy-icon-entry.c
@@ -75,12 +75,6 @@ ephy_icon_entry_get_borders (GtkWidget *widget,
*xborder = entry->style->xthickness;
*yborder = entry->style->ythickness;
- /* While GtkEntry does this only when !interior-focus, we need this even
- * with interior-focus, since otherwise we end up being too small.
- */
- *xborder += focus_width;
- *yborder += focus_width;
-
if (!interior_focus)
{
*xborder += focus_width;