Files
gtk3/gtk
Matthias Clasen 8ec27f7760 Bug 346903 – gtk_enumerate_printers needs events to complete
2008-09-17  Matthias Clasen  <mclasen@redhat.com>

        Bug 346903 – gtk_enumerate_printers needs events to complete

        * gtk/gtkprintbackend.h:
        * gtk/gtkprintbackend.c: Add a GtkPrintBackend::status property.

        * modules/printbackends/cups/gtkcupsutils.h:
        * modules/printbackends/cups/gtkcupsutils.c: Turn the connection
        test into a tristate available/unavailable/in progress.

        * modules/printbackends/cups/gtkprintbackendcups.c: Use a single
        connection test instance for getting the default printer and for
        getting the printer list. Set the GtkPrintBackend::status property
        according to the result of the connection test. Use the printer-type
        attribute to find the default printer, if cups supports it.

        * gtk/gtkprinter.c: When enumerating printers, give up when
        the backend status is 'unavailable'.

        * gtk/gtkprintunixdialog.c (printer_status_cb): Select the printer
        when it is the default and nothing else has been selected yet.


svn path=/trunk/; revision=21417
2008-09-17 22:07:10 +00:00
..
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-08-11 19:57:38 +00:00
2008-09-04 00:10:00 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-09-04 04:29:33 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-08-05 00:21:49 +00:00
2008-06-20 10:59:48 +00:00
2008-06-20 10:59:43 +00:00
2008-06-20 10:59:38 +00:00
2008-06-20 10:59:17 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-08-12 19:20:43 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-09-04 04:26:02 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-04 14:27:40 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-08-25 06:04:36 +00:00
2008-08-14 03:37:43 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-08-11 19:57:38 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-09-16 04:44:12 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-08-28 02:27:14 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-09-17 15:13:15 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-21 23:23:41 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-08-12 07:25:08 +00:00
2008-07-06 23:43:15 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-09-04 04:20:54 +00:00
2008-07-01 22:57:50 +00:00
2008-09-11 00:44:51 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-06-20 11:07:14 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-06-19 20:40:06 +00:00
2008-07-01 22:57:50 +00:00
2008-06-18 09:12:32 +00:00
2008-07-01 22:57:50 +00:00
2008-07-11 14:17:49 +00:00
2008-06-18 09:12:32 +00:00
2008-08-21 11:42:32 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00