summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYosef Or Boczko <yoseforb@gmail.com>2022-10-12 20:35:52 +0300
committerYosef Or Boczko <yoseforb@gmail.com>2022-10-12 20:35:52 +0300
commit17bb7958463982cc72dfebaac086ae6b66bb6f6a (patch)
tree9839f7fb1c111f3222f88b20c7fb95b3bfde0434
parent11a34a1d287f6a77b6c82ec83ef6088b62ea235c (diff)
downloadgnome-calendar-17bb7958463982cc72dfebaac086ae6b66bb6f6a.tar.gz
gcal-week-grid: Fix wrong x postion for events in RTL
Every event in RTL languages is drawn in the wrong place. As a result the week view is totally unusable. Fix this. #817 Signed-off-by: Yosef Or Boczko <yoseforb@gmail.com>
-rw-r--r--src/gui/views/gcal-week-grid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/views/gcal-week-grid.c b/src/gui/views/gcal-week-grid.c
index 50f721ef..45cd2e9c 100644
--- a/src/gui/views/gcal-week-grid.c
+++ b/src/gui/views/gcal-week-grid.c
@@ -794,7 +794,7 @@ gcal_week_grid_size_allocate (GtkWidget *widget,
if (ltr)
x = column_width * i + offset + 1;
else
- x = width - event_width - (column_width * i + offset + x + 1);
+ x = width - event_width - (column_width * i + offset + 1);
/* Setup the child position and size */
child_allocation.x = x;