Cosmetic fix for file dialogue hiding

Kai Willadsen kai.willadsen at gmail.com
Thu Mar 15 19:48:44 EDT 2007


Currently, file dialogues stick around while referencer is doing...
stuff. This is most noticeable when you add a large directory of PDFs,
and the file dialogue is still in the background while referencer
scans the directory, looks up stuff, etc.

The white space changes make the attached patch look much more
invasive than it actually is. Basically, the patch changes instances
of:

  if (chooser.run() == Gtk::RESPONSE_ACCEPT) {
    [do stuff]
  }

to:

  if (chooser.run() == Gtk::RESPONSE_ACCEPT) {
    return;
  }
  chooser.hide ()
  [do stuff]


Kai
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hide-filechooser-early.patch
Type: text/x-patch
Size: 8049 bytes
Desc: not available
URL: <http://icculus.org/pipermail/referencer/attachments/20070316/299af85b/attachment.bin>


More information about the referencer mailing list