Re: Gnome frontend: Menubar implementation, patch included

2000-09-04 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> F.eks. Menu bindings sould not be in the same file as command Lars> bindings. Menu bindings should be done directly by the menu code (I have to see how it works now that menu.bind is gone; unfortunately my time is scarce this

Re: Gnome frontend: Menubar implementation, patch included

2000-09-04 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | Lars> Key binding is as much User Interface as menus. | | Lars> But they are _not_ GUI! | | That's why the directory is not named gui/ but ui/. | | The idea is that bindings

Re: Gnome frontend: Menubar implementation, patch included

2000-09-04 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Key binding is as much User Interface as menus. Lars> But they are _not_ GUI! That's why the directory is not named gui/ but ui/. The idea is that bindings do not belong in lyxrc (they are not stored in the lyxrc object, in

Re: Gnome frontend: Menubar implementation, patch included

2000-09-04 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | Lars> Allan Rae <[EMAIL PROTECTED]> writes: | I thought | Lars> JMarc wanted to move all the bindings into the ui | file(s). | Lars> Maybe that was Lars. | | Lars> No, no, we w

Re: Gnome frontend: Menubar implementation, patch included

2000-09-04 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Allan Rae <[EMAIL PROTECTED]> writes: | I thought Lars> JMarc wanted to move all the bindings into the ui | file(s). Lars> Maybe that was Lars. Lars> No, no, we want _menu item_ to have their shortcuts/bindings in Lars> te .ui

Re: Gnome frontend: Menubar implementation, patch included

2000-08-10 Thread Lars Gullik Bjønnes
Allan Rae <[EMAIL PROTECTED]> writes: | I thought JMarc wanted to move all the bindings into the ui | file(s). Maybe that was Lars. No, no, we want _menu item_ to have their shortcuts/bindings in te .ui file. Emacs keybindings does not go in .ui files and does not interact wite menuitems' bindi

RE: Gnome frontend: Menubar implementation, patch included

2000-08-10 Thread Juergen Vigna
> > The menus may need to have entries renamed to suit GNOME (or other > desktops) and such. The bindings for the menus are in the .ui files. > So you see gnome.ui is probably the one to work on. There may be other > bindings needed but these aren't likely to be common to other GNOME apps. > Do

RE: Gnome frontend: Menubar implementation, patch included

2000-08-09 Thread Allan Rae
On Wed, 9 Aug 2000, Juergen Vigna wrote: > > You mean gnome.ui don't you? Of course you did. Must be nearly lunchtime > > and you were in a hurry. > > Well telling you the truth I just returned from lunch, so no excuse > for this ;), but I really meant gnome.bind or isn't 'F3' -> file-open > n

RE: Gnome frontend: Menubar implementation, patch included

2000-08-09 Thread Baruch Even
On Wed, 9 Aug 2000, Juergen Vigna wrote: > > Shortcuts: Gnome applications have common shortcuts, such as F3 for Open > > File, for example. Which shortcuts should be default for LyX --- as it is > > now or common Gnome ones? > > Well you make the port, you should make the decicions, but maybe y

RE: Gnome frontend: Menubar implementation, patch included (fwd)

2000-08-09 Thread Marko Vendelin
On Wed, 9 Aug 2000, Juergen Vigna wrote: > Well my first impression is it works ;), it is VERY slow on update, but > probably you will solve this. IMO as first work it looks good #:O), let's > see how the toolbar works then ;) I think it is slow due to XForms event handler. To make it fast one

RE: Gnome frontend: Menubar implementation, patch included

2000-08-09 Thread Juergen Vigna
> > You mean gnome.ui don't you? Of course you did. Must be nearly lunchtime > and you were in a hurry. Well telling you the truth I just returned from lunch, so no excuse for this ;), but I really meant gnome.bind or isn't 'F3' -> file-open not a binding? UI files are only for menus aren't t

RE: Gnome frontend: Menubar implementation, patch included

2000-08-09 Thread Allan Rae
On Wed, 9 Aug 2000, Juergen Vigna wrote: > > Shortcuts: Gnome applications have common shortcuts, such as F3 for Open > > File, for example. Which shortcuts should be default for LyX --- as it is > > now or common Gnome ones? > > Well you make the port, you should make the decicions, but maybe yo

RE: Gnome frontend: Menubar implementation, patch included

2000-08-09 Thread Juergen Vigna
> Manubar::update : Since Gnome menu may be easily used as toolbar by > "tearing off" the menu, I had to update constantly state of the widgets as > it is done for Toolbar. This means that after each keypress by user LyX Well I had a bit problems compiling this (forgot to use the right options

RE: Gnome frontend: Menubar implementation, patch included

2000-08-09 Thread Juergen Vigna
On 09-Aug-2000 Marko Vendelin wrote: > > src/frontends/gnome/Toolbar_pimpl.[Ch]-->src/frontends/xforms/Toolbar_pimpl.[Ch] I thought so! You also can link in all not ported dialogs from the xforms tree and so have a fully functional lyx with just the stuff ported to gnome you did till now ;)

RE: Gnome frontend: Menubar implementation, patch included

2000-08-09 Thread Marko Vendelin
On Wed, 9 Aug 2000, Juergen Vigna wrote: > Applied will commit soon (just let me test it ;) You need to set up two symbolic links to compile&link it: src/frontends/gnome/Toolbar_pimpl.[Ch]-->src/frontends/xforms/Toolbar_pimpl.[Ch] Marko

RE: Gnome frontend: Menubar implementation, patch included

2000-08-09 Thread Juergen Vigna
> Hi! > > this patch adds Gnome/Gtk menu to LyX. Since menu is a part of Gnome Applied will commit soon (just let me test it ;) Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Te

Gnome frontend: Menubar implementation, patch included

2000-08-09 Thread Marko Vendelin
Hi! this patch adds Gnome/Gtk menu to LyX. Since menu is a part of Gnome application main window, a small main window class (GLyxAppWin) is added too. Eventually, when LyXView will be ported to Gnome or LyX main window will be GUI independent, GLyxAppWin will be replaced. Thus, when compiled wit