summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2019-01-14 09:24:51 +0100
committerraveit65 <[email protected]>2019-01-21 15:55:25 +0100
commit0a10e4b82ec4869386f088cd2a8ecaacfbbf011c (patch)
tree00aba259d1a87e04dfcdab33fe47a6e755263c64
parentf701becccdbb98e8ed5206ed1d7c03d79ef0ca83 (diff)
downloadmate-panel-0a10e4b82ec4869386f088cd2a8ecaacfbbf011c.tar.bz2
mate-panel-0a10e4b82ec4869386f088cd2a8ecaacfbbf011c.tar.xz
clock: set horizontal padding for clock-button
To make sure we have space left and right inside the button if applet is build-in-process.
-rw-r--r--applets/clock/clock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/applets/clock/clock.c b/applets/clock/clock.c
index f84bd8bf..ef43fd8f 100644
--- a/applets/clock/clock.c
+++ b/applets/clock/clock.c
@@ -1284,8 +1284,8 @@ force_no_button_vertical_padding (GtkWidget *widget)
"#clock-applet-button {\n"
"padding-top: 0px;\n"
"padding-bottom: 0px;\n"
- "margin-top: 0px;\n"
- "margin-bottom: 0px;\n"
+ "padding-left: 4px;\n"
+ "padding-right: 4px;\n"
"}",
-1, NULL);
gtk_style_context_add_provider (gtk_widget_get_style_context (widget),