From 9ed918cb334704764c709be1f544acaeb45a6375 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Wed, 19 Aug 2009 00:10:57 +0000 Subject: [PATCH] fix 167857 --- src/inkscape.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/inkscape.cpp b/src/inkscape.cpp index 01e11a916..fc9aff78e 100644 --- a/src/inkscape.cpp +++ b/src/inkscape.cpp @@ -805,8 +805,10 @@ inkscape_application_init (const gchar *argv0, gboolean use_gui) } } - inkscape_load_menus(inkscape); - sp_input_load_from_preferences(); + if (use_gui) { + inkscape_load_menus(inkscape); + sp_input_load_from_preferences(); + } /* set language for user interface according setting in preferences */ Glib::ustring ui_language = prefs->getString("/ui/language"); -- 2.30.2