Re: [gnome] UI improvements & menu patch

2000-09-19 Thread Lars Gullik Bjønnes
Marko Vendelin <[EMAIL PROTECTED]> writes: | > int const sz = clist_bib_->columns().size(); | > for (int i = 0; i < sz; ++i) { | > ... | > } | > | > Would also suit me a lot better. But of course, if clist_bib_->columns() is a container (stl), I'd really

Re: [gnome] UI improvements & menu patch

2000-09-19 Thread Marko Vendelin
On 19 Sep 2000, Lars Gullik Bjønnes wrote: > Marko Vendelin <[EMAIL PROTECTED]> writes: > > | Hi! > > I don't like this code: > + // setting sizes of the widgets > + string path; > + string w, h; > + path = PACKAGE "/" + LOCAL_CONFIGURE_PREFIX; > + > + w = path + "/"

Re: [gnome] UI improvements & menu patch

2000-09-19 Thread Lars Gullik Bjønnes
Marko Vendelin <[EMAIL PROTECTED]> writes: | Hi! I don't like this code: + // setting sizes of the widgets + string path; + string w, h; + path = PACKAGE "/" + LOCAL_CONFIGURE_PREFIX; + + w = path + "/" + CONF_PANE_INFO + CONF_PANE_INFO_DEFAULT; it should be w

RE: [gnome] UI improvements & menu patch

2000-09-19 Thread Marko Vendelin
On Tue, 19 Sep 2000, Juergen Vigna wrote: > Some comments: > > - the TOC menu is far to long, you have to find a better solution! > (try to load the UserGuide and look at it my goes down the screen!) True. I have to use .depth information and construct submenus as it is done in xforms front

RE: [gnome] UI improvements & menu patch

2000-09-19 Thread Juergen Vigna
On 19-Sep-2000 Marko Vendelin wrote: > > Hi! > > the first part of this patch adds TOC, ViewFormats, UpdateFormats, and > ExportFormats to Gnome menu. TOC is updated by "Refresh" button, as > suggested by Jürgen earlier. Some comments: - the TOC menu is far to long, you have to find a better

Re: [gnome] UI improvements & menu patch

2000-09-19 Thread Marko Vendelin
On 19 Sep 2000, Lars Gullik Bjønnes wrote: > If I guess correctly this should be written as: > > case MenuItem::Toc: > { > TocItem tit; > tit.path = path; > toc_.push_back(tit); > break; > } No. toc_ is a

RE: [gnome] UI improvements & menu patch

2000-09-19 Thread Juergen Vigna
On 19-Sep-2000 Marko Vendelin wrote: > Jürgen, can you put the following code instead: > > case MenuItem::Toc: { > ListsHolder t; > t.path = path; > toc_.push_back(t); > break; > } > Done! I'll commit soon as I have to leave! Jürgen -- -._-._-._-

Re: [gnome] UI improvements & menu patch

2000-09-19 Thread Lars Gullik Bjønnes
Juergen Vigna <[EMAIL PROTECTED]> writes: | On 19-Sep-2000 Marko Vendelin wrote: | > | > Hi! | | Hi Marko! | | > | > the first part of this patch adds TOC, ViewFormats, UpdateFormats, and | > ExportFormats to Gnome menu. TOC is updated by "Refresh" button, as | > suggested by Jürgen earlier.

RE: [gnome] UI improvements & menu patch

2000-09-19 Thread Marko Vendelin
> I get an error in Menubar_pimpl.C:327 code when compiling your patch: > > case MenuItem::Toc: { > toc_.push_back(); > toc_[toc_.size()-1].path = path; > break; > } Jürgen, can you put the following code instead: case MenuItem::Toc: { ListsHo

RE: [gnome] UI improvements & menu patch

2000-09-19 Thread Juergen Vigna
On 19-Sep-2000 Marko Vendelin wrote: > > Hi! Hi Marko! > > the first part of this patch adds TOC, ViewFormats, UpdateFormats, and > ExportFormats to Gnome menu. TOC is updated by "Refresh" button, as > suggested by Jürgen earlier. I get an error in Menubar_pimpl.C:327 code when compiling yo

Re: [gnome] UI improvements & menu patch

2000-09-19 Thread Lars Gullik Bjønnes
Allan Rae <[EMAIL PROTECTED]> writes: | > C-o opens a new document now :( /* LyX 1.1.5 too */. Where I am supposed | > to position a cursor (before inset or after inset) to issue C-o ? | | Maybe you use CUA bindings while I use xemacs bindings 'cos it works for | me. (cursor in front of the ins

Re: [gnome] UI improvements & menu patch

2000-09-19 Thread Marko Vendelin
On Tue, 19 Sep 2000, Allan Rae wrote: > > > Can't you just make it that this menu can't be torn off? > > > > I think its not nice. I would even suggest that it will one of the most > > Only an interim measure to stop the complaints about it not being updated > unless it's closed/reattached or

Re: [gnome] UI improvements & menu patch

2000-09-19 Thread Allan Rae
On Tue, 19 Sep 2000, Marko Vendelin wrote: > On Tue, 19 Sep 2000, Allan Rae wrote: > > > Can't you just make it that this menu can't be torn off? > > I think its not nice. I would even suggest that it will one of the most Only an interim measure to stop the complaints about it not being update

Re: [gnome] UI improvements & menu patch

2000-09-19 Thread Marko Vendelin
On Tue, 19 Sep 2000, Allan Rae wrote: > Can't you just make it that this menu can't be torn off? I think its not nice. I would even suggest that it will one of the most popular menus to tear off :(. However, even if I disable this feature then I will have to compose menus on the fly as it is d

Re: [gnome] UI improvements & menu patch

2000-09-18 Thread Allan Rae
On Tue, 19 Sep 2000, Marko Vendelin wrote: > > Hi! > > the first part of this patch adds TOC, ViewFormats, UpdateFormats, and > ExportFormats to Gnome menu. TOC is updated by "Refresh" button, as > suggested by Jürgen earlier. Can't you just make it that this menu can't be torn off? [...] >

[gnome] UI improvements & menu patch

2000-09-18 Thread Marko Vendelin
Hi! the first part of this patch adds TOC, ViewFormats, UpdateFormats, and ExportFormats to Gnome menu. TOC is updated by "Refresh" button, as suggested by Jürgen earlier. The second part of this patch resulted from the discussion on LyX user interface. I've added a possibility to ask user for