summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2019-01-14 09:24:51 +0100
committerraveit65 <[email protected]>2019-01-17 10:04:58 +0100
commitab4812acb6862e67a50941ec0a84aa0f9397f438 (patch)
treee46e036db3dc3fc13a34b3e62440f1de77fcc47b
parent3d9cfcf4ab3b3cafe22c4197a67753e46e4debb3 (diff)
downloadmate-panel-ab4812acb6862e67a50941ec0a84aa0f9397f438.tar.bz2
mate-panel-ab4812acb6862e67a50941ec0a84aa0f9397f438.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),