[f-spot] Remove the horrible .xpm thing in Filmstrip.
- From: Ruben Vermeersch <rubenv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [f-spot] Remove the horrible .xpm thing in Filmstrip.
- Date: Thu, 22 Jul 2010 17:30:27 +0000 (UTC)
commit 86442b74866f3f231ce3548044382c1dd39e84e1
Author: Ruben Vermeersch <ruben savanne be>
Date: Thu Jul 22 19:23:49 2010 +0200
Remove the horrible .xpm thing in Filmstrip.
src/PhotoView.cs | 3 -
src/Widgets/Filmstrip.cs | 111 ++--------------------------------------------
2 files changed, 4 insertions(+), 110 deletions(-)
---
diff --git a/src/PhotoView.cs b/src/PhotoView.cs
index caa93b1..ad8edc5 100644
--- a/src/PhotoView.cs
+++ b/src/PhotoView.cs
@@ -310,9 +310,6 @@ namespace FSpot {
photo_view = new PhotoImageView (bp);
filmstrip = new Filmstrip (bp);
- Gdk.Pixbuf bg = new Gdk.Pixbuf (Gdk.Colorspace.Rgb, true, 8, 1, 77);
- bg.Fill (0x00000000);
- filmstrip.BackgroundTile = bg;
filmstrip.ThumbOffset = 1;
filmstrip.Spacing = 4;
filmstrip.ThumbSize = 75;
diff --git a/src/Widgets/Filmstrip.cs b/src/Widgets/Filmstrip.cs
index c3fc8c9..ac9b42f 100644
--- a/src/Widgets/Filmstrip.cs
+++ b/src/Widgets/Filmstrip.cs
@@ -91,116 +91,13 @@ namespace FSpot.Widgets
set { squared_thumbs = value; }
}
- static string [] film_100_xpm = {
- "14 100 2 1",
- " c None",
- ". c #000000",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..... .....",
- ".... ....",
- ".... ....",
- ".... ....",
- ".... ....",
- ".... ....",
- ".... ....",
- "..... .....",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..............",
- "..... .....",
- ".... ....",
- ".... ....",
- ".... ....",
- ".... ....",
- ".... ....",
- ".... ....",
- "..... .....",
- "..............",
- "..............",
- "..............",
- "..............",
- ".............."};
-
Pixbuf background_tile;
public Pixbuf BackgroundTile {
get {
- if (background_tile == null)
- background_tile = new Pixbuf(film_100_xpm);
+ if (background_tile == null) {
+ background_tile = new Gdk.Pixbuf (Gdk.Colorspace.Rgb, true, 8, 1, 77);
+ background_tile.Fill (0x00000000);
+ }
if (Orientation == Orientation.Horizontal && background_tile.Height < background_tile.Width)
background_tile = background_tile.RotateSimple (PixbufRotation.Counterclockwise);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]