From 9a48c58cd01c6ab3909fc0fa4b883d2fd15e48ee Mon Sep 17 00:00:00 2001 From: John Smith Date: Thu, 16 Feb 2012 14:38:08 +0900 Subject: Fix for 930535 : Convert Font and Text dialog to a dockable dialog (bzr r10989) --- src/ui/context-menu.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/ui/context-menu.cpp') diff --git a/src/ui/context-menu.cpp b/src/ui/context-menu.cpp index 8824ad914..4cfc01cdc 100644 --- a/src/ui/context-menu.cpp +++ b/src/ui/context-menu.cpp @@ -55,7 +55,6 @@ void sp_object_menu(SPObject *object, SPDesktop *desktop, GtkMenu *menu) #include "sp-path.h" #include "sp-text.h" #include "desktop-handles.h" -#include "dialogs/text-edit.h" #include "dialogs/spellcheck.h" #include "ui/dialog/object-attributes.h" #include "ui/dialog/object-properties.h" @@ -534,7 +533,7 @@ static void sp_text_settings(GtkMenuItem *menuitem, SPItem *item) sp_desktop_selection(desktop)->set(item); } - sp_text_edit_dialog(); + desktop->_dlg_mgr->showDialog("TextFont"); } /* Spellcheck entry */ -- cgit v1.2.3