Index: ChangeLog =================================================================== RCS file: /cvs/gnome/gnumeric/ChangeLog,v retrieving revision 1.3670 diff -u -w -r1.3670 ChangeLog --- ChangeLog 26 Nov 2004 06:28:26 -0000 1.3670 +++ ChangeLog 26 Nov 2004 17:35:59 -0000 @@ -1,5 +1,10 @@ 2004-11-26 Jody Goldberg + * src/gui-file.c (gui_file_open) : Add a hook to open template files. + This is cheesy, but is better than nothing. + +2004-11-26 Jody Goldberg + http://bugzilla.gnome.org/show_bug.cgi?id=159365 * src/commands.c (gnm_reloc_undo_release) : new (cmd_ins_del_colrow_finalize) : use it Index: src/gui-file.c =================================================================== RCS file: /cvs/gnome/gnumeric/src/gui-file.c,v retrieving revision 1.109 diff -u -w -r1.109 gui-file.c --- src/gui-file.c 16 Nov 2004 04:23:34 -0000 1.109 +++ src/gui-file.c 26 Nov 2004 17:35:59 -0000 @@ -229,6 +229,13 @@ NULL); gtk_dialog_set_default_response (GTK_DIALOG (fsel), GTK_RESPONSE_OK); + /* Add Templates bookmark */ + { + char *templates = gnm_sys_data_dir ("templates"); + gtk_file_chooser_add_shortcut_folder (fsel, templates, NULL); + g_free (templates); + } + /* Start in the same directory as the current workbook. */ gtk_file_chooser_select_uri (fsel, workbook_get_uri (workbook)); gtk_file_chooser_unselect_all (fsel);