diff options
author | Ikey Doherty <[email protected]> | 2016-11-17 00:55:48 +0000 |
---|---|---|
committer | monsta <[email protected]> | 2017-02-14 17:03:17 +0400 |
commit | 3d51b589ec4e64b4b8beea783cf3336aac4e6cd7 (patch) | |
tree | 00f2e31c6e8a8bf66b08c7e0d279fad30e8a6c09 /src/themes | |
parent | 471a3762c1b1b1515c8e5975e78ad5ebb11986d1 (diff) | |
download | mate-notification-daemon-3d51b589ec4e64b4b8beea783cf3336aac4e6cd7.tar.bz2 mate-notification-daemon-3d51b589ec4e64b4b8beea783cf3336aac4e6cd7.tar.xz |
themes/slider: Vertically center the pie_countdown
Prior to this change we could end up with a warped pie countdown if the
buttons were of a larger size, breaking the constraints of the pie to be
vertically stretched.
Signed-off-by: Ikey Doherty <[email protected]>
Diffstat (limited to 'src/themes')
-rw-r--r-- | src/themes/slider/theme.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/themes/slider/theme.c b/src/themes/slider/theme.c index 46c32cd..d7d4823 100644 --- a/src/themes/slider/theme.c +++ b/src/themes/slider/theme.c @@ -722,6 +722,7 @@ void add_notification_action(GtkWindow* nw, const char* text, const char* key, A if (!windata->pie_countdown) { windata->pie_countdown = gtk_drawing_area_new(); gtk_widget_set_halign (windata->pie_countdown, GTK_ALIGN_END); + gtk_widget_set_valign (windata->pie_countdown, GTK_ALIGN_CENTER); gtk_widget_show(windata->pie_countdown); gtk_box_pack_end (GTK_BOX (windata->actions_box), windata->pie_countdown, FALSE, TRUE, 0); |