[kupfer] data: Always load plugins in sorted order
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [kupfer] data: Always load plugins in sorted order
- Date: Thu, 10 Mar 2011 23:27:43 +0000 (UTC)
commit 4f972ee9e8504b9a223d0a56cc56225ad61d1986
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Fri Mar 11 00:25:30 2011 +0100
data: Always load plugins in sorted order
kupfer/core/data.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/kupfer/core/data.py b/kupfer/core/data.py
index fc15f9d..03b0a84 100644
--- a/kupfer/core/data.py
+++ b/kupfer/core/data.py
@@ -544,7 +544,7 @@ class DataController (gobject.GObject, pretty.OutputMixin):
from kupfer.core import plugins
setctl = settings.GetSettingsController()
- for item in plugins.get_plugin_ids():
+ for item in sorted(plugins.get_plugin_ids()):
if not setctl.get_plugin_enabled(item):
continue
sources = self._load_plugin(item)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]