[Xfce4-commits] [xfce/xfce4-panel] 01/01: Bump the padding of panel buttons to 1px
noreply at xfce.org
noreply at xfce.org
Thu Mar 16 00:27:02 CET 2017
This is an automated email from the git hooks/post-receive script.
ochosi pushed a commit to branch master
in repository xfce/xfce4-panel.
commit 1ea3ea8cd4c58a728b63f8a89845e3dbb9e27923
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Thu Mar 16 00:26:56 2017 +0100
Bump the padding of panel buttons to 1px
Setting it to 0 was maybe a bit excessive on our
side and that didn't seem to work with some themes.
---
libxfce4panel/xfce-panel-convenience.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libxfce4panel/xfce-panel-convenience.c b/libxfce4panel/xfce-panel-convenience.c
index 66d24e7..d2a078e 100644
--- a/libxfce4panel/xfce-panel-convenience.c
+++ b/libxfce4panel/xfce-panel-convenience.c
@@ -76,7 +76,7 @@ xfce_panel_create_button (void)
launcher buttons to overlap when panels have a fairly normal size */
context = gtk_widget_get_style_context (GTK_WIDGET (button));
provider = gtk_css_provider_new ();
- gtk_css_provider_load_from_data (provider, ".xfce4-panel button { padding: 0; }", -1, NULL);
+ gtk_css_provider_load_from_data (provider, ".xfce4-panel button { padding: 1px; }", -1, NULL);
gtk_style_context_add_provider (context,
GTK_STYLE_PROVIDER (provider),
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
@@ -120,7 +120,7 @@ xfce_panel_create_toggle_button (void)
launcher buttons to overlap when panels have a fairly normal size */
context = gtk_widget_get_style_context (GTK_WIDGET (button));
provider = gtk_css_provider_new ();
- gtk_css_provider_load_from_data (provider, ".xfce4-panel button { padding: 0; }", -1, NULL);
+ gtk_css_provider_load_from_data (provider, ".xfce4-panel button { padding: 1px; }", -1, NULL);
gtk_style_context_add_provider (context,
GTK_STYLE_PROVIDER (provider),
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list