Search
lxdream.org :: lxdream/src/gtkui/gtk_ctrl.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gtkui/gtk_ctrl.c
changeset 770:429ff505c450
prev764:44f5670ada62
next849:bbe26d798fc2
author nkeynes
date Mon Jul 28 03:41:25 2008 +0000 (15 years ago)
permissions -rw-r--r--
last change Implement key-binding configuration pane for Cocoa UI
Minor tweaks for consistency and static-correctness
file annotate diff log raw
1.1 --- a/src/gtkui/gtk_ctrl.c Wed Jul 23 11:10:49 2008 +0000
1.2 +++ b/src/gtkui/gtk_ctrl.c Mon Jul 28 03:41:25 2008 +0000
1.3 @@ -136,7 +136,7 @@
1.4
1.5 static void controller_device_configure( maple_device_t device )
1.6 {
1.7 - lxdream_config_entry_t conf = device->get_config(device);
1.8 + lxdream_config_entry_t conf = maple_get_device_config(device);
1.9 int count, i;
1.10 for( count=0; conf[count].key != NULL; count++ );
1.11
1.12 @@ -152,7 +152,7 @@
1.13 x = 3;
1.14 y -= (count+1)>>1;
1.15 }
1.16 - gtk_table_attach( GTK_TABLE(table), gtk_label_new(conf[i].key), x, x+1, y, y+1,
1.17 + gtk_table_attach( GTK_TABLE(table), gtk_label_new(gettext(conf[i].label)), x, x+1, y, y+1,
1.18 GTK_SHRINK, GTK_SHRINK, 0, 0 );
1.19 text = gtk_entry_new();
1.20 gtk_entry_set_width_chars( GTK_ENTRY(text), 11 );
.