* gnoemoe/gm-options.h: return false when loading fails

This commit is contained in:
Jesse van den Kieboom 2006-08-12 15:16:42 +00:00
parent e7bf115295
commit d2e3ffb9b2
2 changed files with 60 additions and 57 deletions

115
ChangeLog
View File

@ -1,66 +1,69 @@
2006-12-08 Jesse van den Kieboom <jesse@icecrew.nl>
* gnoemoe/gm-world.c: set world name from path when options
couldn't be succesfully loaded
* gnoemoe/gm-editor.c: allways write \n (also on last line)
* gnoemoe/gm-options.c: set file path even if it couldn't be
loaded so that when there is no options file it will be
saved correctly. return false when loading fails
* gnoemoe/widgets/gm-external-view.c: use default gnome
terminal when terminal is needed
* gnoemoe/widgets/gm-world-tab.c: fix tab close buttons
* gnoemoe/gm-options.h: return false when loading fails
2006-12-08 Jesse van den Kieboom <jesse@icecrew.nl>
* gnoemoe/gm-support.c: fixed the tab close button
* gnoemoe/gm-pixbuf.c: fixed warning on creating save close button
* gnoemoe/gm-world.c: set world name from path when options
couldn't be succesfully loaded
* gnoemoe/gm-editor.c: allways write \n (also on last line)
* gnoemoe/gm-options.c: set file path even if it couldn't be
loaded so that when there is no options file it will be
saved correctly. return false when loading fails
* gnoemoe/widgets/gm-external-view.c: use default gnome
terminal when terminal is needed
* gnoemoe/widgets/gm-world-tab.c: fix tab close buttons
2006-12-08 Jesse van den Kieboom <jesse@icecrew.nl>
* gnoemoe/gm-support.c: fixed the tab close button
* gnoemoe/gm-pixbuf.c: fixed warning on creating save close button
2006-18-06 Jesse van den Kieboom <jesse@icecrew.nl>
* gnoemoe/gm-world.c: added static to functions, added flushing history
to disk
* gnoemoe/dialogs/gm-world-paste-dialog.c: fixed sending with empty
'to' field
* gnoemoe/widgets/gm-world-text-view.c: fixed blinking
* gnoemoe/gm-world.c: added static to functions, added flushing history
to disk
* gnoemoe/dialogs/gm-world-paste-dialog.c: fixed sending with empty
'to' field
* gnoemoe/widgets/gm-world-text-view.c: fixed blinking
2006-23-04 Jesse van den Kieboom <jesse@icecrew.nl>
* VERSION CHANGED TO 2.0.10
* gnoemoe/mcp/gm-cell-renderer-text.c: fixed font sizes for smaller
fonts
* VERSION CHANGED TO 2.0.10
* gnoemoe/mcp/gm-cell-renderer-text.c: fixed font sizes for smaller
fonts
2006-23-04 Jesse van den Kieboom <jesse@icecrew.nl>
* VERSION CHANGED TO 2.0.9
* po/POTFILES.in: added gnoemoe/dialogs/gm-world-paste-dialog.c and
ui/gm-world-paste.glade
* po/nl.po: added translations
* ui/Makefile.am:
* ui/gm-ui.xml:
* ui/gm-world-paste.glade: new paste dialog
* gnoemoe/mcp/Makefile.include: added gm-cell-renderer-text.[ch]
* gnoemoe/mcp/gm-cell-renderer-text.[ch]: new cell renderer for
rendering userlist
* gnoemoe/mcp/gm-mcp-vmoo-client.c: update metrics in timeout so to
reduce the number of updates when resizing
* gnoemoe/mcp/gm-mcp-icecrew-serverinfo.c: max version set to 1.0 (1.0
does not actively request the info because it will be send on
initialization). Set menu item invisible instead of insensitive when
there is no info available
* gnoemoe/mcp/gm-mcp-icecrew-userlist.c: fixed menu item substitution
* gnoemoe/mcp/gm-mcp-vmoo-userlist.c: removed support for status
because it doesn't really support it
* gm-mcp-userlist-view.[ch]: moved column constants to header. Render
items with new gm-cell-renderer-text.
* gnoemoe/mcp/gm-mcp-icecrew-playerdb.[ch]: made
gm_mcp_icecrew_playerdb_players public
* gnoemoe/dialogs/Makefile.include: added gm-world-paste-dialog
* gnoemoe/dialogs/gm-world-paste-dialog.[ch]: new paste dialog
* gnoemoe/dialogs/gm-world-properties-dialog.c:
* gnoemoe/dialogs/gm-world-logs-dialog.c: fixed leaking tree stores
* gnoemoe/widgets/Makefile.include: added gm-commands.[ch]
* gnoemoe/widgets/gm-commands.[ch]: new file for handling action
activation (removed from gm-app-view)
* gnoemoe/widgets/gm-world-view.c: fixed userlist size restore
* gnoemoe/widgets/gm-app-view.c: removed action handlers
* gnoemoe/gm-support.[ch]: added gm_find_child
* gnoemoe/gm-world.c: removed debug message
* gnoemoe/gm-ui.h: changed actions to gm-commands
* VERSION CHANGED TO 2.0.9
* po/POTFILES.in: added gnoemoe/dialogs/gm-world-paste-dialog.c and
ui/gm-world-paste.glade
* po/nl.po: added translations
* ui/Makefile.am:
* ui/gm-ui.xml:
* ui/gm-world-paste.glade: new paste dialog
* gnoemoe/mcp/Makefile.include: added gm-cell-renderer-text.[ch]
* gnoemoe/mcp/gm-cell-renderer-text.[ch]: new cell renderer for
rendering userlist
* gnoemoe/mcp/gm-mcp-vmoo-client.c: update metrics in timeout so to
reduce the number of updates when resizing
* gnoemoe/mcp/gm-mcp-icecrew-serverinfo.c: max version set to 1.0 (1.0
does not actively request the info because it will be send on
initialization). Set menu item invisible instead of insensitive when
there is no info available
* gnoemoe/mcp/gm-mcp-icecrew-userlist.c: fixed menu item substitution
* gnoemoe/mcp/gm-mcp-vmoo-userlist.c: removed support for status
because it doesn't really support it
* gm-mcp-userlist-view.[ch]: moved column constants to header. Render
items with new gm-cell-renderer-text.
* gnoemoe/mcp/gm-mcp-icecrew-playerdb.[ch]: made
gm_mcp_icecrew_playerdb_players public
* gnoemoe/dialogs/Makefile.include: added gm-world-paste-dialog
* gnoemoe/dialogs/gm-world-paste-dialog.[ch]: new paste dialog
* gnoemoe/dialogs/gm-world-properties-dialog.c:
* gnoemoe/dialogs/gm-world-logs-dialog.c: fixed leaking tree stores
* gnoemoe/widgets/Makefile.include: added gm-commands.[ch]
* gnoemoe/widgets/gm-commands.[ch]: new file for handling action
activation (removed from gm-app-view)
* gnoemoe/widgets/gm-world-view.c: fixed userlist size restore
* gnoemoe/widgets/gm-app-view.c: removed action handlers
* gnoemoe/gm-support.[ch]: added gm_find_child
* gnoemoe/gm-world.c: removed debug message
* gnoemoe/gm-ui.h: changed actions to gm-commands
2006-09-04 Jesse van den Kieboom <jesse@icecrew.nl>
* VERSION CHANGED TO 2.0.8
@ -287,7 +290,7 @@
* MOO verb syntax checker
* Color schemes
* Blink/Fastblink ANSI
2005-15-06 Jesse van den Kieboom <jesse@icecrew.nl>
* VERSION CHANGED TO 0.9.1

View File

@ -62,7 +62,7 @@ void gm_options_remove(GmOptions *options, gchar const *key);
void gm_options_save(GmOptions *options);
void gm_options_save_as(GmOptions *options, gchar const *filename);
void gm_options_load(GmOptions *options, gchar const *filename);
gboolean gm_options_load(GmOptions *options, gchar const *filename);
void _gm_options_check_old_options(gchar const *filename);