Re: Get toolbar gui name from name

2016-11-25 Thread Richard Heck
On 11/25/2016 11:37 AM, racoon wrote: > On 25.11.2016 18:25, Richard Heck wrote: >> On 11/25/2016 04:30 AM, racoon wrote: >>> Does anyone happen to know how to get a toolbar gui name, e.g. >>> "Standard", from a toolbar name, e.g. "standard"? >>> >>> I tried `ToolbarInfo(name).gui_name` but it

Re: Get toolbar gui name from name

2016-11-25 Thread Richard Heck
On 11/25/2016 04:30 AM, racoon wrote: > Does anyone happen to know how to get a toolbar gui name, e.g. > "Standard", from a toolbar name, e.g. "standard"? > > I tried `ToolbarInfo(name).gui_name` but it just gives an empty string. The problem is that "ToolbarInfo(name)" just constructs a new

Re: Get toolbar gui name from name

2016-11-25 Thread racoon
On 25.11.2016 18:25, Richard Heck wrote: On 11/25/2016 04:30 AM, racoon wrote: Does anyone happen to know how to get a toolbar gui name, e.g. "Standard", from a toolbar name, e.g. "standard"? I tried `ToolbarInfo(name).gui_name` but it just gives an empty string. The problem is that

Re: [LyX/master] Citation dialog redesign

2016-11-25 Thread Scott Kostyshak
On Fri, Sep 16, 2016 at 09:21:19AM +0200, Juergen Spitzmueller wrote: > commit 824e24ca60c511e48d94b039ef3a04163b847d3a > Author: Juergen Spitzmueller > Date: Fri Sep 16 09:21:04 2016 +0200 > > Citation dialog redesign I am liking this new design! One comment: I think that

Re: [LyX/master] Citation dialog redesign

2016-11-25 Thread Guillaume Munch
Le 25/11/2016 à 21:04, Scott Kostyshak a écrit : I think that "Search as you type" should be default because (1) this is consistent with similar dialogs such as the cross-reference dialog and the search in LyX preferences/document settings and (2) there is no "search" button as there was in the

Re: #10481: Hardening LyX against potential misuse

2016-11-25 Thread Scott Kostyshak
On Fri, Nov 25, 2016 at 02:32:37PM -0500, Scott Kostyshak wrote: > On Wed, Nov 23, 2016 at 10:27:03PM +0100, Tommaso Cucinotta wrote: > > > Any further comment welcome, thanks! > > I think the line-breaking in the warning dialog should be improved. The > horizontal width is larger than my 13 in.

Messaging

2016-11-25 Thread racoon
I have seen different message functions in LyX and wonder what purpose they fulfill. Right now I am concerned with two of them. In GuiView.cpp: "setMessage" as in "dr.setMessage": seems to show a message in both the status bar as well as the message pane on one line together with the command

Re: #10481: Hardening LyX against potential misuse

2016-11-25 Thread Tommaso Cucinotta
On 23/11/2016 01:11, Enrico Forestieri wrote: On Tue, Nov 22, 2016 at 11:59:37PM +0100, Tommaso Cucinotta wrote: There's a couple of TODOs left: 1. versioning of the preferences file, I don't know much in this area, the patch adds a couple of preferences options, what else is needed? Have a

Re: #10481: Hardening LyX against potential misuse

2016-11-25 Thread Richard Heck
On 11/25/2016 05:49 PM, Tommaso Cucinotta wrote: > On 23/11/2016 01:11, Enrico Forestieri wrote: >> On Tue, Nov 22, 2016 at 11:59:37PM +0100, Tommaso Cucinotta wrote: >>> >>> There's a couple of TODOs left: >>> 1. versioning of the preferences file, I don't know much in this >>> area, the >>>

Re: [LyX/master] Citation dialog redesign

2016-11-25 Thread Scott Kostyshak
On Fri, Nov 25, 2016 at 10:34:45PM +0100, Guillaume Munch wrote: > Le 25/11/2016 à 21:04, Scott Kostyshak a écrit : > > I think that "Search as you type" should be default because (1) this is > > consistent with similar dialogs such as the cross-reference dialog and > > the search in LyX

mathmacros/testcases_speed.lyx: Handling unknown body token

2016-11-25 Thread Scott Kostyshak
When opening the file autotests/mathmacros/testcases_speed.lyx I get the following terminal output: Text.cpp (1851): Handling unknown body token: `\begin_manifest' Text.cpp (1851): Handling unknown body token: `\use_refstyle' Text.cpp (1851): Handling unknown body token: `0' Text.cpp (1851):

Get toolbar gui name from name

2016-11-25 Thread racoon
Does anyone happen to know how to get a toolbar gui name, e.g. "Standard", from a toolbar name, e.g. "standard"? I tried `ToolbarInfo(name).gui_name` but it just gives an empty string. Probably it can be done somehow with `Toolbars::info`? But I don't know how. Daniel