Use icon made by Lapo Calamandrei.

This commit is contained in:
Hylke Bons 2010-05-01 18:37:27 +01:00
parent 1c96eba657
commit 18c71e03d8
16 changed files with 2492 additions and 5 deletions

View file

@ -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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 710 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 766 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 940 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1,004 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 978 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

2478
data/sparklepony.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 809 KiB

View file

@ -1,5 +1,5 @@
[Desktop Entry]
Name=SparklePony
Exec=sparklepony start
Icon=folder-publicshare
Icon=folder-sparklepony
Terminal=false

View file

@ -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);