[gnome-control-center] wacom: Fix frame around error message
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] wacom: Fix frame around error message
- Date: Wed, 11 Jan 2012 19:56:25 +0000 (UTC)
commit 6ff3fc49db0da04328b569315c02d510dc32be0c
Author: Bastien Nocera <hadess hadess net>
Date: Wed Jan 11 19:55:10 2012 +0000
wacom: Fix frame around error message
panels/wacom/calibrator/gui_gtk.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/panels/wacom/calibrator/gui_gtk.c b/panels/wacom/calibrator/gui_gtk.c
index 3eefb3d..aec279a 100644
--- a/panels/wacom/calibrator/gui_gtk.c
+++ b/panels/wacom/calibrator/gui_gtk.c
@@ -205,8 +205,9 @@ draw(GtkWidget *widget, cairo_t *cr, gpointer data)
x = (calib_area->display_width - logical_rect.width) / 2 + logical_rect.x;
y = (calib_area->display_height - logical_rect.height + CLOCK_RADIUS) / 2 + 60 + logical_rect.y;
cairo_set_line_width(cr, 2);
- cairo_rectangle(cr, x - 10 - 0.5 , y - logical_rect.height - 10 - 0.5,
- logical_rect.width + 20 + 1, logical_rect.height + 25 + 1);
+ cairo_rectangle(cr, x - 10 - 0.5 , y - 10 - 0.5,
+ logical_rect.width + 20 + 1, logical_rect.height + 20 + 1);
+ cairo_stroke (cr);
/* Print the message */
gtk_render_layout (context, cr,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]