diff --git a/docs/reference/gtk/Makefile.am b/docs/reference/gtk/Makefile.am
index 54f3c7a33d..5099c337a3 100644
--- a/docs/reference/gtk/Makefile.am
+++ b/docs/reference/gtk/Makefile.am
@@ -287,6 +287,7 @@ HTML_IMAGES = \
$(srcdir)/images/check-button.png \
$(srcdir)/images/color-button.png \
$(srcdir)/images/colorsel.png \
+ $(srcdir)/images/colorchooser.png \
$(srcdir)/images/combo-box.png \
$(srcdir)/images/combo-box-entry.png \
$(srcdir)/images/entry.png \
@@ -296,6 +297,7 @@ HTML_IMAGES = \
$(srcdir)/images/filechooser.png \
$(srcdir)/images/font-button.png \
$(srcdir)/images/fontsel.png \
+ $(srcdir)/images/fontchooser.png \
$(srcdir)/images/frame.png \
$(srcdir)/images/icon-view.png \
$(srcdir)/images/image.png \
diff --git a/docs/reference/gtk/images/colorchooser.png b/docs/reference/gtk/images/colorchooser.png
new file mode 100644
index 0000000000..fcdabf0081
Binary files /dev/null and b/docs/reference/gtk/images/colorchooser.png differ
diff --git a/docs/reference/gtk/images/fontchooser.png b/docs/reference/gtk/images/fontchooser.png
new file mode 100644
index 0000000000..38e3e8f81c
Binary files /dev/null and b/docs/reference/gtk/images/fontchooser.png differ
diff --git a/docs/reference/gtk/visual_index.xml b/docs/reference/gtk/visual_index.xml
index 37cc0ec6cf..7fb63932d4 100644
--- a/docs/reference/gtk/visual_index.xml
+++ b/docs/reference/gtk/visual_index.xml
@@ -135,4 +135,10 @@
+
+
+
+
+
+
diff --git a/docs/tools/widgets.c b/docs/tools/widgets.c
index 949a35a3d9..5b326090f4 100644
--- a/docs/tools/widgets.c
+++ b/docs/tools/widgets.c
@@ -1154,6 +1154,33 @@ create_appchooserdialog (void)
return info;
}
+static WidgetInfo *
+create_fontchooserdialog (void)
+{
+ WidgetInfo *info;
+ GtkWidget *widget;
+
+ widget = gtk_font_chooser_dialog_new ("Font Chooser Dialog", NULL);
+ gtk_window_set_default_size (GTK_WINDOW (widget), 200, 300);
+ info = new_widget_info ("fontchooser", widget, ASIS);
+ info->include_decorations = TRUE;
+
+ return info;
+}
+
+static WidgetInfo *
+create_colorchooserdialog (void)
+{
+ WidgetInfo *info;
+ GtkWidget *widget;
+
+ widget = gtk_color_chooser_dialog_new ("Color Chooser Dialog", NULL);
+ info = new_widget_info ("colorchooser", widget, ASIS);
+ info->include_decorations = TRUE;
+
+ return info;
+}
+
GList *
get_all_widgets (void)
{
@@ -1204,6 +1231,8 @@ get_all_widgets (void)
retval = g_list_prepend (retval, create_appchooserbutton ());
retval = g_list_prepend (retval, create_appchooserdialog ());
retval = g_list_prepend (retval, create_lockbutton ());
+ retval = g_list_prepend (retval, create_fontchooserdialog ());
+ retval = g_list_prepend (retval, create_colorchooserdialog ());
return retval;
}