[glade/headerbar] Add a placeholder to windows initially
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade/headerbar] Add a placeholder to windows initially
- Date: Fri, 17 Oct 2014 18:27:47 +0000 (UTC)
commit 42e307a120cf926a247d3e34037343a7c5a66449
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Oct 16 23:03:26 2014 -0400
Add a placeholder to windows initially
plugins/gtk+/glade-gtk-window.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/plugins/gtk+/glade-gtk-window.c b/plugins/gtk+/glade-gtk-window.c
index cac2764..b4ae523 100644
--- a/plugins/gtk+/glade-gtk-window.c
+++ b/plugins/gtk+/glade-gtk-window.c
@@ -71,6 +71,11 @@ glade_gtk_window_post_create (GladeWidgetAdaptor * adaptor,
G_CALLBACK (glade_gtk_window_parse_finished),
object);
}
+ else if (reason == GLADE_CREATE_USER)
+ {
+ gtk_container_add (GTK_CONTAINER (object), glade_placeholder_new ());
+ }
+
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]