[maemo-commits] [maemo-commits] r8824 - in projects/haf/branches/maemo-af-desktop/hildon-desktop: . src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Tue Dec 19 17:37:31 EET 2006
Author: lucasr
Date: 2006-12-19 17:37:31 +0200 (Tue, 19 Dec 2006)
New Revision: 8824

Modified:
   projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog
   projects/haf/branches/maemo-af-desktop/hildon-desktop/src/hd-select-plugins-dialog.c
Log:
2006-12-19  Lucas Rocha  <lucas.rocha at nokia.com>

	* src/hd-select-plugins-dialog.c: only consider .desktop files when
	getting the list of available plugins for a container.


Modified: projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog
===================================================================
--- projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog	2006-12-19 15:25:57 UTC (rev 8823)
+++ projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog	2006-12-19 15:37:31 UTC (rev 8824)
@@ -1,3 +1,8 @@
+2006-12-19  Lucas Rocha  <lucas.rocha at nokia.com>
+
+	* src/hd-select-plugins-dialog.c: only consider .desktop files when
+	getting the list of available plugins for a container.
+
 2006-12-19  Moises Martinez  <moises.martinez at nokia.com>
 
 	* libhildondesktop/hn-app-switcher.c:

Modified: projects/haf/branches/maemo-af-desktop/hildon-desktop/src/hd-select-plugins-dialog.c
===================================================================
--- projects/haf/branches/maemo-af-desktop/hildon-desktop/src/hd-select-plugins-dialog.c	2006-12-19 15:25:57 UTC (rev 8823)
+++ projects/haf/branches/maemo-af-desktop/hildon-desktop/src/hd-select-plugins-dialog.c	2006-12-19 15:37:31 UTC (rev 8824)
@@ -161,6 +161,9 @@
     GList *active;
     error = NULL;
 
+    /* Only consider .desktop files */
+    if (!g_str_has_suffix (filename, ".desktop")) continue;
+
     desktop_path = g_build_filename (plugin_dir, filename, NULL);
 
     g_key_file_load_from_file (keyfile,


More information about the maemo-commits mailing list