Re[2]: gCvs GTK2
Richard Wirth <[email protected]> Wed, 5 Jan 2005 14:46:01 +0100
| Newsgroups | gmane.comp.version-control.cvs.gui.devel |
|---|---|
| Organization | Ing.Büro Richard Wirth |
| Message-ID | <[email protected]> |
Hello Guy, Wednesday, January 5, 2005, 2:54:31 AM, you wrote: GR> Richard, attached is a zip of the diffs I made for the graph page - not GR> too much, really. I just hard-coded a font for now. So you haven't found a solution for the grey GraphView yet? I had a short look at your changes. And it looks to me like we should implement an interface and a dialog to choose all the different fonts for all different parts of the GUI, not only for the ConsoleWindow. And ofcourse make this persitent. I finaly found why the GraphView stays grey: gtk_drawing_area_size() can not be called from inside OnDrawing(). If I put this to another place, we can even omit OnBlock() and OnUnblock() calls, which makes the repaint of the whole thing faster and error free. There for I had to add a new EventHandler EV_CUSTOM_REALIZE. In this event handler I now call gtk_drawing_area_size(). I also took some of the improvements from WinCvs code to show MergePoints. GR> Ran into an interesting problem trying to generate this file. I usually GR> like to switch to flat mode in gCvs, then click the red "View modified GR> files" button on the toolbar to see all the files I changed. As long as GR> I had gCvs2 running, I tried it there. When I clicked the "View GR> recursive" arrow, gCvs2 went out to lunch, and stayed there. Consumed GR> 97% of an Athlon 64 3000+ for about 15 minutes, at which point I killed GR> it. Looks like you hit the endless recursion bug in FoldersView. It should be solved in the latest sources. GR> I fired up gcvs (gtk1) and did the same thing, and it switched to GR> flat mode instantly. Don't have time to investigate, but I suspect it GR> has to do with adding one line at a time to the tree view. I've been GR> reading up on tree view, and apparently it performs much better if you GR> populate it completely first, then display it. It's the way i already do it with FilesView... But for FoldersView, there are not so many items to show so I keep the display alive while populating the tree. But I hadn't time to merge your changes. Hope this happens the next days :-) -- Best regards, Richard mailto:[email protected] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/cvsgui-dev/ <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/