|
From: <gi...@gp...> - 2011-08-15 19:52:51
|
The branch, master has been updated
via eaae1aa2d4f4c7e5508597d0fc801a17caeff577 (commit)
from 97b3260ecf977dcaa959e51fbd39c6b0d7b414b7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
=========
Summary
=========
src/hid/gtk/gui-config.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
=================
Commit Messages
=================
commit eaae1aa2d4f4c7e5508597d0fc801a17caeff577
Author: Andrew Poelstra <as...@sf...>
Commit: Andrew Poelstra <as...@sf...>
Parse options of type CONFIG_Coord in preferences file
:100644 100644 1505635... f44fa25... M src/hid/gtk/gui-config.c
=========
Changes
=========
commit eaae1aa2d4f4c7e5508597d0fc801a17caeff577
Author: Andrew Poelstra <as...@sf...>
Commit: Andrew Poelstra <as...@sf...>
Parse options of type CONFIG_Coord in preferences file
diff --git a/src/hid/gtk/gui-config.c b/src/hid/gtk/gui-config.c
index 1505635..f44fa25 100644
--- a/src/hid/gtk/gui-config.c
+++ b/src/hid/gtk/gui-config.c
@@ -126,6 +126,7 @@ static ConfigAttribute config_attributes[] = {
{"use-command-window", CONFIG_Boolean, &_ghidgui.use_command_window},
{"save-in-tmp", CONFIG_Unused, NULL},
{"grid-units", CONFIG_Unused, NULL},
+ {"grid", CONFIG_Unused, NULL},
{"history-size", CONFIG_Integer, &_ghidgui.history_size},
{"auto-pan-speed", CONFIG_Integer, &_ghidgui.auto_pan_speed},
@@ -418,6 +419,9 @@ set_config_attribute (gchar * option, gchar * arg)
case CONFIG_String:
dup_string ((gchar **) ca->value, arg ? arg : (gchar *)"");
break;
+ case CONFIG_Coord:
+ *(Coord *) ca->value = GetValue (arg, NULL, NULL);
+ break;
default:
break;
}
|