Skip to content

Commit

Permalink
Add website in GUI and CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
Etua committed Jan 29, 2020
1 parent 0e3eb34 commit 146b4ee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,15 @@ int parse_command(int argc, char *argv[]) {
"Two arguments are mandatory, song name is included in filename each time.\n"
" -h/--help print this help\n"
" -v/--version print version number and license\n\n"
"If no options are specified, the program is set to run in GUI mode.\n");
"If no options are specified, the program is set to run in GUI mode.\n\n"
"Website: https://github.com/Etua/Sagger\n");
}
else if(strcmp(argv[1], "-v") == 0 || strcmp(argv[1], "--version") == 0) {
printf("%s %s\nCopyright (C) 2020 Dominik Danelski\n\n"
"This program comes with ABSOLUTELY NO WARRANTY;\n"
"This is free software, and you are welcome to redistribute it under certain conditions.\n"
"More information in the COPYING file and license notices in the source files.\n", program_name, version_number);
"More information in the COPYING file and license notices in the source files.\n\n"
"Website: https://github.com/Etua/Sagger\n", program_name, version_number);
}
else
error(1, 22, NULL);
Expand Down
1 change: 1 addition & 0 deletions gtk.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ void open_info_window(GtkWidget *somewidget) {
gtk_about_dialog_set_copyright(about, "Copyright © 2020 Dominik 'Etua' Danelski");
gtk_about_dialog_set_comments(about, "Tag audio files with ease");
gtk_about_dialog_set_license_type(about, GTK_LICENSE_GPL_3_0);
gtk_about_dialog_set_website(about, "https://github.com/Etua/Sagger");
gtk_about_dialog_set_authors(about, authors);
gtk_dialog_run(GTK_DIALOG(about));
gtk_widget_destroy( GTK_WIDGET(about));
Expand Down

0 comments on commit 146b4ee

Please sign in to comment.