aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-splash.c
diff options
context:
space:
mode:
authorIain Holmes <iain@helixcode.com>2000-10-18 18:56:11 +0800
committerIain Holmes <iain@src.gnome.org>2000-10-18 18:56:11 +0800
commit80dbb750f559f058ef656b012c24b031f0881126 (patch)
tree5c6b0dcffc27eed9503f2c67675eae81778e8988 /shell/e-splash.c
parent8d91a9c1c66077eb71a0bdab2bd946be70afa1ac (diff)
downloadgsoc2013-evolution-80dbb750f559f058ef656b012c24b031f0881126.tar
gsoc2013-evolution-80dbb750f559f058ef656b012c24b031f0881126.tar.gz
gsoc2013-evolution-80dbb750f559f058ef656b012c24b031f0881126.tar.bz2
gsoc2013-evolution-80dbb750f559f058ef656b012c24b031f0881126.tar.lz
gsoc2013-evolution-80dbb750f559f058ef656b012c24b031f0881126.tar.xz
gsoc2013-evolution-80dbb750f559f058ef656b012c24b031f0881126.tar.zst
gsoc2013-evolution-80dbb750f559f058ef656b012c24b031f0881126.zip
Save the settings before the view is destroyed. (e_shell_quit): Don't save
2000-10-17 Iain Holmes <iain@helixcode.com> * e-shell.c (view_deleted_cb): Save the settings before the view is destroyed. (e_shell_quit): Don't save the settings when there are no views. 2000-10-16 Iain Holmes <iain@helixcode.com> * e-setup.c (check_evolution_directory): Better dialog. * e-splash.c (icon_free): Don't unref the canvas item. (e_splash_construct): Add a frame round the splash screen. svn path=/trunk/; revision=5985
Diffstat (limited to 'shell/e-splash.c')
-rw-r--r--shell/e-splash.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/shell/e-splash.c b/shell/e-splash.c
index 535eafa2ed..8588d085b8 100644
--- a/shell/e-splash.c
+++ b/shell/e-splash.c
@@ -134,7 +134,7 @@ icon_free (Icon *icon)
{
gdk_pixbuf_unref (icon->dark_pixbuf);
gdk_pixbuf_unref (icon->light_pixbuf);
- gtk_object_unref (GTK_OBJECT (icon->canvas_item));
+/* gtk_object_unref (GTK_OBJECT (icon->canvas_item)); */
g_free (icon);
}
@@ -271,7 +271,7 @@ e_splash_construct (ESplash *splash,
GdkPixbuf *splash_image_pixbuf)
{
ESplashPrivate *priv;
- GtkWidget *canvas;
+ GtkWidget *canvas, *frame;
int image_width, image_height;
g_return_if_fail (splash != NULL);
@@ -292,7 +292,12 @@ e_splash_construct (ESplash *splash,
gnome_canvas_set_scroll_region (GNOME_CANVAS (canvas), 0, 0, image_width, image_height);
gtk_widget_show (canvas);
- gtk_container_add (GTK_CONTAINER (splash), canvas);
+ frame = gtk_frame_new (NULL);
+ gtk_frame_set_shadow_type (GTK_FRAME (frame), GTK_SHADOW_OUT);
+ gtk_container_add (GTK_CONTAINER (frame), canvas);
+ gtk_widget_show (frame);
+
+ gtk_container_add (GTK_CONTAINER (splash), frame);
gnome_canvas_item_new (GNOME_CANVAS_GROUP (priv->canvas->root),
GNOME_TYPE_CANVAS_PIXBUF,