commit 2023b4972c906a6aa7b16d4452a257410c368b22 Author: Nur Kholis Majid Date: Fri Feb 3 10:54:07 2012 +0700 Reduce flag icon size. diff --git a/panel-plugin/xkb-cairo.c b/panel-plugin/xkb-cairo.c index 3b828ec..6b274d7 100644 --- a/panel-plugin/xkb-cairo.c +++ b/panel-plugin/xkb-cairo.c @@ -88,13 +88,13 @@ xkb_cairo_draw_flag (cairo_t *cr, rsvg_handle_get_dimensions (handle, &dim); - scalex = (double) (width - 4) / dim.width; - scaley = (double) (height - 4) / dim.height; + scalex = (double) (width - 8) / dim.width; + scaley = (double) (height - 8) / dim.height; if (handle) { - layoutx = (actual_width - width) / 2 + 2; - layouty = (actual_height - height) / 2 + 2; + layoutx = (actual_width - width) / 2 + 4; + layouty = (actual_height - height) / 2 + 4; cairo_translate (cr, layoutx, layouty); //cairo_translate (cr, 2, 2); )