[gnome-panel/bonobo-less] [applets-manager] Applet paths that appear first should take precedence
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel/bonobo-less] [applets-manager] Applet paths that appear first should take precedence
- Date: Fri, 26 Feb 2010 12:59:15 +0000 (UTC)
commit 6b05adbaa99cfff27b78901e39f71a9e77eef1d8
Author: Carlos Garcia Campos <carlosgc gnome org>
Date: Fri Feb 26 12:22:52 2010 +0100
[applets-manager] Applet paths that appear first should take precedence
gnome-panel/panel-applets-manager.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gnome-panel/panel-applets-manager.c b/gnome-panel/panel-applets-manager.c
index 6060241..4a8ecdf 100644
--- a/gnome-panel/panel-applets-manager.c
+++ b/gnome-panel/panel-applets-manager.c
@@ -293,6 +293,11 @@ _panel_applets_manager_init (void)
if (!info)
continue;
+ if (g_hash_table_lookup (applet_factories, info->id)) {
+ panel_applet_factory_info_free (info);
+ continue;
+ }
+
g_hash_table_insert (applet_factories, g_strdup (info->id), info);
retval = TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]