summaryrefslogtreecommitdiff
path: root/tests/testappchooser.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-01-20 20:55:59 -0500
committerMatthias Clasen <mclasen@redhat.com>2011-01-20 20:57:47 -0500
commita7bcb8a4d73d39f8c991aa2110764343575f0c08 (patch)
treefc185effba8a2e3e384ab23764f2155494677674 /tests/testappchooser.c
parentec750bed0c0da8f5d0459060d9dc89d08a89cb28 (diff)
downloadgtk+-a7bcb8a4d73d39f8c991aa2110764343575f0c08.tar.gz
Add a way to set the heading of GtkAppChooserDialog
The application can probably set a better string than the default we construct, like 'Select an application for "software" files'.
Diffstat (limited to 'tests/testappchooser.c')
-rw-r--r--tests/testappchooser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/testappchooser.c b/tests/testappchooser.c
index a50f1b4e4c..6bf121a685 100644
--- a/tests/testappchooser.c
+++ b/tests/testappchooser.c
@@ -98,6 +98,8 @@ prepare_dialog (void)
0, content_type);
}
+ gtk_app_chooser_dialog_set_heading (GTK_APP_CHOOSER_DIALOG (dialog), "Select one already, you <i>fool</i>");
+
g_signal_connect (dialog, "response",
G_CALLBACK (dialog_response), NULL);