diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2003-11-04 04:15:50 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2003-11-04 04:15:50 +0800 |
commit | b7db046f8d11f3b33fca890c57f082ac7213f6fc (patch) | |
tree | 4dde7df93330955a85339f97dc0a68de6266ce7a /shell/e-shell-settings-dialog.c | |
parent | c7b4440e3b45637890a451b58a50b2ca8b119920 (diff) | |
download | gsoc2013-evolution-b7db046f8d11f3b33fca890c57f082ac7213f6fc.tar.gz gsoc2013-evolution-b7db046f8d11f3b33fca890c57f082ac7213f6fc.tar.zst gsoc2013-evolution-b7db046f8d11f3b33fca890c57f082ac7213f6fc.zip |
Use "evolution2:config_item" attributes instead of "evolution:config_item"
* GNOME_Evolution_Shell.server.in.in: Use "evolution2:config_item"
attributes instead of "evolution:config_item" ones.
* e-shell-settings-dialog.c (load_pages): Expect
"evolution2:config_item" properties instead of
"evolution:config_item" so they do not conflict with 1.4's.
svn path=/trunk/; revision=23171
Diffstat (limited to 'shell/e-shell-settings-dialog.c')
-rw-r--r-- | shell/e-shell-settings-dialog.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/shell/e-shell-settings-dialog.c b/shell/e-shell-settings-dialog.c index ed688828db..f0476bf0d5 100644 --- a/shell/e-shell-settings-dialog.c +++ b/shell/e-shell-settings-dialog.c @@ -165,7 +165,7 @@ load_pages (EShellSettingsDialog *dialog) CORBA_exception_init (&ev); - control_list = bonobo_activation_query ("defined(evolution:config_item:title)", NULL, &ev); + control_list = bonobo_activation_query ("defined(evolution2:config_item:title)", NULL, &ev); if (ev._major != CORBA_NO_EXCEPTION || control_list == NULL) { g_warning ("Cannot load configuration pages -- %s", BONOBO_EX_REPOID (&ev)); CORBA_exception_free (&ev); @@ -192,11 +192,11 @@ load_pages (EShellSettingsDialog *dialog) info = & control_list->_buffer[i]; - title = bonobo_server_info_prop_lookup (info, "evolution:config_item:title", language_list); - description = bonobo_server_info_prop_lookup (info, "evolution:config_item:description", language_list); - icon_path = bonobo_server_info_prop_lookup (info, "evolution:config_item:icon_name", NULL); - type = bonobo_server_info_prop_find (info, "evolution:config_item:type"); - priority_string = bonobo_server_info_prop_lookup (info, "evolution:config_item:priority", NULL); + title = bonobo_server_info_prop_lookup (info, "evolution2:config_item:title", language_list); + description = bonobo_server_info_prop_lookup (info, "evolution2:config_item:description", language_list); + icon_path = bonobo_server_info_prop_lookup (info, "evolution2:config_item:icon_name", NULL); + type = bonobo_server_info_prop_find (info, "evolution2:config_item:type"); + priority_string = bonobo_server_info_prop_lookup (info, "evolution2:config_item:priority", NULL); if (icon_path == NULL) { icon = NULL; |