[Xfce4-commits] [xfce/xfce4-panel] 02/03: Revert "Fix launchers overlapping with Adwaita"
noreply at xfce.org
noreply at xfce.org
Thu Mar 2 01:44:57 CET 2017
This is an automated email from the git hooks/post-receive script.
andrzejr pushed a commit to branch master
in repository xfce/xfce4-panel.
commit 96e6fe3564d1565b159d2c4c8565a6d3c3a4e76c
Author: Andrzej <ndrwrdck at gmail.com>
Date: Thu Mar 2 00:39:33 2017 +0000
Revert "Fix launchers overlapping with Adwaita"
This reverts commit fa4477d6b48f05c855272e7296a047c551e68108.
---
plugins/launcher/launcher.c | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/plugins/launcher/launcher.c b/plugins/launcher/launcher.c
index bed2ddf..5ff670a 100644
--- a/plugins/launcher/launcher.c
+++ b/plugins/launcher/launcher.c
@@ -341,8 +341,6 @@ static void
launcher_plugin_init (LauncherPlugin *plugin)
{
GtkIconTheme *icon_theme;
- GtkStyleContext *context;
- GtkCssProvider *provider;
plugin->disable_tooltips = FALSE;
plugin->move_first = FALSE;
@@ -415,15 +413,6 @@ launcher_plugin_init (LauncherPlugin *plugin)
G_CALLBACK (launcher_plugin_button_state_changed), plugin->arrow);
g_signal_connect (G_OBJECT (plugin->arrow), "state-changed",
G_CALLBACK (launcher_plugin_button_state_changed), plugin->button);
-
- /* Make sure themes like Adwaita, which set excessive padding, don't cause the
- launcher buttons to overlap when panels have a fairly normal size */
- context = gtk_widget_get_style_context (GTK_WIDGET (plugin->button));
- provider = gtk_css_provider_new ();
- gtk_css_provider_load_from_data (provider, ".xfce4-panel button { padding: 0; }", -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