X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=src%2Fxournal.h;h=15906cdf6a257fe4298e94b6bebc60e706ea5492;hb=7e6e62ac799f806e47f88ba0573fa320c016e8e5;hp=61eb21801e8549334f127d1a25cee6e9add92592;hpb=1a32c75ce28e5750fd623a94d300f0dd2716fc02;p=xournal.git diff --git a/src/xournal.h b/src/xournal.h index 61eb218..15906cd 100644 --- a/src/xournal.h +++ b/src/xournal.h @@ -12,6 +12,11 @@ XInput and want to try things differently. This will probably break on-the-fly display rotation after application startup, though. */ +#define FILE_DIALOG_SIZE_BUGFIX +/* ugly, but should help users with versions of GTK+ that suffer from the + "tiny file dialog" syndrome, without hurting those with well-behaved + versions of GTK+. Comment out if you'd prefer not to include this fix. */ + // PREF FILES INFO #define CONFIG_DIR ".xournal" @@ -19,6 +24,14 @@ #define MRU_SIZE 8 #define CONFIG_FILE "config" +// version string for about box + +#ifdef WIN32 +#define VERSION_STRING VERSION "-win32" +#else +#define VERSION_STRING VERSION +#endif + // DATA STRUCTURES AND CONSTANTS #define PIXEL_MOTION_THRESHOLD 0.3 @@ -262,6 +275,7 @@ typedef struct UIData { int zoom_step_increment; // the increment in the zoom dialog box double zoom_step_factor; // the multiplicative factor in zoom in/out double startup_zoom; + gboolean autoload_pdf_xoj; #if GLIB_CHECK_VERSION(2,6,0) GKeyFile *config_data; #endif @@ -276,7 +290,7 @@ typedef struct UIData { gboolean shorten_menus; // shorten menus ? gchar *shorten_menu_items; // which items to hide gboolean is_sel_cursor; // displaying a selection-related cursor - gboolean need_emergency_disable_xinput; // need to disable xinput to avoid GTK+ 2.17 bug ? + gint pre_fullscreen_width, pre_fullscreen_height; // for win32 fullscreen #if GTK_CHECK_VERSION(2,10,0) GtkPrintSettings *print_settings; #endif