Skip to content

Commit

Permalink
Apply gtk4-builder-tool simplify --3to4 to exportSettings.ui
Browse files Browse the repository at this point in the history
  • Loading branch information
bhennion committed Apr 16, 2024
1 parent 90e1b35 commit d5164fc
Show file tree
Hide file tree
Showing 5 changed files with 331 additions and 454 deletions.
2 changes: 1 addition & 1 deletion src/core/control/jobs/BaseExportJob.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

/**
* @brief List of types for the export of background components.
* The order must agree with the corresponding listBackgroundType in ui/exportSettings.glade.
* The order must agree with the corresponding listBackgroundType in ui/exportSettings.ui.
* It is constructed so that one can check for intermediate types using comparison.
*/
enum ExportBackgroundType { EXPORT_BACKGROUND_NONE, EXPORT_BACKGROUND_UNRULED, EXPORT_BACKGROUND_ALL };
Expand Down
2 changes: 1 addition & 1 deletion src/core/control/jobs/ImageExport.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ enum ExportGraphicsFormat { EXPORT_GRAPHICS_UNDEFINED, EXPORT_GRAPHICS_PDF, EXPO

/**
* @brief List of available criterion for determining a PNG export quality.
* The order must agree with the corresponding listAvailableCriterion in ui/exportSettings.glade
* The order must agree with the corresponding listAvailableCriterion in ui/exportSettings.ui
*/
enum ExportQualityCriterion { EXPORT_QUALITY_DPI, EXPORT_QUALITY_WIDTH, EXPORT_QUALITY_HEIGHT };

Expand Down
2 changes: 1 addition & 1 deletion src/core/gui/dialog/ExportDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

class GladeSearchpath;

constexpr auto UI_FILE = "exportSettings.glade";
constexpr auto UI_FILE = "exportSettings.ui";
constexpr auto UI_DIALOG_NAME = "exportDialog";

using namespace xoj::popup;
Expand Down

0 comments on commit d5164fc

Please sign in to comment.