From 2337ea94ca6c9e73c5f5c9b3e412e38d02701397 Mon Sep 17 00:00:00 2001 From: Tamaranch <138-Tamaranch@users.noreply.gitlab.xfce.org> Date: Sun, 17 May 2020 01:59:43 +0200 Subject: [PATCH] Plugin effect --- libxfce4panel/xfce-panel-convenience.c | 2 +- plugins/launcher/launcher.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libxfce4panel/xfce-panel-convenience.c b/libxfce4panel/xfce-panel-convenience.c index 3adc86ad..47933a10 100644 --- a/libxfce4panel/xfce-panel-convenience.c +++ b/libxfce4panel/xfce-panel-convenience.c @@ -61,7 +61,7 @@ xfce_panel_create_button (void) gtk_widget_set_can_default (GTK_WIDGET (button), FALSE); gtk_widget_set_can_focus (GTK_WIDGET (button), FALSE); - gtk_button_set_relief (GTK_BUTTON (button), GTK_RELIEF_NONE); + //gtk_button_set_relief (GTK_BUTTON (button), GTK_RELIEF_NONE); gtk_widget_set_focus_on_click (GTK_WIDGET (button), FALSE); gtk_widget_set_name (button, "xfce-panel-button"); diff --git a/plugins/launcher/launcher.c b/plugins/launcher/launcher.c index d21306bb..6d05d570 100644 --- a/plugins/launcher/launcher.c +++ b/plugins/launcher/launcher.c @@ -396,7 +396,7 @@ launcher_plugin_init (LauncherPlugin *plugin) g_free (css_string); plugin->child = gtk_image_new (); - gtk_container_add (GTK_CONTAINER (plugin->button), plugin->child); + //gtk_container_add (GTK_CONTAINER (plugin->button), plugin->child); plugin->arrow = xfce_arrow_button_new (GTK_ARROW_UP); gtk_box_pack_start (GTK_BOX (plugin->box), plugin->arrow, FALSE, FALSE, 0); -- 2.26.2