Don't resize icons to the final presented size, since we have multiple

icons on the bitmap
This commit is contained in:
Alex Hudson 2010-07-26 13:00:03 +01:00
parent 080d50aa39
commit 496480af0c
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,7 @@ namespace SparkleShare {
CurrentStep = 0;
Size = 16;
Gdk.Pixbuf spinner_gallery = SparkleHelpers.GetIcon ("process-working", Size);
Gdk.Pixbuf spinner_gallery = SparkleHelpers.GetIcon ("process-working", Size * 8);
int frames_in_width = spinner_gallery.Width / Size;
int frames_in_height = spinner_gallery.Height / Size;

View file

@ -69,7 +69,7 @@ namespace SparkleShare {
FrameNumber = 0;
AnimationFrames = new Gdk.Pixbuf [5];
Gdk.Pixbuf frames_pixbuf = SparkleHelpers.GetIcon ("process-syncing-sparkleshare", 24);
Gdk.Pixbuf frames_pixbuf = SparkleHelpers.GetIcon ("process-syncing-sparkleshare", 120);
for (int i = 0; i < AnimationFrames.Length; i++)
AnimationFrames [i] = new Gdk.Pixbuf (frames_pixbuf, (i * 24), 0, 24, 24);