Annotation of /trunk/gnome-session/patches/gnome-session-2.8.1-hide_splash.patch
Parent Directory | Revision Log
Revision 144 -
(hide annotations)
(download)
Tue May 8 20:06:05 2007 UTC (17 years, 4 months ago) by niro
File size: 1469 byte(s)
Tue May 8 20:06:05 2007 UTC (17 years, 4 months ago) by niro
File size: 1469 byte(s)
-import
1 | niro | 144 | diff -ur gnome-session-2.8.1/gnome-session/manager.c gnome-session-2.8.1-splashhide/gnome-session/manager.c |
2 | --- gnome-session-2.8.1/gnome-session/manager.c 2004-10-01 18:13:23.000000000 +0800 | ||
3 | +++ gnome-session-2.8.1-splashhide/gnome-session/manager.c 2004-11-25 12:19:03.377269296 +0800 | ||
4 | @@ -1380,8 +1380,10 @@ | ||
5 | if (pending_list) | ||
6 | runlevel = client->priority; | ||
7 | } | ||
8 | - if (pending_list) | ||
9 | + if (pending_list) { | ||
10 | + splash_hide(); | ||
11 | goto out; | ||
12 | + } | ||
13 | } | ||
14 | save_state = MANAGER_IDLE; | ||
15 | save_state_changed (); | ||
16 | diff -ur gnome-session-2.8.1/gnome-session/splash-widget.c gnome-session-2.8.1-splashhide/gnome-session/splash-widget.c | ||
17 | --- gnome-session-2.8.1/gnome-session/splash-widget.c 2004-09-25 00:35:38.000000000 +0800 | ||
18 | +++ gnome-session-2.8.1-splashhide/gnome-session/splash-widget.c 2004-11-25 12:17:34.346803984 +0800 | ||
19 | @@ -605,3 +605,11 @@ | ||
20 | } | ||
21 | } | ||
22 | |||
23 | +void | ||
24 | +splash_hide (void) | ||
25 | +{ | ||
26 | + if(global_splash) { | ||
27 | + gtk_widget_hide (GTK_WIDGET (global_splash)); | ||
28 | + } | ||
29 | +} | ||
30 | + | ||
31 | diff -ur gnome-session-2.8.1/gnome-session/splash-widget.h gnome-session-2.8.1-splashhide/gnome-session/splash-widget.h | ||
32 | --- gnome-session-2.8.1/gnome-session/splash-widget.h 2003-02-14 06:29:57.000000000 +0800 | ||
33 | +++ gnome-session-2.8.1-splashhide/gnome-session/splash-widget.h 2004-11-25 12:16:49.267657056 +0800 | ||
34 | @@ -79,5 +79,6 @@ | ||
35 | void splash_start (void); | ||
36 | void splash_update (const gchar *text); | ||
37 | void splash_stop (void); | ||
38 | +void splash_hide (void); | ||
39 | |||
40 | #endif /* SPLASH_WIDGET_H */ |