[Xfce4-commits] [xfce/xfce4-panel] 01/01: Fix default size of new panels (Bug #14417)

noreply at xfce.org noreply at xfce.org
Thu Jul 5 00:29:03 CEST 2018

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 77e579478473d923fcf6c05a50a403f046dcea99
Author: Tony Paulic <tony.paulic at gmail.com>
Date:   Thu Jul 5 00:27:59 2018 +0200

    Fix default size of new panels (Bug #14417)
 panel/panel-application.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/panel/panel-application.c b/panel/panel-application.c
index df28247..43ecf1b 100644
--- a/panel/panel-application.c
+++ b/panel/panel-application.c
@@ -1552,6 +1552,7 @@ panel_application_new_window (PanelApplication *application,
       idx = g_slist_index (application->windows, window);
       position = g_strdup_printf ("p=0;x=100;y=%d", 30 + (idx * (48 + 10)));
       g_object_set (G_OBJECT (window), "position", position, NULL);
+      g_object_set (G_OBJECT (window), "size", 48, NULL);
       g_free (position);

To stop receiving notification emails like this one, please contact
the administrator of this repository.

More information about the Xfce4-commits mailing list