summaryrefslogtreecommitdiff
path: root/applets/clock/clock-location-tile.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-06-29 13:21:44 +0200
committerraveit65 <[email protected]>2017-07-02 10:23:55 +0200
commit99539628335c5c2e8dac7f4690610e6d153ffc8d (patch)
tree1146b45bcf8ec919bfa6f593ab7d89da9d5555e3 /applets/clock/clock-location-tile.c
parentd43dda4b8dbb9377289c61b715a0a14dc7e2ff8e (diff)
downloadmate-panel-99539628335c5c2e8dac7f4690610e6d153ffc8d.tar.bz2
mate-panel-99539628335c5c2e8dac7f4690610e6d153ffc8d.tar.xz
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.
Diffstat (limited to 'applets/clock/clock-location-tile.c')
-rw-r--r--applets/clock/clock-location-tile.c1
1 files changed, 1 insertions, 0 deletions
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 ();