summaryrefslogtreecommitdiffstats
path: root/src/gui/GraphBox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/GraphBox.cpp')
-rw-r--r--src/gui/GraphBox.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/GraphBox.cpp b/src/gui/GraphBox.cpp
index 2fd796d8..a2f76100 100644
--- a/src/gui/GraphBox.cpp
+++ b/src/gui/GraphBox.cpp
@@ -30,16 +30,16 @@
#include "App.hpp"
#include "BreadCrumbs.hpp"
-#include "Configuration.hpp"
#include "ConnectWindow.hpp"
-#include "LoadGraphWindow.hpp"
-#include "LoadPluginWindow.hpp"
-#include "MessagesWindow.hpp"
-#include "NewSubgraphWindow.hpp"
#include "GraphCanvas.hpp"
#include "GraphTreeWindow.hpp"
#include "GraphView.hpp"
#include "GraphWindow.hpp"
+#include "LoadGraphWindow.hpp"
+#include "LoadPluginWindow.hpp"
+#include "MessagesWindow.hpp"
+#include "NewSubgraphWindow.hpp"
+#include "Style.hpp"
#include "ThreadedLoader.hpp"
#include "WidgetFactory.hpp"
#include "WindowFactory.hpp"
@@ -477,8 +477,8 @@ GraphBox::event_save_as()
const Raul::Atom& document = _graph->get_property(uris.ingen_document);
if (document.type() == uris.forge.URI)
dialog.set_uri(document.get_uri());
- else if (_app->configuration()->graph_folder().length() > 0)
- dialog.set_current_folder(_app->configuration()->graph_folder());
+ else if (_app->style()->graph_folder().length() > 0)
+ dialog.set_current_folder(_app->style()->graph_folder());
if (dialog.run() != Gtk::RESPONSE_OK)
break;
@@ -552,7 +552,7 @@ GraphBox::event_save_as()
STATUS_CONTEXT_GRAPH);
}
- _app->configuration()->set_graph_folder(dialog.get_current_folder());
+ _app->style()->set_graph_folder(dialog.get_current_folder());
break;
}
}