View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009497 | Scribus | Scrapbook | public | 2010-11-17 14:40 | 2016-05-14 20:33 |
Reporter | ale | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | always |
Status | new | Resolution | open | ||
Target Version | Future Release - Nice to have | ||||
Summary | 0009497: have a way to set the displayed name for the scrapbook | ||||
Description | if i want to create a project specific scrapbook: - create a new scrapbook - put it in the projects own directory named "scrapbook" - now all my scrapbooks which are project specific are called "scrapbook" - if i choose the name of the project for the directory, i will have a "project" directory in the project's directory... not really better. this is needed if i want to distribute the scrapbook together with the .sla and other project files. | ||||
Tags | #easyhack, scrapbook | ||||
Patch | No | ||||
related to | 0001617 | feedback | binding a scrapbook with a file |
|
Seems that solution could be to display name of parent directory where scrapbook is located ? Like "Project_dir_name -> Scrapbook_dir_name" ? |
|
It rather do not fit your needs, but maybe someone will get my solution for further rewriting and fixing... Just changing 2 lines in scrapbookpalette.cpp (change from d.dirName to d.absolutePath) makes that in Scrapbook palette will be paths to scrapbooks, not only names. But I dont know how to save these new names - it only works on opening scrapbooks. Index: Scribus/scribus/scrapbookpalette.cpp =================================================================== --- Scribus/scribus/scrapbookpalette.cpp (wersja 15812) +++ Scribus/scribus/scrapbookpalette.cpp (kopia robocza) @@ -726,9 +726,9 @@ activeBView->canWrite = fd.isWritable(); activeBView->setAcceptDrops(activeBView->canWrite); if (activeBView->canWrite) - Frame3->addItem(activeBView, d.dirName()); + Frame3->addItem(activeBView, d.absolutePath()); else - Frame3->addItem(activeBView, QIcon(loadIcon("16/lock.png")), d.dirName()); + Frame3->addItem(activeBView, QIcon(loadIcon("16/lock.png")), d.absolutePath()); activeBView->ReadContents(fileName); activeBView->ScFilename = fileName; activeBView->visibleName = d.dirName(); |
|
mmh... not sure that it would work... there other scrapbook which are not project specific but are my own scrapbooks. for those ones -- which are stored in a central directory -- i guess that the name of the directory is a good default choice for the name of the scrapook. personally, i think that there should be a preference file in the scrapbook directory which holds -- among other things? -- the scrapbook name... but: nice try! :-) |
Date Modified | Username | Field | Change |
---|---|---|---|
2010-11-17 14:40 | ale | New Issue | |
2010-11-19 08:19 | cezaryece | Note Added: 0024852 | |
2010-11-19 08:20 | cezaryece | Note Edited: 0024852 | |
2010-11-19 13:25 | cezaryece | Note Added: 0024853 | |
2010-11-19 13:26 | cezaryece | Note Edited: 0024853 | |
2010-11-19 13:29 | cezaryece | Note Edited: 0024853 | |
2010-11-20 17:37 | ale | Note Added: 0024856 | |
2016-05-14 20:32 | Kunda | Tag Attached: scrapbook | |
2016-05-14 20:32 | Kunda | Tag Attached: #easyhack | |
2016-05-14 20:33 | Kunda | Patch | => No |
2016-05-14 20:33 | Kunda | Target Version | => Future Release - Nice to have |
2016-05-14 20:33 | Kunda | Relationship added | related to 0001617 |