Re: New Version of my ref dialog

2005-03-12 Thread Andreas Klostermann
The bufferstore_ thingy is ref counted. It get's deleted automagically. Smart pointers... I know that the Ok button does not become sensitive... I don't really know why! I think the underlying code should activate it? The double insert probably comes from calling dispatchParams.

New Version of my ref dialog

2005-03-11 Thread Andreas Klostermann
PYING. * * \author John Spray * \author Andreas Klostermann * Full author contact details are available in file CREDITS. */ #include // Too hard to make concept checks work with this file #ifdef _GLIBCXX_CONCEPT_CHECKS #undef _GLIBCXX_CONCEPT_CHECKS #endif #ifdef _GLIBCPP_CONCEPT_CHECKS #

blanket-permission

2005-03-11 Thread Andreas Klostermann
Sorry, I wanted to do this earlier. Please add my name to www.lyx.org/blanket-permission.txt. All my contributions are meant to be under Gnu General Public Licence, version 2 or later. Bye, Andreas

Re: [PATCH] new Ref dialog for GTK frontend

2005-03-11 Thread Andreas Klostermann
I'm not discouraged or anything by your feedback. It's ok. The Gnome HIG has its point when recommending instant apply. I myself aggree to it. However, if the lyx design requires it another way, I have to abide by the rules. I'll change that, and the glade problems too. Also, the glade file isn't y

[PATCH] new Ref dialog for GTK frontend

2005-03-10 Thread Andreas Klostermann
el/src/frontends/gtk/Makefile.am 2004/12/07 00:29:15 1.38 +++ lyx-devel/src/frontends/gtk/Makefile.am 2005/03/10 16:52:01 @@ -65,6 +65,8 @@ libgtk_la_SOURCES = \ GParagraph.h \ GPrint.C \ GPrint.h \ + GRef.C \ + GRef.h \ GScreen.C \ GScreen.h \ GSearch.C \ ref.glade Description: application

How can I get the current buffer?

2005-03-09 Thread Andreas Klostermann
Hi! I'm writing the reference dialog for the gtk frontend currently. For the documents dialog I need a way to get the current buffer. Does somebody know how to do this? Thanks, Andreas

Is anybody working on the GTK preferences dialog?

2005-03-06 Thread Andreas Klostermann
Hi! Is anybody working on the GTK preferences dialog? Otherwise I'd simply proceed to implementing it. Bye, Andreas

Fix: Bugs in scrolling related gtk code was: Re: Details on scrolling "workflow"?

2005-03-06 Thread Andreas Klostermann
Yes, libsigc++ discards all events. It would be interesting to understand just why the underlying code generates these events. There is a second signal related to scrolling, connected to the workarea_ member variable. I tried turning it off, but that isn't any better. Also I tried to set the update

Fix: Bugs in scrolling related gtk code was: Re: Details on scrolling "workflow"?

2005-03-05 Thread Andreas Klostermann
> On Fri, 2005-03-04 at 23:02 +0100, Andreas Klostermann wrote: > > I try to fix a bug in the gtk frontend. When moving the cursor "out of > > sight", normally the view should follow it by centering. Now, with the > > gtk frontend, it will scroll crazily

Re: Details on scrolling "workflow"?

2005-03-04 Thread Andreas Klostermann
> On Fri, 2005-03-04 at 23:02 +0100, Andreas Klostermann wrote: > > I try to fix a bug in the gtk frontend. When moving the cursor "out of > > sight", normally the view should follow it by centering. Now, with the > > gtk frontend, it will scroll crazily

Details on scrolling "workflow"?

2005-03-04 Thread Andreas Klostermann
Hi! I try to fix a bug in the gtk frontend. When moving the cursor "out of sight", normally the view should follow it by centering. Now, with the gtk frontend, it will scroll crazily around, making the application unrespondible. I'm trying to fix it, but I don't quite understand the flow of signal

Re: GTK frontend - I can't change the style

2005-03-04 Thread Andreas Klostermann
> John Spray > Fri, 04 Mar 2005 10:22:52 -0800 > > > On Fri, 2005-03-04 at 19:08 +0100, Andreas Klostermann wrote: > > Well, at the moment I only intend to get more of a feeling for the code, > > investigate > > this nasty crash in the document dialog an

Re: GTK frontend - I can't change the style

