diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2009-02-19 09:36:04 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2009-02-19 09:36:04 +0800 |
commit | fd564be3203400024147469faaa7de0884861566 (patch) | |
tree | 80e69ff89307a7393193520e0f2fe51cdc21540e /addressbook | |
parent | 7ed5f59771262651ee8b0d29a123e43a6ac0b6c6 (diff) | |
download | gsoc2013-evolution-fd564be3203400024147469faaa7de0884861566.tar.gz gsoc2013-evolution-fd564be3203400024147469faaa7de0884861566.tar.zst gsoc2013-evolution-fd564be3203400024147469faaa7de0884861566.zip |
Clean up the EMFormat stack. Add some GObject properties to bind to.
Add some handy color conversion functions to e-util.
svn path=/branches/kill-bonobo/; revision=37290
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/gui/component/e-book-shell-module.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/addressbook/gui/component/e-book-shell-module.c b/addressbook/gui/component/e-book-shell-module.c index bc224a93ad..0197661326 100644 --- a/addressbook/gui/component/e-book-shell-module.c +++ b/addressbook/gui/component/e-book-shell-module.c @@ -260,6 +260,7 @@ static void action_contact_new_cb (GtkAction *action, EShellWindow *shell_window) { + EShell *shell; EBook *book = NULL; GConfClient *client; ESourceList *source_list; @@ -273,10 +274,11 @@ action_contact_new_cb (GtkAction *action, return; } - client = gconf_client_get_default (); + shell = e_shell_window_get_shell (shell_window); + client = e_shell_get_gconf_client (shell); + key = "/apps/evolution/addressbook/display/primary_addressbook"; uid = gconf_client_get_string (client, key, NULL); - g_object_unref (client); if (uid != NULL) { ESource *source; |