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