1. 29 Oct, 2020 1 commit
  2. 22 Sep, 2020 3 commits
  3. 20 Jul, 2020 1 commit
  4. 02 Jul, 2020 1 commit
  5. 22 Jun, 2020 1 commit
    • Marek Kašík's avatar
      printers: Update GtkListBox of printers consecutively · dfbe1fae
      Marek Kašík authored
      Goal of this commit is to not overwhelm UI when a lot of printers is added
      to CUPS. You can reproduce this situation when you add e.g. 30 printers using
      lpadmin. Th UI stops to respond for some time.
      
      To do so, the printer entries are not deleted every time there is a request
      for updating of the list of printers but only new printer entries are added
      and printer entries of deleted printers are removed. Other printer
      entries are just updated by new method pp_printer_entry_update().
      Which, by the way, is almost whole taken from pp_printer_entry_new().
      
      This needed to add sort function for the list of printer entries. It sorts
      printers according to their names not taking case into account.
      
      In the similar manner, the filter function was extended to not show printers
      which are being deleted. This needs a list of names of deleted printers
      which we keep until they are really deleted.
      One important thing here is the "reference" object which points to the panel
      itself via its "self" key. We pass this object to the pp_printer_delete_async()'s
      callback so it knows whether it can remove the printer's name from the list
      of deleted printers (once the panel is being destroyed it clears the key itself).
      dfbe1fae
  6. 30 Mar, 2020 1 commit
  7. 28 Jan, 2020 2 commits
  8. 21 Jan, 2020 1 commit
  9. 10 Sep, 2019 5 commits
  10. 04 Feb, 2019 1 commit
  11. 29 Jan, 2019 3 commits
  12. 17 Sep, 2018 2 commits
  13. 30 Jul, 2018 1 commit
  14. 25 Jun, 2018 1 commit
  15. 01 Jun, 2018 1 commit
  16. 26 Feb, 2018 1 commit
  17. 20 Feb, 2018 1 commit
  18. 05 Feb, 2018 1 commit
  19. 21 Nov, 2017 1 commit
  20. 25 Jul, 2017 1 commit
  21. 20 Jul, 2017 1 commit
  22. 15 Jun, 2017 1 commit
  23. 14 Jun, 2017 1 commit
  24. 26 May, 2017 2 commits
  25. 10 May, 2017 1 commit
  26. 09 May, 2017 2 commits
  27. 23 Mar, 2017 1 commit
  28. 13 Mar, 2017 1 commit