gnome-session r5176 - in branches/gnome-2-24: . gnome-session



Author: lucasr
Date: Tue Jan  6 02:56:41 2009
New Revision: 5176
URL: http://svn.gnome.org/viewvc/gnome-session?rev=5176&view=rev

Log:
2009-01-06  Lucas Rocha  <lucasr gnome org>

	Bug 557634 â gnome-session doesn't inspect $XDG_DATA_HOME/applications
 
 	* gnome-session/gsm-util.c (gsm_util_get_app_dirs): add
 	$XDG_DATA_HOME/applications to the list of app directories.
 	Patch by tuxce.


Modified:
   branches/gnome-2-24/ChangeLog
   branches/gnome-2-24/gnome-session/gsm-util.c

Modified: branches/gnome-2-24/gnome-session/gsm-util.c
==============================================================================
--- branches/gnome-2-24/gnome-session/gsm-util.c	(original)
+++ branches/gnome-2-24/gnome-session/gsm-util.c	Tue Jan  6 02:56:41 2009
@@ -76,6 +76,11 @@
 
         dirs = g_ptr_array_new ();
 
+        g_ptr_array_add (dirs,
+			 g_build_filename (g_get_user_data_dir (),
+					   "applications",
+					   NULL));
+
         system_data_dirs = g_get_system_data_dirs ();
         for (i = 0; system_data_dirs[i]; i++) {
                 g_ptr_array_add (dirs,



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