Hey guys,
I've started clearing up the GNOME frontend so that I can add all the Dialogs. I've removed the GNOME menubar (and the GNOME window) as it wasn't working properly. Also, the single window makes it behave more like the QT2 frontend. Might as well be consistant with our GUII frontends eh? :) I'm going to try to add a few more dialogs tommorow and sunday, could I have commit rights to that part of the tree? Or shall I keep e-mailing the patches to the list. Anyways, please apply this patch for now. -- Cheers Koz
? single-gnome-window.diff Index: src/frontends/gnome/GUIRunTime.C =================================================================== RCS file: /cvs/lyx/lyx-devel/src/frontends/gnome/GUIRunTime.C,v retrieving revision 1.12 diff -u -r1.12 GUIRunTime.C --- src/frontends/gnome/GUIRunTime.C 2002/01/03 03:44:19 1.12 +++ src/frontends/gnome/GUIRunTime.C 2002/01/11 01:03:50 @@ -19,7 +19,6 @@ #include "debug.h" #include <gnome--/main.h> -#include "mainapp.h" #include <glade/glade.h> using std::endl; @@ -40,7 +39,6 @@ } // namespace anon -GLyxAppWin * mainAppWin; int GUIRunTime::initApplication(int &, char * argv[]) { @@ -75,8 +73,6 @@ string app_version(VERSION); static Gnome::Main a(app_id, app_version, 1, argv); glade_gnome_init(); // Initialize the glade library. - static GLyxAppWin appWin; - mainAppWin = &appWin; return 0; } Index: src/frontends/gnome/Makefile.am =================================================================== RCS file: /cvs/lyx/lyx-devel/src/frontends/gnome/Makefile.am,v retrieving revision 1.27 diff -u -r1.27 Makefile.am --- src/frontends/gnome/Makefile.am 2002/01/03 03:44:19 1.27 +++ src/frontends/gnome/Makefile.am 2002/01/11 01:03:50 @@ -24,6 +24,7 @@ ../xforms/FormMathsSpace.lo \ ../xforms/DropDown.lo \ ../xforms/Alert_pimpl.lo \ + ../xforms/Menubar_pimpl.lo \ @LYX_LIBS@ @FRONTEND_LDFLAGS@ @FRONTEND_LIBS@ # ../xforms/FileDialog.lo \ @@ -85,15 +86,17 @@ gnomeBC.h \ GUIRunTime.C \ pixbutton.h \ - mainapp.C \ - mainapp.h \ - Menubar_pimpl.C \ - Menubar_pimpl.h \ support.c \ support.h \ Timeout_pimpl.C \ Timeout_pimpl.h +# Trying to make things a litte more tidy. -- Koz-2002-01-11 +# mainapp.C \ +# mainapp.h \ +# Menubar_pimpl.C \ +# Menubar_pimpl.h \ +# # FormCopyright.C \ # FormCopyright.h \ # FormCredits.C \