From 3d51b589ec4e64b4b8beea783cf3336aac4e6cd7 Mon Sep 17 00:00:00 2001 From: Ikey Doherty Date: Thu, 17 Nov 2016 00:55:48 +0000 Subject: 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 --- src/themes/slider/theme.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/themes/slider') 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); -- cgit v1.2.1