src/gui_actions.cc

changeset 577
17a88e2470c9
parent 575
59c0b57e843b
child 578
a86ae85a277c
equal deleted inserted replaced
576:d26334c6b7fd 577:17a88e2470c9
677 subtitle.remove (0, 1); 677 subtitle.remove (0, 1);
678 678
679 // If this the parent document isn't already in s/, we need to stuff it into 679 // If this the parent document isn't already in s/, we need to stuff it into
680 // a subdirectory named s/. Ensure it exists! 680 // a subdirectory named s/. Ensure it exists!
681 str topdirname = basename (dirname (getCurrentDocument()->getFullPath())); 681 str topdirname = basename (dirname (getCurrentDocument()->getFullPath()));
682 dlog ("topdirname: %1", topdirname);
683 682
684 if (topdirname != "s") 683 if (topdirname != "s")
685 { str desiredPath = subdirname + "/s"; 684 { str desiredPath = subdirname + "/s";
686 str title = ForgeWindow::tr ("Create subfile directory?"); 685 str title = ForgeWindow::tr ("Create subfile directory?");
687 str text = fmt (ForgeWindow::tr ("The directory <b>%1</b> is suggested for " 686 str text = fmt (ForgeWindow::tr ("The directory <b>%1</b> is suggested for "

mercurial