Skip to content

Commit

Permalink
Various small fixes
Browse files Browse the repository at this point in the history
Add temp files created by elementary OS' Code editor to gitignore. Fix Colors.vala file name and add the generated config to executable in meson build. Add missing quotes in Application.vala. Rename the Config.vala template file. Fix path typo in POTFILES.
  • Loading branch information
Antolius committed Dec 4, 2021
1 parent 31de41d commit 9afa637
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
build/
builddir/
.flatpak-builder/

# temp files created by elementary OS code
*~
3 changes: 3 additions & 0 deletions template/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
build/
builddir/
.flatpak-builder/

# temp files created by elementary OS code
*~
3 changes: 2 additions & 1 deletion template/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ executable(
'src' / 'Application.vala',
'src' / 'MainWindow.vala',
'src' / 'Widgets' / 'HeaderBar.vala',
'src' / 'Constants' / 'Colours.vala',
'src' / 'Constants' / 'Colors.vala',
config_header,
dependencies: [
dependency('granite', version: '>=5.2.4'),
dependency('gtk+-3.0'),
Expand Down
2 changes: 1 addition & 1 deletion template/po/POTFILES
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
src/Application.vala
sr/MainWindow.vala
src/MainWindow.vala
data/{GITHUB.APP}.desktop.in
data/{GITHUB.APP}.appdata.xml.in
2 changes: 1 addition & 1 deletion template/src/Application.vala
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ namespace {APP.NAMESPACE} {
// Display the app description as the option context summary.
// The option context summary is displayed above the set of options
// on the --help screen.
set_option_context_summary (_({APP.DESCRIPTION}));
set_option_context_summary (_("{APP.DESCRIPTION}"));

// Display the copyright notice as the option context description.
// The option context description is displayed below the set of options
Expand Down
File renamed without changes.

0 comments on commit 9afa637

Please sign in to comment.