[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: pcb.git: branch: master updated (eaae1aa2d4f4c7e5508597d0fc801a17caeff577)
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 <asp11@xxxxxx>
Commit: Andrew Poelstra <asp11@xxxxxx>
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 <asp11@xxxxxx>
Commit: Andrew Poelstra <asp11@xxxxxx>
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;
}
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs