diff options
author | raveit65 <[email protected]> | 2017-06-29 13:21:44 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-07-02 10:32:09 +0200 |
commit | 495b9b0fcb22ada6ef084735d3ba456f0c22cf04 (patch) | |
tree | e311f6523d25a4f64a08d070d4c0464bb3abd2e5 /applets/clock/clock-location-tile.c | |
parent | 96df021c4e87a284cad20e3cc445ec2b415dcb9b (diff) | |
download | mate-panel-495b9b0fcb22ada6ef084735d3ba456f0c22cf04.tar.bz2 mate-panel-495b9b0fcb22ada6ef084735d3ba456f0c22cf04.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.c | 1 |
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 (); |