diff options
author | Fabrice Creuzot <[email protected]> | 2025-04-04 21:32:37 +0200 |
---|---|---|
committer | Luke from DC <[email protected]> | 2025-04-06 07:08:05 +0000 |
commit | 4eb7c11eaffc769bd1d75739e710230b28e2882e (patch) | |
tree | fc6c8a843d2867e7e6bf992bfc94b9d1d746aea6 /src/themes | |
parent | b715adce6b31147bc10498b54bdb914f3a342b78 (diff) | |
download | mate-notification-daemon-master.tar.bz2 mate-notification-daemon-master.tar.xz |
Diffstat (limited to 'src/themes')
-rw-r--r-- | src/themes/nodoka/nodoka-theme.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/themes/nodoka/nodoka-theme.c b/src/themes/nodoka/nodoka-theme.c index c520368..10801f5 100644 --- a/src/themes/nodoka/nodoka-theme.c +++ b/src/themes/nodoka/nodoka-theme.c @@ -419,8 +419,12 @@ fill_background(GtkWidget *widget, WindowData *windata, cairo_t *cr) static void draw_stripe(GtkWidget *widget, WindowData *windata, cairo_t *cr) { + int stripe_x = 0; + if (gtk_widget_get_direction (widget) == GTK_TEXT_DIR_RTL) + stripe_x = windata->width - STRIPE_WIDTH - stripe_x; + cairo_save (cr); - cairo_rectangle (cr, 0, 0, STRIPE_WIDTH, windata->height); + cairo_rectangle (cr, stripe_x, 0, STRIPE_WIDTH, windata->height); cairo_clip (cr); gdouble color_mult = 1.0; |