[glade/modern-ui: 7/34] 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/34] GladeDesignView: include all widget in widget chooser
- Date: Sat, 30 Dec 2017 16:43:54 +0000 (UTC)
commit 87d78abcfcf9575b95918e362f85e170b3ce9d3d
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]