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 Wed Apr 16 12:43:52 2008 +0000 (16 years ago)
permissions -rw-r--r--
last change Start removing X11isms from gtkui into drivers
Overhaul the configure rules for figuring out the video driver
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 Wed Apr 16 12:43:52 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 );
.