GTK PrintToFile settings
To make setting output directory and filename simpler in the PrintToFile dialog two gtkprintsettings have been added GTK_PRINT_SETTINGS_OUTPUT_DIR and GTK_PRINT_SETTINGS_OUTPUT_BASENAME. This will reduce the code needed to implement a better name than "output.pdf" and actually makes more sense than the existing setting GTK_PRINT_SETTINGS_OUTPUT_URI which doesn't work seamlessly with GTK_PRINT_SETTINGS_OUTPUT_FILE_FORMAT like the new settings do. https://bugzilla.gnome.org/show_bug.cgi?id=657322
This commit is contained in:
committed by
Marek Kasik
parent
f730f519f8
commit
8d1f32aaaf
@ -134,6 +134,8 @@ void gtk_print_settings_set_int (GtkPrintSettings
|
||||
#define GTK_PRINT_SETTINGS_RESOLUTION_X "resolution-x"
|
||||
#define GTK_PRINT_SETTINGS_RESOLUTION_Y "resolution-y"
|
||||
#define GTK_PRINT_SETTINGS_PRINTER_LPI "printer-lpi"
|
||||
#define GTK_PRINT_SETTINGS_OUTPUT_DIR "output-dir"
|
||||
#define GTK_PRINT_SETTINGS_OUTPUT_BASENAME "output-basename"
|
||||
|
||||
/**
|
||||
* GTK_PRINT_SETTINGS_OUTPUT_FILE_FORMAT:
|
||||
|
||||
Reference in New Issue
Block a user