summaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2011-09-27 00:46:21 +0000
committerjstebbins <[email protected]>2011-09-27 00:46:21 +0000
commit6f78c9f7853dc7c31c0e42e5feee0526f7a4dff1 (patch)
treebd772754e34eefaabd0b2a68deab6cebbed20486 /gtk
parent35207027d8c070fad7b41cb574fc8e000a68f124 (diff)
LinGui: use monospace font for activity window
makes text align as better and improves readability. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4258 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk')
-rw-r--r--gtk/src/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/src/main.c b/gtk/src/main.c
index ae6a7b0fc..21f51e0d0 100644
--- a/gtk/src/main.c
+++ b/gtk/src/main.c
@@ -1100,6 +1100,12 @@ main (int argc, char *argv[])
filter = GTK_FILE_FILTER(GHB_OBJECT(ud->builder, "SourceFilterAll"));
gtk_file_chooser_set_filter(chooser, filter);
+ PangoFontDescription *font_desc;
+ font_desc = pango_font_description_from_string ("monospace 10");
+ textview = GTK_TEXT_VIEW(GHB_WIDGET (ud->builder, "activity_view"));
+ gtk_widget_modify_font(GTK_WIDGET(textview), font_desc);
+ pango_font_description_free (font_desc);
+
// Everything should be go-to-go. Lets rock!
gtk_main ();