Author: aschnell Date: Sun Feb 15 18:01:55 2009 New Revision: 55520 URL: http://svn.opensuse.org/viewcvs/yast?rev=55520&view=rev Log: - .gv is the preferred suffix for graphviz graphs Modified: trunk/storage/libstorage/examples/SaveGraph.cc trunk/storage/storage/src/include/ep-graph.ycp Modified: trunk/storage/libstorage/examples/SaveGraph.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/examples/SaveGraph.cc?rev=55520&r1=55519&r2=55520&view=diff ============================================================================== --- trunk/storage/libstorage/examples/SaveGraph.cc (original) +++ trunk/storage/libstorage/examples/SaveGraph.cc Sun Feb 15 18:01:55 2009 @@ -10,9 +10,12 @@ main (int argc, char** argv) { initDefaultLogger(); + StorageInterface* s = createStorageInterface(true, false, true); - saveGraph(s, "storage.dot"); + saveGraph(s, "storage.gv"); + + destroyStorageInterface(s); exit(EXIT_SUCCESS); } Modified: trunk/storage/storage/src/include/ep-graph.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/include/ep-graph.ycp?rev=55520&r1=55519&r2=55520&view=diff ============================================================================== --- trunk/storage/storage/src/include/ep-graph.ycp (original) +++ trunk/storage/storage/src/include/ep-graph.ycp Sun Feb 15 18:01:55 2009 @@ -10,7 +10,7 @@ void CreateGraphPanel(any user_data) { - string filename = Directory::tmpdir + "/storage.dot"; + string filename = Directory::tmpdir + "/storage.gv"; Storage::SaveGraph(filename); UI::ReplaceWidget(`tree_panel, @@ -68,7 +68,7 @@ case `export: { - string filename = UI::AskForSaveFileName("/tmp", "*.dot", "Save as..."); + string filename = UI::AskForSaveFileName("/tmp", "*.gv", "Save as..."); if (filename != nil) { if (!Storage::SaveGraph(filename)) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org