gnome-session r4837 - in trunk: . splash



Author: fcrozat
Date: Thu Jul 24 13:30:16 2008
New Revision: 4837
URL: http://svn.gnome.org/viewvc/gnome-session?rev=4837&view=rev

Log:
2008-07-24  Frederic Crozat  <fcrozat mandriva com>

        * splash/gnome-login-sound.c: really disable login/logout sound
        if disabled by user. Fix bug #544540.



Modified:
   trunk/ChangeLog
   trunk/splash/gnome-login-sound.c

Modified: trunk/splash/gnome-login-sound.c
==============================================================================
--- trunk/splash/gnome-login-sound.c	(original)
+++ trunk/splash/gnome-login-sound.c	Thu Jul 24 13:30:16 2008
@@ -49,6 +49,11 @@
     }
 
   *was_set = TRUE;
+  if (!sound_file[0])
+    {
+      return NULL;
+    }
+
   if (!g_path_is_absolute (sound_file))
     {
       char *tmp_sound_file;



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