2005-03-04 Thread Andreas Klostermann
> Andreas Klostermann wrote: > > > Hi! > > > > I tried out the gtk frontend from cvs again. Strangely enough, if I > > change the style of a line/paragraph from Standard to something else, > > nothing happens. The style list indicates that a change has happ

GTK frontend - I can't change the style

2005-03-04 Thread Andreas Klostermann
Hi! I tried out the gtk frontend from cvs again. Strangely enough, if I change the style of a line/paragraph from Standard to something else, nothing happens. The style list indicates that a change has happened, but it is not reflected in the work area. Upon preview, all text is in standard style.

Source Code inset?

2004-05-15 Thread Andreas Klostermann
Hi! I'd like to be able to inline styled source code (python, C++, whatever) into a Lyx document. I tried to use SciTE (a Programmer's text editor) to export code to Tex, but I can't include the resulting file nor can I ERT it or anything else. Even if so, I'd have to export it manually every ti

Python plugins - a newbie's take on it

2004-04-30 Thread Andreas Klostermann
Hi all, >From the postings here I saw it's not only me who has a high interest in incorporating non-lyx or not-yet-lyx-compatible applications, in a form that has been made popular by M$'s office products. The most prominent thing I remember was Word Art in Word (I didn't use Word for a very very

Re: (just in case) How to reach me for chatting about the conference

2004-04-28 Thread Andreas Klostermann
Lars Gullik BjÃnnes gullik.net> writes: > | http://kadu.net/index.php?page=download&lang=en > > Kadu what the F*** is kadu? > Kadu Kadu is some instant messaging network, special in Poland. My last girlfriend used it sometimes to keep in touch with some cousins there. I think you can connec

Re: The Umlaut Crash (XFT Gurus out there?)

2004-04-27 Thread Andreas Klostermann
John Levon movementarian.org> writes: > It's not quite a simple a job as you suggest. Yet it's probably not > /too/ difficult either. Well, it was just a question. It's not neccessary to do anything about it. A simple locale to UTF8 conversion for sake of calling pango is all it needs, if at all.

Re: The Umlaut Crash (XFT Gurus out there?)

2004-04-27 Thread Andreas Klostermann
Angus Leeming lyx.org> writes: > > But does Pango require the use of Unicode? LyX isn't there yet. > I did some stuff using gtk and pango, and never worried about that. Neither in the editor, nor in a glade file or wherever. The only thing is that I needed to make my xml files utf8 encoded sin

Re: GTK Port still alive?

2004-04-27 Thread Andreas Klostermann
Juergen Spitzmueller t-online.de> writes: > Redraw screen > BadDrawable (invalid Pixmap or Window parameter) id: 0 [snip] > #9 0x40c6ed31 in _XF86BigfontQueryFont () >from /usr/X11R6/lib/libX11.so.6 > #10 0x40c6e45a in XLoadQueryFont () from /usr/X11R6/lib/libX11.so.6 > #11 0x40a6ed03 in fl_t

Re: The Umlaut Crash (XFT Gurus out there?)

2004-04-27 Thread Andreas Klostermann
Georg Baum post.rwth-aachen.de> writes: > > Andreas Klostermann wrote: > > > So it looks as if the invocation of XftTextExtents32() fails for some > > reason. In GTK that's also not the way you should do font metrics... > > Actually you should use Pango,

The Umlaut Crash (XFT Gurus out there?)

2004-04-26 Thread Andreas Klostermann
hi! What I've been doing yesterday was trying to fix Lyx when pressing German special characters... Kind of annoys me as a native German writer ;) To make it short, I think the problem stems from the Xft font metrics... Whenever I press "Ã" for example, I get a segfault. My Backtrace as posted in

Re: GTK Port still alive?

2004-04-26 Thread Andreas Klostermann
Angus Leeming lyx.org> writes: > > Andreas Klostermann wrote: > > I tried the gtk port from CVS... crashes every now and then > > rather now than > > then though... for example when trying to invoke the document > > preferences dialog (or layout I think it

GTK Port still alive?

2004-04-25 Thread Andreas Klostermann
Hi! I tried the gtk port from CVS... crashes every now and then rather now than then though... for example when trying to invoke the document preferences dialog (or layout I think it's called in the qt port), or when entering German Umlauts, and and and Is there somebody still working o