[Xfce4-commits] [xfce/xfce4-panel] 01/01: launcher: Avoid excessive left padding on popup menu (Bug #15819)
noreply at xfce.org
noreply at xfce.org
Wed Aug 14 05:29:58 CEST 2019
This is an automated email from the git hooks/post-receive script.
a n d r e 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 ae4ed68b248df16fb0fdf625acc785ae73ef24cf
Author: Andre Miranda <andreldm at xfce.org>
Date: Wed Aug 14 00:29:11 2019 -0300
launcher: Avoid excessive left padding on popup menu (Bug #15819)
---
plugins/launcher/launcher.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/plugins/launcher/launcher.c b/plugins/launcher/launcher.c
index 6d2d8b9..30cd044 100644
--- a/plugins/launcher/launcher.c
+++ b/plugins/launcher/launcher.c
@@ -1596,6 +1596,7 @@ launcher_plugin_menu_construct (LauncherPlugin *plugin)
/* create a new menu */
plugin->menu = gtk_menu_new ();
+ gtk_menu_set_reserve_toggle_size (GTK_MENU (plugin->menu), FALSE);
gtk_menu_attach_to_widget (GTK_MENU (plugin->menu), GTK_WIDGET (plugin), NULL);
g_signal_connect (G_OBJECT (plugin->menu), "deactivate",
G_CALLBACK (launcher_plugin_menu_deactivate), plugin);
@@ -1618,7 +1619,7 @@ launcher_plugin_menu_construct (LauncherPlugin *plugin)
mi = gtk_menu_item_new ();
label = gtk_label_new (panel_str_is_empty (name) ? _("Unnamed Item") : name);
gtk_label_set_xalign (GTK_LABEL (label), 0.0);
- box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
+ box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 4);
gtk_box_pack_end (GTK_BOX (box), label, TRUE, TRUE, 0);
gtk_container_add (GTK_CONTAINER (mi), box);
g_object_set_qdata (G_OBJECT (mi), launcher_plugin_quark, plugin);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list