[glade/tintou/filechoosernative] Allow to use GtkFileChooserNative
- From: Alberto Fanjul <albfan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade/tintou/filechoosernative] Allow to use GtkFileChooserNative
- Date: Thu, 6 Jun 2019 23:17:59 +0000 (UTC)
commit b115fcb95d2753a3fe60b26142751671ce91ccd4
Author: Corentin Noël <corentin noel collabora com>
Date: Fri May 24 14:39:38 2019 +0200
Allow to use GtkFileChooserNative
plugins/gtk+/gtk+.xml | 4 ++++
tests/create-widgets.c | 4 +++-
2 files changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/plugins/gtk+/gtk+.xml b/plugins/gtk+/gtk+.xml
index 7515ec93..8add4b5b 100644
--- a/plugins/gtk+/gtk+.xml
+++ b/plugins/gtk+/gtk+.xml
@@ -5561,6 +5561,8 @@
<glade-widget-class name="GThemedIcon" generic-name="themedicon" title="Themed Icon" toplevel="True"/>
<glade-widget-class name="GFileIcon" generic-name="fileicon" title="File Icon" toplevel="True"/>
+ <glade-widget-class name="GtkFileChooserNative" generic-name="filechoosernative" title="Native File
Chooser Dialog" toplevel="True" since="3.20"/>
+
</glade-widget-classes>
<glade-widget-group name="gtk-toplevels" title="Toplevels">
@@ -5702,6 +5704,8 @@
<glade-widget-class-ref name="GtkRecentManager"/>
<glade-widget-class-ref name="GThemedIcon"/>
<glade-widget-class-ref name="GFileIcon"/>
+
+ <glade-widget-class-ref name="GtkFileChooserNative"/>
</glade-widget-group>
<glade-widget-group name="gtk-deprecated" title="Deprecated">
diff --git a/tests/create-widgets.c b/tests/create-widgets.c
index f561a966..e09acc6b 100644
--- a/tests/create-widgets.c
+++ b/tests/create-widgets.c
@@ -115,7 +115,9 @@ main (int argc,
/* FIXME: The same goes for assistant */
!g_type_is_a (adaptor_type, GTK_TYPE_ASSISTANT) &&
/* FIXME: GtkPopoverMenu gives a few warnings */
- !g_type_is_a (adaptor_type, GTK_TYPE_POPOVER_MENU))
+ !g_type_is_a (adaptor_type, GTK_TYPE_POPOVER_MENU) &&
+ /* FIXME: GtkFileChooserNative is hard to test here */
+ !g_type_is_a (adaptor_type, GTK_TYPE_FILE_CHOOSER_NATIVE))
{
gchar *test_path = g_strdup_printf ("/CreateWidget/%s", glade_widget_adaptor_get_name (adaptor));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]