[glade/modern-ui: 7/32] GladeDesignView: include all widget in widget chooser
- From: Juan Pablo Ugarte <jpu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade/modern-ui: 7/32] GladeDesignView: include all widget in widget chooser
- Date: Sun, 16 Jul 2017 00:37:19 +0000 (UTC)
commit c67e83bdec71fa8fc649feb6ad2f3b036f5eaa13
Author: Juan Pablo Ugarte <juanpablougarte gmail com>
Date: Sat Jun 10 20:30:50 2017 -0300
GladeDesignView: include all widget in widget chooser
Since currently this is the only way to add widget, we need to be able to add any kind of widget.
gladeui/glade-design-view.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gladeui/glade-design-view.c b/gladeui/glade-design-view.c
index e22996e..2d5abe8 100644
--- a/gladeui/glade-design-view.c
+++ b/gladeui/glade-design-view.c
@@ -351,7 +351,8 @@ glade_design_view_viewport_button_press (GtkWidget *widget,
gtk_popover_set_pointing_to (GTK_POPOVER (pop), &rect);
gtk_popover_set_position (GTK_POPOVER (pop), GTK_POS_BOTTOM);
- chooser = _glade_adaptor_chooser_new (GLADE_ADAPTOR_CHOOSER_TOPLEVEL,
+ chooser = _glade_adaptor_chooser_new (GLADE_ADAPTOR_CHOOSER_TOPLEVEL |
+ GLADE_ADAPTOR_CHOOSER_WIDGET,
priv->project);
g_signal_connect (chooser, "adaptor-selected",
G_CALLBACK (on_chooser_adaptor_selected),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]