2008-08-14 01:14:49 +02:00
|
|
|
Index: gnome-session-2.23.6/splash/splash-window.c
|
|
|
|
===================================================================
|
|
|
|
--- gnome-session-2.23.6.orig/splash/splash-window.c
|
|
|
|
+++ gnome-session-2.23.6/splash/splash-window.c
|
|
|
|
@@ -41,7 +41,7 @@ G_DEFINE_TYPE (GsmSplashWindow, gsm_spla
|
2008-07-25 00:53:09 +02:00
|
|
|
#define SPLASH_ICON_BORDER 26
|
2008-05-16 14:21:16 +02:00
|
|
|
#define SPLASH_ICON_SPACING 4
|
2008-07-25 00:53:09 +02:00
|
|
|
#define SPLASH_ICON_V_OFFSET 28
|
2008-05-16 14:21:16 +02:00
|
|
|
-#define SPLASH_BASE_ICON_SIZE 36
|
|
|
|
+#define SPLASH_BASE_ICON_SIZE 22
|
|
|
|
#define SPLASH_BASE_ICON_ROWS 1
|
|
|
|
|
2008-07-25 00:53:09 +02:00
|
|
|
static gboolean update_trans_effect (gpointer);
|
2008-08-14 01:14:49 +02:00
|
|
|
@@ -340,7 +340,7 @@ layout_icon (GsmSplashWindow *splash,
|
|
|
|
if (!si->scaled) {
|
|
|
|
if (gdk_pixbuf_get_width (si->unscaled) == splash->icon_size &&
|
|
|
|
gdk_pixbuf_get_height (si->unscaled) == splash->icon_size) {
|
|
|
|
- si->scaled = g_object_ref (si->unscaled);
|
|
|
|
+ si->scaled = gdk_pixbuf_copy (si->unscaled);
|
|
|
|
} else {
|
|
|
|
si->scaled = gdk_pixbuf_scale_simple (si->unscaled, splash->icon_size,
|
|
|
|
splash->icon_size,
|
|
|
|
@@ -469,7 +469,7 @@ gsm_splash_window_start (GsmSplashWindow
|
2008-07-25 00:53:09 +02:00
|
|
|
|
2008-08-14 01:14:49 +02:00
|
|
|
pb = gtk_icon_theme_load_icon (splash->icon_theme,
|
|
|
|
icon_name,
|
|
|
|
- 48, /* icon size */
|
|
|
|
+ 22, /* icon size */
|
|
|
|
0 /* flags */,
|
|
|
|
NULL);
|
|
|
|
if (!pb) {
|