[nautilus] editable-label: make the rename rectangle look a bit better
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] editable-label: make the rename rectangle look a bit better
- Date: Mon, 6 Dec 2010 16:38:24 +0000 (UTC)
commit e3feaf8d6848a92e3d077d04177e7a637b6e628b
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Dec 6 17:36:51 2010 +0100
editable-label: make the rename rectangle look a bit better
Still not perfect, but still...
eel/eel-editable-label.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/eel/eel-editable-label.c b/eel/eel-editable-label.c
index a042eaa..f2465fe 100644
--- a/eel/eel-editable-label.c
+++ b/eel/eel-editable-label.c
@@ -1837,8 +1837,8 @@ eel_editable_label_draw (GtkWidget *widget,
gdk_cairo_set_source_rgba (cr, &color);
cairo_set_line_width (cr, 1.0);
cairo_rectangle (cr, 0.5, 0.5,
- allocation.width - 1,
- allocation.height - 1);
+ allocation.width - 2,
+ allocation.height - 2);
cairo_stroke (cr);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]