projects
/
emu8051.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
42f213f
)
Use fixed font for ASCII column
author
Hugo Villeneuve
<hugo@hugovil.com>
Mon, 21 Oct 2013 02:18:53 +0000
(22:18 -0400)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Wed, 6 Nov 2013 02:50:17 +0000
(21:50 -0500)
src/memwin.c
patch
|
blob
|
history
diff --git
a/src/memwin.c
b/src/memwin.c
index
2c7fde1
..
4c8cc22
100644
(file)
--- a/
src/memwin.c
+++ b/
src/memwin.c
@@
-186,7
+186,9
@@
memwin_init_columns(GtkWidget *listview, int memory_id)
gtk_tree_view_append_column(GTK_TREE_VIEW(listview), column);
}
gtk_tree_view_append_column(GTK_TREE_VIEW(listview), column);
}
- /* Add ASCII column */
+ /* Add ASCII column, using fixed-font. */
+ renderer = gtk_cell_renderer_text_new();
+ g_object_set(renderer, "family", "Monospace", NULL);
column = gtk_tree_view_column_new_with_attributes(
"ASCII", renderer, "text", COL_ASCII, NULL);
gtk_tree_view_column_set_sizing(column, GTK_TREE_VIEW_COLUMN_AUTOSIZE);
column = gtk_tree_view_column_new_with_attributes(
"ASCII", renderer, "text", COL_ASCII, NULL);
gtk_tree_view_column_set_sizing(column, GTK_TREE_VIEW_COLUMN_AUTOSIZE);