vain / pdfPres

[Discontinued] Dual head PDF presenter: Current slide with context + current slide in fullscreen (Linux, BSD).
http://www.uninformativ.de/projects/_discontinued/pdfpres/
17 stars 10 forks source link

gtk3 compability #36

Closed t-8ch closed 12 years ago

t-8ch commented 12 years ago

This fixes all gtk 3.4 compilation errors and most of the deprecation warnings. There are still deprecation warnings about gtk_vbox. Those are best remedied by using GtkGrid.

Note: I couldn't test the "move window to mousepointer screen"-feature as I don't have a second monitor at the moment.

vain commented 12 years ago

Thanks!

I guess on the long run there's no way around Gtk3. Thus, your work is very much appreciated. :)

I'll push this on a separate branch because there's a little show stopper: Both windows keep resizing themselves when you browse through slides. Could be related to GtkVBox, I don't know yet.

By the way, the "move window to mousepointer screen"-feature works.

vain commented 12 years ago

Maybe I'm blind but I couldn't find a way to merge this pull request on a branch other than "master". So I just created that branch manually. Hence, I'll also close this pull request manually. :-)

t-8ch commented 12 years ago

Argh, on my tiling window manager everything is fine.

I have another branch, which begins to use GtkGrid. At the moment only mainVBox got removed, as don't understand the logic behind the construction of table yet. Maybe the layout of multiple preview pages could be improved, and the settingsfoo moved to some central location.

Ideas: