Search
lxdream.org :: lxdream/src/gtkui/mmio_win.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gtkui/mmio_win.c
changeset 586:2a3ba82cf243
prev537:d924be49e192
next736:a02d1475ccfd
author nkeynes
date Tue Jan 15 20:50:23 2008 +0000 (13 years ago)
permissions -rw-r--r--
last change Merged lxdream-mmu r570:596 to trunk
file annotate diff log raw
1.1 --- a/src/gtkui/mmio_win.c Tue Nov 20 10:27:58 2007 +0000
1.2 +++ b/src/gtkui/mmio_win.c Tue Jan 15 20:50:23 2008 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: mmio_win.c,v 1.11 2007-11-10 04:45:29 nkeynes Exp $
1.6 + * $Id$
1.7 *
1.8 * Implements the MMIO register viewing window
1.9 *
1.10 @@ -121,6 +121,10 @@
1.11 gtk_container_add( GTK_CONTAINER(vbox), GTK_WIDGET(scroll) );
1.12
1.13 trace_button = GTK_CHECK_BUTTON(gtk_check_button_new_with_label(_("Trace access")));
1.14 + if( io_rgn != NULL ) {
1.15 + gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(trace_button),
1.16 + io_rgn->trace_flag ? TRUE : FALSE);
1.17 + }
1.18 gtk_container_add( GTK_CONTAINER(vbox), GTK_WIDGET(trace_button) );
1.19 gtk_box_set_child_packing( GTK_BOX(vbox), GTK_WIDGET(trace_button),
1.20 FALSE, FALSE, 0, GTK_PACK_START );
.