Thanks to Sebastien's instructions on how to get the source and play with it, I 
managed to fix the bug.
It required only 25 additional characters in the source!

It turns out that the code to load and save the print settings to a file
is surrounded by "#if" directives, which check for a large enough
version of GTK (in version 2.11.0, a feature to save and load the print
settings was added to GTK). I changed "#if GTK_CHECK_VERSION (2, 11, 0)"
into "#if 0 && GTK_CHECK_VERSION (2, 11, 0)" in five places, and it
works perfectly now.

I guess that at the end the code should be removed altogether, but
currently it works very nicely.

I attached the diff.

Have a good day,
Noam

** Attachment added: "diff"
   http://launchpadlibrarian.net/16969148/diff

-- 
Print options shouldn't be saved across different sessions
https://bugs.launchpad.net/bugs/154096
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to