[Xfce4-commits] [apps/xfce4-notifyd] 27/29: Fix pluggable settings dialog.

noreply at xfce.org noreply at xfce.org
Wed Jun 29 23:20:17 CEST 2016


This is an automated email from the git hooks/post-receive script.

ochosi pushed a commit to branch master
in repository apps/xfce4-notifyd.

commit 18b029947bc6616d4697a2b4fad9c744b694ccf1
Author: Ali Abdallah <aliovx at gmail.com>
Date:   Sun May 29 22:36:31 2016 +0200

    Fix pluggable settings dialog.
---
 xfce4-notifyd-config/main.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/xfce4-notifyd-config/main.c b/xfce4-notifyd-config/main.c
index c8440cf..c91dc70 100644
--- a/xfce4-notifyd-config/main.c
+++ b/xfce4-notifyd-config/main.c
@@ -359,8 +359,11 @@ main(int argc,
                          G_CALLBACK(gtk_main_quit), NULL);
 
         plug_child = GTK_WIDGET(gtk_builder_get_object(builder, "plug-child"));
+
+        /* In the glade file, plug_child has parent, so remove it first */
+        gtk_container_remove (GTK_CONTAINER(gtk_widget_get_parent(plug_child)), plug_child);
         gtk_container_add (GTK_CONTAINER(plug), plug_child);
-        gtk_widget_show(plug_child);
+        gtk_widget_set_valign (plug_child, GTK_ALIGN_START);
 
         gdk_notify_startup_complete();
         g_object_unref(G_OBJECT(builder));

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


More information about the Xfce4-commits mailing list