[Xfce4-commits] [xfce/xfce4-panel] 01/01: systray: Drop remaining obsolete frame properties
noreply at xfce.org
noreply at xfce.org
Mon Oct 7 12:05:11 CEST 2019
This is an automated email from the git hooks/post-receive script.
o c h o s i p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/xfce4-panel.
commit 8a9c40600a91efe494126042590aa43b65283dd7
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Mon Oct 7 12:04:44 2019 +0200
systray: Drop remaining obsolete frame properties
---
migrate/default.xml.in | 1 -
plugins/systray/systray.c | 4 +---
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/migrate/default.xml.in b/migrate/default.xml.in
index 678b69d..0b15da5 100644
--- a/migrate/default.xml.in
+++ b/migrate/default.xml.in
@@ -59,7 +59,6 @@
<property name="style" type="uint" value="0"/>
</property>
<property name="plugin-6" type="string" value="systray">
- <property name="show-frame" type="bool" value="false"/>
<property name="square-icons" type="bool" value="true"/>
</property>
<property name="plugin-7" type="string" value="statusnotifier">
diff --git a/plugins/systray/systray.c b/plugins/systray/systray.c
index b789db6..dfe945a 100644
--- a/plugins/systray/systray.c
+++ b/plugins/systray/systray.c
@@ -36,7 +36,6 @@
#define ICON_SIZE (22)
#define BUTTON_SIZE (16)
-#define FRAME_SPACING (1)
static void systray_plugin_get_property (GObject *object,
@@ -123,7 +122,6 @@ enum
PROP_0,
PROP_SIZE_MAX,
PROP_SQUARE_ICONS,
- PROP_SHOW_FRAME,
PROP_NAMES_ORDERED,
PROP_NAMES_HIDDEN
};
@@ -227,7 +225,7 @@ systray_plugin_init (SystrayPlugin *plugin)
gtk_box_pack_start (GTK_BOX (plugin->hvbox), plugin->box, TRUE, TRUE, 0);
g_signal_connect (G_OBJECT (plugin->box), "draw",
G_CALLBACK (systray_plugin_box_draw), plugin);
- gtk_container_set_border_width (GTK_CONTAINER (plugin->box), FRAME_SPACING);
+ gtk_container_set_border_width (GTK_CONTAINER (plugin->box), 1);
gtk_widget_show (plugin->box);
plugin->button = xfce_arrow_button_new (GTK_ARROW_RIGHT);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list