[Xournal-devel] [Patch] Improved window title

2014-12-10 Thread Michael Walter
Hi all, I managed to get xournal build again on win32. As a warmup, please see theattached trivial patch, which changes the window title from "Xournal - $filename" to "$filename - Xournal". In this way, truncated title bars still give useful information. This is in line with the behavior of many o

[Xournal-devel] gtk3 branch

2014-12-10 Thread dmg
Today I tested the gtk3 xournal branch. I know it has stalled, but I got a bit disappointed with the performance of goocanvas. So we need to find a solution. but, the good news, under Ubuntu 14.10 it now supports kinetic scrolling! -- --dmg --- Daniel M. German http://turingmachine.org --

Re: [Xournal-devel] MRU

2014-12-10 Thread Michael Walter
Hi Daniel and Denis, the issue is that if you are running two instances of xournal (i.e., edit two documents in parallel) then upon closing the second instance the MRU entries added by the first instance are plainly overwritten. Since I usually have more than a single instance of xournal running,

Re: [Xournal-devel] MRU

2014-12-10 Thread D M German
Denis> Hi Michael, >> the discussion on MRU reminded me of another problem, namely that if one >> is running multiple instances of Xournal then the MRU file tends to be >> overwritten instead of extended. I do not know of the top of my head if >> this is still the case. If yes then perhaps t

Re: [Xournal-devel] MRU

2014-12-10 Thread dmg
this is the actual patch. https://github.com/dmgerman/xournal/commit/40470be71ddf130a6f64ac7581498500cd2d58be On Wed, Dec 10, 2014 at 1:51 AM, dmg wrote: > Here is the code I have been working on. I think it works, but needs testing > > It is the branch mru > > https://github.com/dmgerman/xourna

Re: [Xournal-devel] MRU

2014-12-10 Thread Denis Auroux
Hi Daniel, > In general, the standard way to do this is to have a "Revert" option in > the menu. It will be cleaner from the point of view of the user (and > implementation too). Hmm, but a menu entry called "revert xoj and update pdf" seems rather complicated conceptually. I guess we could call

Re: [Xournal-devel] MRU

2014-12-10 Thread dmg
Here is the code I have been working on. I think it works, but needs testing It is the branch mru https://github.com/dmgerman/xournal/tree/mru i did some refactoring of the mru code and added some functions to maintain encapsulation. I also looked into evince. evince uses gvfs to save the page

Re: [Xournal-devel] MRU

2014-12-10 Thread Denis Auroux
Hi Michael, > the discussion on MRU reminded me of another problem, namely that if one > is running multiple instances of Xournal then the MRU file tends to be > overwritten instead of extended. I do not know of the top of my head if > this is still the case. If yes then perhaps the MRU list shoul