Use icon made by Lapo Calamandrei.
4
Makefile
|
@ -10,12 +10,14 @@ install:
|
|||
cp data/icons /usr/share/ -R
|
||||
mkdir -p ~/.config/autostart
|
||||
cp sparklepony.desktop.in ~/.config/autostart/sparklepony.desktop
|
||||
gtk-update-icon-cache /usr/share/icons/hicolor -f
|
||||
|
||||
|
||||
uninstall:
|
||||
rm /usr/local/bin/sparklepony
|
||||
rm /usr/local/share/sparklepony/SparklePony.exe
|
||||
rmdir /usr/local/share/sparklepony
|
||||
rm /usr/share/icons/hicolor/*x*/places/folder-publicshare.png
|
||||
rm /usr/share/icons/hicolor/*x*/places/folder-sparklepony.png
|
||||
rm /usr/share/icons/hicolor/*x*/status/document-*ed.png
|
||||
rm /usr/share/icons/hicolor/*x*/status/avatar-default.png
|
||||
rm ~/.config/autostart/sparklepony.desktop
|
||||
|
|
Before Width: | Height: | Size: 710 B |
BIN
data/icons/hicolor/16x16/places/folder-sparklepony.png
Normal file
After Width: | Height: | Size: 766 B |
Before Width: | Height: | Size: 940 B |
BIN
data/icons/hicolor/22x22/places/folder-sparklepony.png
Normal file
After Width: | Height: | Size: 1,004 B |
Before Width: | Height: | Size: 978 B |
BIN
data/icons/hicolor/24x24/places/folder-sparklepony.png
Normal file
After Width: | Height: | Size: 1 KiB |
Before Width: | Height: | Size: 46 KiB |
BIN
data/icons/hicolor/256x256/places/folder-sparklepony.png
Normal file
After Width: | Height: | Size: 49 KiB |
Before Width: | Height: | Size: 1.2 KiB |
BIN
data/icons/hicolor/32x32/places/folder-sparklepony.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 2.1 KiB |
BIN
data/icons/hicolor/48x48/places/folder-sparklepony.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
2478
data/sparklepony.svg
Normal file
After Width: | Height: | Size: 809 KiB |
|
@ -1,5 +1,5 @@
|
|||
[Desktop Entry]
|
||||
Name=SparklePony
|
||||
Exec=sparklepony start
|
||||
Icon=folder-publicshare
|
||||
Icon=folder-sparklepony
|
||||
Terminal=false
|
||||
|
|
|
@ -121,6 +121,13 @@ public class SparklePonyUI {
|
|||
if (!Directory.Exists (ReposPath)) {
|
||||
Directory.CreateDirectory (ReposPath);
|
||||
Console.WriteLine ("[Config] Created '" + ReposPath + "'");
|
||||
|
||||
Process.StartInfo.FileName = "gvfs-set-attribute";
|
||||
Process.StartInfo.Arguments = ReposPath + " metadata::custom-icon " +
|
||||
"file:///usr/share/icons/hicolor/" +
|
||||
"48x48/places/folder-sparklepony.png";
|
||||
Process.Start();
|
||||
|
||||
}
|
||||
|
||||
// Create place to store configuration user's home folder
|
||||
|
@ -190,7 +197,7 @@ public class SparklePonyStatusIcon : StatusIcon {
|
|||
|
||||
public SparklePonyStatusIcon () : base () {
|
||||
|
||||
IconName = "folder-publicshare";
|
||||
IconName = "folder-sparklepony";
|
||||
|
||||
string UserHome = Environment.GetEnvironmentVariable("HOME") + "/";
|
||||
string FirstRunFile = UserHome + ".config/sparklepony/firstrun";
|
||||
|
@ -213,7 +220,7 @@ public class SparklePonyStatusIcon : StatusIcon {
|
|||
}
|
||||
|
||||
public void SetIdleState () {
|
||||
IconName = "folder-publicshare";
|
||||
IconName = "folder-sparklepony";
|
||||
}
|
||||
|
||||
public void SetSyncingState () {
|
||||
|
@ -605,7 +612,7 @@ public class SparklePonyWindow : Window {
|
|||
SetSizeRequest (720, 540);
|
||||
SetPosition (WindowPosition.Center);
|
||||
BorderWidth = 6;
|
||||
IconName = "folder-publicshare";
|
||||
IconName = "folder-sparklepony";
|
||||
|
||||
VBox LayoutVertical = new VBox (false, 0);
|
||||
|
||||
|
|