Commit 4fe23cae authored by Cosimo Cecchi's avatar Cosimo Cecchi

app-chooser: other misc doc fixes

parent 960516bf
......@@ -200,7 +200,6 @@
<xi:include href="xml/gtkfontbutton.xml" />
<xi:include href="xml/gtkfontsel.xml" />
<xi:include href="xml/gtkfontseldlg.xml" />
<xi:include href="xml/gtkopenwithdialog.xml" />
</chapter>
<chapter id="LayoutContainers">
......@@ -298,6 +297,14 @@
<xi:include href="xml/gtkrecentfilter.xml" />
</chapter>
<chapter id="ApplicationChoosing">
<title>Choosing from installed applications</title>
<xi:include href="xml/gtkappchooser.xml" />
<xi:include href="xml/gtkappchooserbutton.xml" />
<xi:include href="xml/gtkappchooserdialog.xml" />
<xi:include href="xml/gtkappchooserwidget.xml" />
</chapter>
<chapter id="Builder">
<title>Interface builder</title>
<xi:include href="xml/gtkbuildable.xml" />
......
......@@ -6411,6 +6411,23 @@ GtkSwitchPrivate
gtk_switch_get_type
</SECTION>
<SECTION>
<FILE>gtkappchooser</FILE>
<TITLE>GtkAppChooser</TITLE>
GtkAppChooser
gtk_app_chooser_get_app_info
gtk_app_chooser_get_content_type
gtk_app_chooser_refresh
<SUBSECTION Standard>
GTK_TYPE_APP_CHOOSER
GTK_APP_CHOOSER
GTK_IS_APP_CHOOSER
<SUBSECTION Private>
gtk_app_chooser_get_type
</SECTION>
<SECTION>
<FILE>gtkappchooserbutton</FILE>
<TITLE>GtkAppChooserButton</TITLE>
......
......@@ -11,6 +11,10 @@ gtk_action_group_get_type
gtk_activatable_get_type
gtk_adjustment_get_type
gtk_alignment_get_type
gtk_app_chooser_get_type
gtk_app_chooser_button_get_type
gtk_app_chooser_dialog_get_type
gtk_app_chooser_widget_get_type
gtk_application_get_type
gtk_arrow_get_type
gtk_aspect_frame_get_type
......@@ -94,7 +98,6 @@ gtk_misc_get_type
gtk_mount_operation_get_type
gtk_notebook_get_type
gtk_offscreen_window_get_type
gtk_open_with_dialog_get_type
gtk_orientable_get_type
gtk_page_setup_get_type
gtk_page_setup_unix_dialog_get_type
......
......@@ -178,6 +178,10 @@ gtk_alignment_new
gtk_alignment_set
gtk_alignment_set_padding
gtk_alternative_dialog_button_order
gtk_app_chooser_get_app_info
gtk_app_chooser_get_content_type
gtk_app_chooser_get_type G_GNUC_CONST
gtk_app_chooser_refresh
gtk_app_chooser_button_append_custom_item
gtk_app_chooser_button_append_separator
gtk_app_chooser_button_get_show_dialog_item
......
......@@ -512,7 +512,7 @@ gtk_app_chooser_button_class_init (GtkAppChooserButtonClass *klass)
/**
* GtkAppChooserButton:show-dialog-item:
*
* The ::show-dialog-item property determines whether the dropdown menu
* The #GtkAppChooserButton:show-dialog-item property determines whether the dropdown menu
* should show an item that triggers a #GtkAppChooserDialog when clicked.
*/
pspec =
......@@ -689,7 +689,7 @@ gtk_app_chooser_button_get_show_dialog_item (GtkAppChooserButton *self)
}
/**
* gtk_app_chooser_button_get_show_dialog_item:
* gtk_app_chooser_button_set_show_dialog_item:
* @self: a #GtkAppChooserButton
* @setting: the new value for #GtkAppChooserButton:show-dialog-item
*
......
......@@ -774,7 +774,7 @@ gtk_app_chooser_dialog_new_for_content_type (GtkWindow *parent,
*
* Returns the #GtkAppChooserWidget of this dialog.
*
* Returns: the #GtkAppChooserWidget of @self
* Returns: (transfer none): the #GtkAppChooserWidget of @self
*
* Since: 3.0
*/
......
......@@ -1010,7 +1010,7 @@ gtk_app_chooser_widget_class_init (GtkAppChooserWidgetClass *klass)
/**
* GtkAppChooserWidget:show-recommended:
*
* The ::show-recommended property determines whether the app chooser
* The #GtkAppChooserWidget:show-recommended property determines whether the app chooser
* should show a section for recommended applications. If %FALSE, the
* recommended applications are listed among the other applications.
*/
......@@ -1024,7 +1024,7 @@ gtk_app_chooser_widget_class_init (GtkAppChooserWidgetClass *klass)
/**
* GtkAppChooserWidget:show-fallback:
*
* The ::show-fallback property determines whether the app chooser
* The #GtkAppChooserWidget:show-fallback property determines whether the app chooser
* should show a section for related applications. If %FALSE, the
* related applications are listed among the other applications.
*/
......@@ -1038,7 +1038,7 @@ gtk_app_chooser_widget_class_init (GtkAppChooserWidgetClass *klass)
/**
* GtkAppChooserWidget:show-other:
*
* The ::show-other property determines whether the app chooser
* The #GtkAppChooserWidget:show-other property determines whether the app chooser
* should show a section for other applications.
*/
pspec = g_param_spec_boolean ("show-other",
......@@ -1051,7 +1051,7 @@ gtk_app_chooser_widget_class_init (GtkAppChooserWidgetClass *klass)
/**
* GtkAppChooserWidget:show-all:
*
* If the ::show-all property is %TRUE, the app chooser presents
* If the #GtkAppChooserWidget:show-all property is %TRUE, the app chooser presents
* all applications in a single list, without subsections for
* default, recommended or related applications.
*/
......@@ -1062,6 +1062,13 @@ gtk_app_chooser_widget_class_init (GtkAppChooserWidgetClass *klass)
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (gobject_class, PROP_SHOW_ALL, pspec);
/**
* GtkAppChooserWidget:default-text:
*
* The #GtkAppChooserWidget:default-text property determines the text that appears
* in the widget when there are no applications for the given content type.
* See also gtk_app_chooser_widget_set_default_text().
*/
pspec = g_param_spec_string ("default-text",
P_("Widget's default text"),
P_("The default text appearing when there are no applications"),
......
......@@ -91,7 +91,7 @@ void gtk_app_chooser_widget_set_show_other (GtkAppChooserWidget *
gboolean gtk_app_chooser_widget_get_show_other (GtkAppChooserWidget *self);
void gtk_app_chooser_widget_set_show_all (GtkAppChooserWidget *self,
gboolean show_all);
gboolean setting);
gboolean gtk_app_chooser_widget_get_show_all (GtkAppChooserWidget *self);
void gtk_app_chooser_widget_set_default_text (GtkAppChooserWidget *self,
......
......@@ -31,6 +31,8 @@ noinst_PROGRAMS = $(TEST_PROGS) \
print-editor \
testaccel \
testadjustsize \
testappchooser \
testappchooserbutton \
testassistant \
testbbox \
testbuttons \
......@@ -66,8 +68,6 @@ noinst_PROGRAMS = $(TEST_PROGS) \
testoffscreen \
testoffscreenwindow \
testorientable \
testappchooser \
testappchooserbutton \
testprint \
testrecentchooser \
testrecentchoosermenu \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment