Search
lxdream.org :: lxdream/src/gtkui/ctrl_dlg.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gtkui/ctrl_dlg.c
changeset 616:527ab167712b
prev614:a2d239d4438a
next628:bd46e2c4c479
author nkeynes
date Tue Jan 29 10:38:34 2008 +0000 (12 years ago)
permissions -rw-r--r--
last change Tweak key text box size to fit joystick buttons
file annotate diff log raw
1.1 --- a/src/gtkui/ctrl_dlg.c Mon Jan 28 02:38:09 2008 +0000
1.2 +++ b/src/gtkui/ctrl_dlg.c Tue Jan 29 10:38:34 2008 +0000
1.3 @@ -154,7 +154,7 @@
1.4 gtk_table_attach( GTK_TABLE(table), gtk_label_new(conf[i].key), x, x+1, y, y+1,
1.5 GTK_SHRINK, GTK_SHRINK, 0, 0 );
1.6 text = gtk_entry_new();
1.7 - gtk_entry_set_width_chars( GTK_ENTRY(text), 8 );
1.8 + gtk_entry_set_width_chars( GTK_ENTRY(text), 11 );
1.9 gtk_entry_set_editable( GTK_ENTRY(text), FALSE );
1.10 g_signal_connect( text, "key_press_event",
1.11 G_CALLBACK(config_key_keypress), NULL );
1.12 @@ -166,7 +166,7 @@
1.13 gtk_table_attach_defaults( GTK_TABLE(table), text, x+1, x+2, y, y+1);
1.14 focus_chain = g_list_append( focus_chain, text );
1.15 text2 = gtk_entry_new();
1.16 - gtk_entry_set_width_chars( GTK_ENTRY(text2), 8 );
1.17 + gtk_entry_set_width_chars( GTK_ENTRY(text2), 11 );
1.18 gtk_entry_set_editable( GTK_ENTRY(text2), FALSE );
1.19 g_signal_connect( text2, "key_press_event",
1.20 G_CALLBACK(config_key_keypress), NULL );
.