[gnome-flashback] desktop: fix grid point position
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-flashback] desktop: fix grid point position
- Date: Wed, 13 Nov 2019 22:33:15 +0000 (UTC)
commit e55eaed25d9763de9769918b1c2d363d55d01bc6
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Wed Nov 13 21:29:17 2019 +0200
desktop: fix grid point position
gnome-flashback/libdesktop/gf-monitor-view.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnome-flashback/libdesktop/gf-monitor-view.c b/gnome-flashback/libdesktop/gf-monitor-view.c
index efab104..74a2c06 100644
--- a/gnome-flashback/libdesktop/gf-monitor-view.c
+++ b/gnome-flashback/libdesktop/gf-monitor-view.c
@@ -317,8 +317,8 @@ gf_monitor_view_draw (GtkWidget *widget,
int x;
int y;
- x = self->offset_x + c * self->spacing_x + self->spacing_x / 2;
- y = self->offset_y + r * self->spacing_y + self->spacing_y / 2;
+ x = self->offset_x + c * self->spacing_x + self->icon_width / 2;
+ y = self->offset_y + r * self->spacing_y + self->icon_height / 2;
cairo_move_to (cr, x - 3, y);
cairo_line_to (cr, x + 3, y);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]