X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fhomebank;a=blobdiff_plain;f=src%2Fhomebank.h;h=81cc7fa7e03fe7d2765ef9bc6368db8c1216b54f;hp=ce348fb67650e0c7abe1f9a90bea9f0ee1bd7ddb;hb=cd13d9691c46c2b2d6d459e9e6a76bed1c21b7a6;hpb=b84403141a4c3a32a594800eb3fcabdc856461f8 diff --git a/src/homebank.h b/src/homebank.h index ce348fb..81cc7fa 100644 --- a/src/homebank.h +++ b/src/homebank.h @@ -1,5 +1,5 @@ /* HomeBank -- Free, easy, personal accounting for everyone. - * Copyright (C) 1995-2017 Maxime DOYEN + * Copyright (C) 1995-2018 Maxime DOYEN * * This file is part of HomeBank. * @@ -68,19 +68,19 @@ /* = = = = = = = = = = = = = = = = */ /* = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =*/ -#define HB_UNSTABLE FALSE +#define HB_UNSTABLE FALSE #define HB_UNSTABLE_SHOW FALSE #define HB_VERSION_MAJOR 5 #define HB_VERSION_MINOR 1 -#define HB_VERSION_MICRO 3 +#define HB_VERSION_MICRO 7 -#define HB_VERSION "5.1.3" +#define HB_VERSION "5.1.7" #define HB_VERSION_NUM (HB_VERSION_MAJOR*10000) + (HB_VERSION_MINOR*100) + HB_VERSION_MICRO #define FILE_VERSION 1.2 -#define PREF_VERSION 513 +#define PREF_VERSION 517 #if HB_UNSTABLE == FALSE #define PROGNAME "HomeBank" @@ -156,6 +156,7 @@ typedef enum * GTK_ICON_SIZE_DIALOG 48 */ + /* -------- named icons (Standard Icon Name) -------- */ #define ICONNAME_NEW "document-new" #define ICONNAME_OPEN "document-open" @@ -183,8 +184,7 @@ typedef enum #define ICONNAME_LIST_ADD "list-add-symbolic" #define ICONNAME_LIST_REMOVE "list-remove-symbolic" -//#define ICONNAME_HB_SCHED_SKIP "media-skip-forward" -//#define ICONNAME_HB_SCHED_POST "media-playback-start" +#define ICONNAME_CHANGES_PREVENT "changes-prevent-symbolic" // custom or gnome not found #define ICONNAME_HB_BUTTON_MENU "open-menu-symbolic" @@ -275,6 +275,7 @@ struct HomeBank // hbfile (unsaved properties) guint changes_count; gboolean hbfile_is_new; + gboolean hbfile_is_bak; gchar *xhb_filepath; gboolean xhb_hasbak; //file has backup (*.xhb~) used for revert menu sensitivity @@ -297,7 +298,7 @@ gchar *homebank_filename_without_extention(gchar *path); void homebank_file_ensure_xhb(gchar *filename); void homebank_backup_current_file(void); gboolean homebank_util_url_show (const gchar *url); -gboolean homebank_lastopenedfiles_load(void); +gchar *homebank_lastopenedfiles_load(void); gboolean homebank_lastopenedfiles_save(void);