diff --git a/docs/reference/gtk/gtk-markdown-to-docbook b/docs/reference/gtk/gtk-markdown-to-docbook index f48b556f48..4268bf1b7a 100755 --- a/docs/reference/gtk/gtk-markdown-to-docbook +++ b/docs/reference/gtk/gtk-markdown-to-docbook @@ -177,6 +177,7 @@ def ConvertToDocbook(infile, outfile): subprocess.check_call(["pandoc", infile, "-o", outfile, "--from=" + input_format, "--to=" + output_format, + "--standalone", "--top-level-division=" + division]) def ExpandGtkDocAbbreviations(infile, outfile): diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c index 3f0bddf223..4c9360571e 100644 --- a/gtk/gtkfilechooserwidget.c +++ b/gtk/gtkfilechooserwidget.c @@ -5701,7 +5701,6 @@ static void request_response_and_add_to_recent_list (GtkFileChooserWidget *impl) { gtk_widget_activate_action (GTK_WIDGET (impl), "response.activate", NULL); - g_signal_emit_by_name (impl, "response-requested"); add_selection_to_recent_list (impl); } diff --git a/gtk/gtkshortcutcontroller.c b/gtk/gtkshortcutcontroller.c index 1b995f5098..e427ae5ed8 100644 --- a/gtk/gtkshortcutcontroller.c +++ b/gtk/gtkshortcutcontroller.c @@ -50,7 +50,7 @@ * managed * * - * <Control>k + * &lt;Control&gt;k * activate * * @@ -58,6 +58,11 @@ * * * ]| + * + * This example creates a #GtkActivateAction for triggering the `activate` + * signal of the GtkButton. See gtk_shortcut_action_parse_string() for the syntax + * for other kinds of #GtkShortcutAction. See gtk_shortcut_trigger_parse_string() + * to learn more about the syntax for triggers. **/ #include "config.h" diff --git a/gtk/gtkshortcuttrigger.c b/gtk/gtkshortcuttrigger.c index 65e3164b5b..8364932c59 100644 --- a/gtk/gtkshortcuttrigger.c +++ b/gtk/gtkshortcuttrigger.c @@ -122,6 +122,10 @@ gtk_shortcut_trigger_trigger (GtkShortcutTrigger *self, * - two valid trigger strings, separated by a `|` character, for a * #GtkAlternativeTrigger: `q|w` * + * Note that you will have to escape the `<` and `>` characters when specifying + * triggers in XML files, such as GtkBuilder ui files. Use `<` instead of + * `<` and `>` instead of `>`. + * * Returns: (nullable) (transfer full): a new #GtkShortcutTrigger * or %NULL on error */