Hi all,This is a mail forwarded (and slightly edited by me) from the User's list of Dieter Jurzitza. I posed two questions in the mail below.
Vincent Dieter Jurzitza schreef: > Dear listmembers, > > ... what I would like to see are [four] little symbols for > flush-right, flush-left, center [and justified] on the top-level > [toolbar] that help me avoid diving into a submenu in order to > achieve this. So, to whom it might concern: I attach the png-files > required for the commands I wanted to this email as well as the > required patch for the ui file - use it or discard it. Do we want to add this feature to the toolbar ? I want, but other opinions were expressed on the list too. > To the developers: it would be _very_ nice if you could patch the > debug output message in such a way that the names of the missing files > get printed as well - this would be a way of helping people to help > themselves. See patch attached - just my suggestion, this would really > help. Andre thought we should apply this patch. So, do we need the usual license stuff from Dieter for this patch ? > > Thanks again to everybody! > > Take care > > > > Dieter Jurzitza
<<inline: paragraph-params_\\align_block.png>>
<<inline: paragraph-params_\\align_center.png>>
<<inline: paragraph-params_\\align_left.png>>
<<inline: paragraph-params_\\align_right.png>>
--- src/frontends/qt4/GuiApplication.cpp.original 2008-11-29 15:16:00.000000000 +0100 +++ src/frontends/qt4/GuiApplication.cpp 2009-01-01 21:56:46.000000000 +0100 @@ -342,7 +342,11 @@ if (res.exists(name2)) return path + name2; - LYXERR(Debug::GUI, "Cannot find icon for command \"" + LYXERR(Debug::GUI, "Cannot find icon with filename " + << "\"" << name1 << "\"" + << " or filename " + << "\"" << name2 << "\"" + << " for command " << lyxaction.getActionName(f.action) << '(' << to_utf8(f.argument()) << ")\"");
--- stdtoolbars.inc.original 2008-12-20 20:01:06.000000000 +0100 +++ stdtoolbars.inc 2009-01-01 21:37:59.000000000 +0100 @@ -110,6 +110,11 @@ Item "Text style" "dialog-show character" Item "Paragraph settings" "layout-paragraph" Item "Thesaurus" "thesaurus-entry" + Separator + Item "Align justified" "paragraph-params \align block" + Item "Align left" "paragraph-params \align left" + Item "Align center" "paragraph-params \align center" + Item "Align right" "paragraph-params \align right" End Toolbar "table" "Table"