Use monospace for the source code view. (#163526, Theerud Lawtrakul)

2005-01-13  Matthias Clasen  <mclasen@redhat.com>

	* demos/gtk-demo/main.c (create_text): Use monospace for the
	source code view.  (#163526, Theerud Lawtrakul)
This commit is contained in:
Matthias Clasen 2005-01-13 15:55:57 +00:00 committed by Matthias Clasen
parent 4c36efa609
commit 85673355a5
4 changed files with 10 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2005-01-13 Matthias Clasen <mclasen@redhat.com>
* demos/gtk-demo/main.c (create_text): Use monospace for the
source code view. (#163526, Theerud Lawtrakul)
* gtk/gtkaboutdialog.c (gtk_about_dialog_init): Use R as mnemonic
for the Credits button to avoid duplicate. (#163465, Tim-Philipp
Müller)

View File

@ -1,5 +1,8 @@
2005-01-13 Matthias Clasen <mclasen@redhat.com>
* demos/gtk-demo/main.c (create_text): Use monospace for the
source code view. (#163526, Theerud Lawtrakul)
* gtk/gtkaboutdialog.c (gtk_about_dialog_init): Use R as mnemonic
for the Credits button to avoid duplicate. (#163465, Tim-Philipp
Müller)

View File

@ -1,5 +1,8 @@
2005-01-13 Matthias Clasen <mclasen@redhat.com>
* demos/gtk-demo/main.c (create_text): Use monospace for the
source code view. (#163526, Theerud Lawtrakul)
* gtk/gtkaboutdialog.c (gtk_about_dialog_init): Use R as mnemonic
for the Credits button to avoid duplicate. (#163465, Tim-Philipp
Müller)

View File

@ -666,7 +666,7 @@ create_text (GtkTextBuffer **buffer,
if (is_source)
{
font_desc = pango_font_description_from_string ("Courier 12");
font_desc = pango_font_description_from_string ("monospace");
gtk_widget_modify_font (text_view, font_desc);
pango_font_description_free (font_desc);