From 99539628335c5c2e8dac7f4690610e6d153ffc8d Mon Sep 17 00:00:00 2001 From: raveit65 Date: Thu, 29 Jun 2017 13:21:44 +0200 Subject: clock: set a margin_start for home icon fixes https://github.com/mate-desktop/mate-panel/issues/594 Note: min value is 75 in my tests for ukraine language Reduced the margin, as it seemed to be the direct cause of a theme-independent jump. --- applets/clock/clock-location-tile.c | 1 + 1 file changed, 1 insertion(+) (limited to 'applets/clock') diff --git a/applets/clock/clock-location-tile.c b/applets/clock/clock-location-tile.c index 6a927b99..8620bb4b 100644 --- a/applets/clock/clock-location-tile.c +++ b/applets/clock/clock-location-tile.c @@ -318,6 +318,7 @@ clock_location_tile_fill (ClockLocationTile *this) priv->current_marker = gtk_image_new_from_icon_name ("go-home", GTK_ICON_SIZE_BUTTON); gtk_widget_set_halign (priv->current_marker, GTK_ALIGN_END); gtk_widget_set_valign (priv->current_marker, GTK_ALIGN_CENTER); + gtk_widget_set_margin_start (priv->current_marker, 75); gtk_widget_set_no_show_all (priv->current_marker, TRUE); priv->current_spacer = gtk_event_box_new (); -- cgit v1.2.1