[gcompris/gcomprixogoo] Removed the flying plane in the about dialog.



commit 0deb4003d5bc6f3e80cae24a157480b5255a219d
Author: Bruno Coudoin <bruno coudoin free fr>
Date:   Sat Oct 30 23:34:48 2010 +0200

    Removed the flying plane in the about dialog.
    
    This removes the need for an extra .png of our logo. Now we
    have our logo in the main window when we start it.

 boards/skins/babytoy/gcompris-about.png |  Bin 35021 -> 0 bytes
 boards/skins/gartoon/gcompris-about.png |  Bin 19233 -> 0 bytes
 src/gcompris/about.c                    |   22 ----------------------
 3 files changed, 0 insertions(+), 22 deletions(-)
---
diff --git a/src/gcompris/about.c b/src/gcompris/about.c
index f502fa0..392ce12 100644
--- a/src/gcompris/about.c
+++ b/src/gcompris/about.c
@@ -44,7 +44,6 @@ void gc_about_start ()
   gdouble x_start = 0;
   gint y = 0;
   GooCanvasItem *item;
-  gint plane_y;
 
   static gchar *content =
     N_("Author: Bruno Coudoin\n"
@@ -226,27 +225,6 @@ void gc_about_start ()
 			  (GtkSignalFunc) item_event_ok,
 			  "ok");
 
-  // The animation
-  pixmap = gc_skin_pixmap_load("gcompris-about.png");
-
-  plane_y = BOARDHEIGHT - gdk_pixbuf_get_height(pixmap);
-  item = goo_canvas_image_new (rootitem,
-			       pixmap,
-			       -1 * gdk_pixbuf_get_width(pixmap),
-			       plane_y,
-			       NULL);
-
-  goo_canvas_item_animate (item,
-			   BOARDWIDTH + gdk_pixbuf_get_width(pixmap),
-			   -1 * gdk_pixbuf_get_height(pixmap),
-			   0.4,
-			   -30,
-			   TRUE,
-			   40 * BOARDWIDTH, 40,
-			   GOO_CANVAS_ANIMATE_RESTART);
-
-  gdk_pixbuf_unref(pixmap);
-
   is_displayed = TRUE;
 
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]