build: Remove old Ubuntu icons
|
@ -39,18 +39,7 @@ namespace SparkleShare {
|
||||||
InstallationInfo.OperatingSystem != OS.macOS &&
|
InstallationInfo.OperatingSystem != OS.macOS &&
|
||||||
InstallationInfo.OperatingSystem != OS.Windows) {
|
InstallationInfo.OperatingSystem != OS.Windows) {
|
||||||
|
|
||||||
string n = Environment.NewLine;
|
DisplayHelp ();
|
||||||
|
|
||||||
Console.WriteLine (n +
|
|
||||||
"Share and collaborate by syncing with any Git repository instantly." + n +
|
|
||||||
n +
|
|
||||||
"Version: " + InstallationInfo.Version + n +
|
|
||||||
"Copyright (C) 2010 Hylke Bons and others" + n +
|
|
||||||
"This program comes with ABSOLUTELY NO WARRANTY." + n +
|
|
||||||
n +
|
|
||||||
"This is free software, and you are welcome to redistribute it" + n +
|
|
||||||
"under certain conditions. Please read the GNU GPLv3 for details." + n);
|
|
||||||
|
|
||||||
Environment.Exit (0);
|
Environment.Exit (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -76,6 +65,22 @@ namespace SparkleShare {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void DisplayHelp ()
|
||||||
|
{
|
||||||
|
string n = Environment.NewLine;
|
||||||
|
|
||||||
|
Console.WriteLine (n +
|
||||||
|
"Share and collaborate by syncing with any Git repository instantly." + n +
|
||||||
|
n +
|
||||||
|
"Version: " + InstallationInfo.Version + n +
|
||||||
|
"Copyright (C) 2010 Hylke Bons and others" + n +
|
||||||
|
"This program comes with ABSOLUTELY NO WARRANTY." + n +
|
||||||
|
n +
|
||||||
|
"This is free software, and you are welcome to redistribute it" + n +
|
||||||
|
"under certain conditions. Please read the GNU GPLv3 for details." + n);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
static void OnUnhandledException (object sender, UnhandledExceptionEventArgs exception_args)
|
static void OnUnhandledException (object sender, UnhandledExceptionEventArgs exception_args)
|
||||||
{
|
{
|
||||||
var exception = (Exception) exception_args.ExceptionObject;
|
var exception = (Exception) exception_args.ExceptionObject;
|
||||||
|
|
|
@ -11,6 +11,8 @@ foreach size : icon_sizes
|
||||||
install_dir: join_paths(theme_dir, icon_dir))
|
install_dir: join_paths(theme_dir, icon_dir))
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
|
|
||||||
|
# Don't forget the symbolic icons
|
||||||
install_data(
|
install_data(
|
||||||
sources: join_paths('hicolor', 'symbolic', 'apps', app_icon_name + '-symbolic.svg'),
|
sources: join_paths('hicolor', 'symbolic', 'apps', app_icon_name + '-symbolic.svg'),
|
||||||
install_dir: join_paths(theme_dir, 'symbolic', 'apps'))
|
install_dir: join_paths(theme_dir, 'symbolic', 'apps'))
|
||||||
|
@ -55,29 +57,3 @@ foreach size : sizes
|
||||||
install_dir: join_paths(app_theme_dir, size + 'x' + size, category))
|
install_dir: join_paths(app_theme_dir, size + 'x' + size, category))
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
|
|
||||||
# Install Ubuntu icons
|
|
||||||
if get_option('ubuntu')
|
|
||||||
themes = ['ubuntu-mono-dark', 'ubuntu-mono-light']
|
|
||||||
size = '24'
|
|
||||||
|
|
||||||
foreach theme : themes
|
|
||||||
theme_dir = join_paths(get_option('prefix'), 'share', 'icons', theme)
|
|
||||||
|
|
||||||
install_data(sources: join_paths(theme, category, size, 'process-syncing.png'),
|
|
||||||
install_dir: join_paths(theme_dir, category, size))
|
|
||||||
|
|
||||||
install_data(sources: join_paths(theme, category, size, 'process-syncing-idle.png'),
|
|
||||||
install_dir: join_paths(theme_dir, category, size))
|
|
||||||
|
|
||||||
install_data(sources: join_paths(theme, category, size, 'process-syncing-up.png'),
|
|
||||||
install_dir: join_paths(theme_dir, category, size))
|
|
||||||
|
|
||||||
install_data(sources: join_paths(theme, category, size, 'process-syncing-down.png'),
|
|
||||||
install_dir: join_paths(theme_dir, category, size))
|
|
||||||
|
|
||||||
install_data(sources: join_paths(theme, category, size, 'process-syncing-error.png'),
|
|
||||||
install_dir: join_paths(theme_dir, category, size))
|
|
||||||
endforeach
|
|
||||||
endif
|
|
||||||
|
|
||||||
|
|
Before Width: | Height: | Size: 271 B |
Before Width: | Height: | Size: 266 B |
Before Width: | Height: | Size: 361 B |
Before Width: | Height: | Size: 271 B |
Before Width: | Height: | Size: 268 B |
Before Width: | Height: | Size: 258 B |
Before Width: | Height: | Size: 250 B |
Before Width: | Height: | Size: 337 B |
Before Width: | Height: | Size: 259 B |
Before Width: | Height: | Size: 252 B |