master d45f14d1f42c cached
217 files
8.6 MB
2.3M tokens
1400 symbols
1 requests
Download .txt
Showing preview only (9,824K chars total). Download the full file or copy to clipboard to get everything.
Repository: OpenPrinting/system-config-printer
Branch: master
Commit: d45f14d1f42c
Files: 217
Total size: 8.6 MB

Directory structure:
gitextract_5_mh9h8m/

├── .gitattributes
├── .github/
│   ├── dependabot.yml
│   └── workflows/
│       └── differential-shellcheck.yml
├── .gitignore
├── .pylintrc
├── ABOUT-NLS
├── AUTHORS
├── COPYING
├── ChangeLog-OLD
├── HIG.py
├── Makefile.am
├── NEWS
├── OpenPrintingRequest.py
├── PhysicalDevice.py
├── README.md
├── SearchCriterion.py
├── ToolbarSearchEntry.py
├── aclocal.m4
├── applet.py
├── asyncconn.py
├── asyncipp.py
├── asyncpk1.py
├── authconn.py
├── bootstrap
├── check-device-ids.py
├── config.guess
├── config.py.in
├── config.rpath
├── config.sub
├── configure.ac
├── cupshelpers/
│   ├── __init__.py
│   ├── config.py.in
│   ├── cupshelpers.py
│   ├── installdriver.py
│   ├── openprinting.py
│   ├── ppds.py
│   └── xmldriverprefs.py
├── cupspk.py
├── dbus/
│   ├── com.redhat.NewPrinterNotification.conf
│   ├── com.redhat.PrinterDriversInstaller.conf
│   ├── org.fedoraproject.Config.Printing.service.in
│   ├── org.fedoraproject.Config.Printing.xml
│   └── scp-dbus-service.in
├── debug.py
├── dnssdresolve.py
├── errordialogs.py
├── firewallsettings.py
├── gitlog-to-changelog
├── gtkinklevel.py
├── gui.py
├── install-printerdriver.in
├── install-printerdriver.py
├── install-sh
├── installpackage.py
├── jobviewer.py
├── killtimer.py
├── man/
│   └── system-config-printer.xml
├── mkinstalldirs
├── monitor.py
├── newprinter.py
├── options.py
├── optionwidgets.py
├── po/
│   ├── ChangeLog
│   ├── LINGUAS
│   ├── Makefile.in.in
│   ├── Makevars
│   ├── POTFILES.in
│   ├── Rules-quot
│   ├── ar.po
│   ├── as.po
│   ├── ast.po
│   ├── bg.po
│   ├── bn.po
│   ├── bn_IN.po
│   ├── boldquot.sed
│   ├── br.po
│   ├── bs.po
│   ├── ca.po
│   ├── cs.po
│   ├── cy.po
│   ├── da.po
│   ├── de.po
│   ├── el.po
│   ├── en@boldquot.header
│   ├── en@quot.header
│   ├── en_GB.po
│   ├── es.po
│   ├── et.po
│   ├── fa.po
│   ├── fi.po
│   ├── fr.po
│   ├── fur.po
│   ├── gu.po
│   ├── he.po
│   ├── hi.po
│   ├── hr.po
│   ├── hu.po
│   ├── id.po
│   ├── insert-header.sin
│   ├── is.po
│   ├── it.po
│   ├── ja.po
│   ├── ka.po
│   ├── kab.po
│   ├── kk.po
│   ├── kn.po
│   ├── ko.po
│   ├── lo.po
│   ├── lt.po
│   ├── lv.po
│   ├── mai.po
│   ├── ml.po
│   ├── mr.po
│   ├── ms.po
│   ├── nb.po
│   ├── nds.po
│   ├── nl.po
│   ├── nn.po
│   ├── oc.po
│   ├── or.po
│   ├── pa.po
│   ├── pl.po
│   ├── pt.po
│   ├── pt_BR.po
│   ├── quot.sed
│   ├── remove-potcdate.sin
│   ├── ro.po
│   ├── ru.po
│   ├── si.po
│   ├── sk.po
│   ├── sl.po
│   ├── sr.po
│   ├── sr@latin.po
│   ├── sv.po
│   ├── system-config-printer.pot
│   ├── ta.po
│   ├── te.po
│   ├── th.po
│   ├── tr.po
│   ├── uk.po
│   ├── vi.po
│   ├── zh_CN.po
│   ├── zh_Hans.po
│   └── zh_TW.po
├── ppdcache.py
├── ppdippstr.py
├── ppdsloader.py
├── print-applet.desktop.in
├── printerproperties.py
├── probe_printer.py
├── profile-ppds.py
├── pyproject.toml
├── pysmb.py
├── scp-dbus-service.py
├── serversettings.py
├── setup.py
├── smburi.py
├── statereason.py
├── system-config-printer-applet.in
├── system-config-printer.appdata.xml.in
├── system-config-printer.desktop.in
├── system-config-printer.in
├── system-config-printer.py
├── test/
│   └── test-cups-driver.py
├── test_PhysicalDevice.py
├── test_ppds.py
├── timedops.py
├── troubleshoot/
│   ├── CheckLocalServerPublishing.py
│   ├── CheckNetworkServerSanity.py
│   ├── CheckPPDSanity.py
│   ├── CheckPrinterSanity.py
│   ├── CheckSELinux.py
│   ├── CheckUSBPermissions.py
│   ├── ChooseNetworkPrinter.py
│   ├── ChoosePrinter.py
│   ├── DeviceListed.py
│   ├── ErrorLogCheckpoint.py
│   ├── ErrorLogFetch.py
│   ├── ErrorLogParse.py
│   ├── LocalOrRemote.py
│   ├── Locale.py
│   ├── NetworkCUPSPrinterShared.py
│   ├── PrintTestPage.py
│   ├── PrinterStateReasons.py
│   ├── QueueNotEnabled.py
│   ├── QueueRejectingJobs.py
│   ├── RemoteAddress.py
│   ├── SchedulerNotRunning.py
│   ├── ServerFirewalled.py
│   ├── Shrug.py
│   ├── VerifyPackages.py
│   ├── Welcome.py
│   ├── __init__.py
│   └── base.py
├── udev/
│   ├── .gitignore
│   ├── 70-printers.rules
│   ├── configure-printer@.service.in
│   ├── udev-add-printer
│   └── udev-configure-printer.c
├── ui/
│   ├── AboutDialog.ui
│   ├── ConnectDialog.ui
│   ├── ConnectingDialog.ui
│   ├── InstallDialog.ui
│   ├── JobsWindow.ui
│   ├── NewPrinterName.ui
│   ├── NewPrinterWindow.ui
│   ├── PrinterPropertiesDialog.ui
│   ├── PrintersWindow.ui
│   ├── SMBBrowseDialog.ui
│   ├── ServerSettingsDialog.ui
│   ├── WaitWindow.ui
│   ├── remove-gtkalignment.xsl
│   └── statusicon_popupmenu.ui
├── userdefault.py
└── xml/
    ├── preferreddrivers.rng
    ├── preferreddrivers.xml
    └── validate.py

================================================
FILE CONTENTS
================================================

================================================
FILE: .gitattributes
================================================
ChangeLog merge=merge-changelog
po/*.po merge=binary


================================================
FILE: .github/dependabot.yml
================================================
---

version: 2

updates:
  - package-ecosystem: github-actions
    directory: /
    schedule:
      interval: monthly
    labels:
      - 'type: dependencies'
      - 'github-actions'


================================================
FILE: .github/workflows/differential-shellcheck.yml
================================================
name: Differential ShellCheck
on:
  pull_request:
    branches: [master]

permissions:
  contents: read

jobs:
  lint:
    runs-on: ubuntu-latest

    permissions:
      security-events: write
      pull-requests: write

    steps: 
      - name: Repository checkout
        uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
        with:
          fetch-depth: 0

      - name: Differential ShellCheck
        uses: redhat-plumbers-in-action/differential-shellcheck@d965e66ec0b3b2f821f75c8eff9b12442d9a7d1e
        with:
          token: ${{ secrets.GITHUB_TOKEN }}


================================================
FILE: .gitignore
================================================
Makefile.in
Makefile
/configure
/config.status
/config.log
/autom4te.cache
/missing
/compile
/depcomp
/INSTALL
/ChangeLog
TAGS
.deps
.dirstamp

intltool-extract*
intltool-merge*
intltool-update*
po/.intltool-merge-cache

.stamp-distutils-in-builddir
*.pyc
*.o
*.gladep

/test-ppd-module.sh
/pickled-ppds

po/*.mo
po/*.gmo
po/POTFILES
po/Makefile.in
po/Makefile
po/stamp-it

# These are generated from *.in files
config.py
my-default-printer
system-config-printer
system-config-printer-applet
manage-print-jobs.desktop
my-default-printer.desktop
print-applet.desktop
system-config-printer.desktop

# These are compiled
udev/udev-configure-printer

# These are generated from the XML file.
man/*.1

# Backup files
*.bak
*~

*.sw[nop]

# Tarballs
system-config-printer-*.tar.?z*


================================================
FILE: .pylintrc
================================================
[VARIABLES]
additional-builtins=_


================================================
FILE: ABOUT-NLS
================================================
<https://www.gnu.org/software/gettext/manual/html_node/Users.html>


================================================
FILE: AUTHORS
================================================
Florian Festi <ffesti@redhat.com>
Tim Waugh <twaugh@redhat.com>


================================================
FILE: COPYING
================================================
                    GNU GENERAL PUBLIC LICENSE
                       Version 2, June 1991

 Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 Everyone is permitted to copy and distribute verbatim copies
 of this license document, but changing it is not allowed.

                            Preamble

  The licenses for most software are designed to take away your
freedom to share and change it.  By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users.  This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it.  (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.)  You can apply it to
your programs, too.

  When we speak of free software, we are referring to freedom, not
price.  Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.

  To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.

  For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have.  You must make sure that they, too, receive or can get the
source code.  And you must show them these terms so they know their
rights.

  We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.

  Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software.  If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.

  Finally, any free program is threatened constantly by software
patents.  We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary.  To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.

  The precise terms and conditions for copying, distribution and
modification follow.

                    GNU GENERAL PUBLIC LICENSE
   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

  0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License.  The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language.  (Hereinafter, translation is included without limitation in
the term "modification".)  Each licensee is addressed as "you".

Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope.  The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.

  1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.

You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.

  2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:

    a) You must cause the modified files to carry prominent notices
    stating that you changed the files and the date of any change.

    b) You must cause any work that you distribute or publish, that in
    whole or in part contains or is derived from the Program or any
    part thereof, to be licensed as a whole at no charge to all third
    parties under the terms of this License.

    c) If the modified program normally reads commands interactively
    when run, you must cause it, when started running for such
    interactive use in the most ordinary way, to print or display an
    announcement including an appropriate copyright notice and a
    notice that there is no warranty (or else, saying that you provide
    a warranty) and that users may redistribute the program under
    these conditions, and telling the user how to view a copy of this
    License.  (Exception: if the Program itself is interactive but
    does not normally print such an announcement, your work based on
    the Program is not required to print an announcement.)

These requirements apply to the modified work as a whole.  If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works.  But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.

Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.

In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.

  3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:

    a) Accompany it with the complete corresponding machine-readable
    source code, which must be distributed under the terms of Sections
    1 and 2 above on a medium customarily used for software interchange; or,

    b) Accompany it with a written offer, valid for at least three
    years, to give any third party, for a charge no more than your
    cost of physically performing source distribution, a complete
    machine-readable copy of the corresponding source code, to be
    distributed under the terms of Sections 1 and 2 above on a medium
    customarily used for software interchange; or,

    c) Accompany it with the information you received as to the offer
    to distribute corresponding source code.  (This alternative is
    allowed only for noncommercial distribution and only if you
    received the program in object code or executable form with such
    an offer, in accord with Subsection b above.)

The source code for a work means the preferred form of the work for
making modifications to it.  For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable.  However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.

If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.

  4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License.  Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.

  5. You are not required to accept this License, since you have not
signed it.  However, nothing else grants you permission to modify or
distribute the Program or its derivative works.  These actions are
prohibited by law if you do not accept this License.  Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.

  6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions.  You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.

  7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License.  If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all.  For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.

If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.

It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices.  Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.

This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.

  8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded.  In such case, this License incorporates
the limitation as if written in the body of this License.

  9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time.  Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.

Each version is given a distinguishing version number.  If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation.  If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.

  10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission.  For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this.  Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.

                            NO WARRANTY

  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.

  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.

                     END OF TERMS AND CONDITIONS

            How to Apply These Terms to Your New Programs

  If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.

  To do so, attach the following notices to the program.  It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

    <one line to give the program's name and a brief idea of what it does.>
    Copyright (C) <year>  <name of author>

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License along
    with this program; if not, write to the Free Software Foundation, Inc.,
    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

Also add information on how to contact you by electronic and paper mail.

If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:

    Gnomovision version 69, Copyright (C) year name of author
    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
    This is free software, and you are welcome to redistribute it
    under certain conditions; type `show c' for details.

The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License.  Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.

You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary.  Here is a sample; alter the names:

  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
  `Gnomovision' (which makes passes at compilers) written by James Hacker.

  <signature of Ty Coon>, 1 April 1989
  Ty Coon, President of Vice

This General Public License does not permit incorporating your program into
proprietary programs.  If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library.  If this is what you want to do, use the GNU Lesser General
Public License instead of this License.


================================================
FILE: ChangeLog-OLD
================================================
2009-08-11  Tim Waugh  <twaugh@redhat.com>

	* cupshelpers/cupshelpers.py (missingPackagesAndExecutables):
	Accept a filter of "-" (Ubuntu #411376).

2009-06-23  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.nextNPTab): Don't log
	non-fatal traceback messages if we cannot connect to the IPP
	printer (bug #507629).

2009-06-23  Tim Waugh  <twaugh@redhat.com>

	* troubleshoot/CheckPrinterSanity.py (CheckPrinterSanity.display):
	Parse nmblookup failures correctly (from bug #507442).

2009-06-19  Till Kamppeter  <till.kamppeter@gmail.com>

	* system-config-printer.py: Call "hp-info" with the "-x" option.
	Then it works also when there is no CUPS queue for the URI.

	* cupshelpers/ppds.py: Support for the new CUPS Raster driver of HPLIP
	(hpcups). Use it preferably.

2009-05-13  Till Kamppeter  <till.kamppeter@gmail.com>

	* system-config-printer.py (NewPrinterGUI.fetchJockeyDriver):
	While waiting for Jockey to download a driver from OpenPrinting,
	check whether the CUPS connection stays stable and re-establish it
	if it gets lost. Sometimes the installation of a driver package
	breaks down the connection to CUPS (probably due to the restart of
	CUPS).

2009-04-29  Till Kamppeter  <till.kamppeter@gmail.com>

	* system-config-printer.py: Compare make and model names
	case-insensitively when positioning the cursor in the make/model
	selection list (Ubuntu bug #365329).
	Made sure that print queue name suggestion is always generated
	(Ubuntu bug #363522, comment 6).

	* cupshelpers/ppds.py: Let the getPPDNameFromDeviceID() function
	always output which PPD got selected.

2009-04-28  Tim Waugh  <twaugh@redhat.com>

	* glade/NewPrinterWindow.glade: Adjusted border padding for New
	Printer window (bug #493862).

2009-04-20  Till Kamppeter  <till.kamppeter@gmail.com>

	* system-config-printer.py: Made call of hp-plugin also working with
	HPLIP 3.9.2.

2009-04-15  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(NewPrinterGUI.on_btnIPPVerify_clicked): Fixed URI parsing.

2009-04-14  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py: Set relaxed PPD conformance (trac #159).
	* applet.py (NewPrinterNotification.NewPrinter): Likewise.

2009-04-01  Till Kamppeter  <till.kamppeter@gmail.com>

	* cupshelpers/cupshelpers.py (_expand_flags): Do not use
	locale.setlocale() to only convert uppercase to lowercase letters in
	pure ASCII text. With many locales Python bugs get be triggered by
	that. Define a simple case-conversion function which does not use
	any locale-dependent constant or function (Ubuntu #340932).

	* applet.py, glade.py, glade/PrintersWindow.glade, jobviewer.py,
	system-config-printer.py: Added support for notfication daemons which
	do not support action buttons in the notification bubbles. Now the
	capabilities of the notification server are checked and if needed,
	alternative notifications are used (Ubuntu #328604, #339847). Thanks to
	David Barth and Ken VanDine (both from Ubuntu) to make the patch.

2009-03-20  Till Kamppeter  <till.kamppeter@gmail.com>

	* cupshelpers/ppds.py: Improved identification of detected printers:
	   o HP's PPD files in HPLIP 3.9.2 have totally broken device IDs, all
	     lowercase and underscores instead of spaces, not really what
	     the printer reports. Added workarounds to match them with the
	     real device IDs (Ubuntu #306301).
	   o Match the model names of the PPDs case-insensitive with the
	     model names of the detected printer. Some printers, like the
	     HP DeskJet 895C report an all-uppercase model name
	     (Ubuntu #306301).

2009-03-17  Till Kamppeter  <till.kamppeter@gmail.com>

	* cupshelpers/ppds.py: Improved identification of detected printers:
	   o HP introduced a lot of abbreviations (like LJ, DJ, OJ, PS, ...)
	     in the model names of their PPDs in HPLIP 3.9.2. These
	     abbreviations are not used in device IDs. Now we expand the
	     abbreviations in ppdMakeModelSplit() and take them also into
	     account when we have to guess a missing manufacturer name.
	   o Let ppdMakeModelSplit() also truncate the model name on the
	     string "hpijs", from HPLIP 3.9.2 on there is no "Foomatic" in
	     the NickNames of the PPDs any more.
	   o Make guessing of manufacturer names in ppdMakeModelSplit() also
	     working if there is whitespace in the beginning of the input
	     string.
           o Protect the manufacturer/model lists from being messed up by
	     TurboPrint PPDs. They have manufacturer and model being stuffed
	     into the manufacturer field, so each printer appeared as its own
	     manufacturer (ppdMakeModelSplit()).
	   o Make TurboPrint PPDs lowest priority, as this is a non-free
	     third-party driver (_getDriverType()).
	   o If no manufacturer name is supplied to the
	     getPPDNameFromDeviceID() function (broken device ID from network
	     CUPS backend), call ppdMakeModelSplit() to find out the 
	     manufacturer via the model name.

2009-03-16  Tim Waugh  <twaugh@redhat.com>

	* monitor.py (Monitor.__init__): Initialise update_timer to
	prevent tracebacks if the connection fails (Ubuntu #343387).

2009-03-10  Tim Waugh  <twaugh@redhat.com>

	* cupshelpers/ppds.py (ppdMakeModelSplit): Strip " hpijs" from PPD
	names.
	(ppdMakeModelSplit.strip_suffix): Removed dead code.

2009-03-10  Tim Waugh  <twaugh@redhat.com>

	* cupshelpers/ppds.py (PPDs.getPPDNameFromDeviceID): Better PPD
	fallback searching.

2009-03-10  Till Kamppeter  <till.kamppeter@gmail.com>

	* newprinternotification.conf: Adapted D-Bus policy file to the
	new D-Bus defaults (Ubuntu #318776).

2009-03-10  Tim Waugh  <twaugh@redhat.com>

	* cupshelpers/ppds.py (PPDs._findBestMatchPPDs): Don't try search
	for a model series if there are no digits in the model name.

2009-03-09  Tim Waugh  <twaugh@redhat.com>

	* cupshelpers/cupshelpers.py (Printer._expand_flags): Use
	setlocale() to save current LC_CTYPE value, not getlocale() (bug
	#489313).

2009-03-03  Tim Waugh  <twaugh@redhat.com>

	* troubleshoot/CheckPrinterSanity.py (CheckPrinterSanity.display):
	Include local printer attributes in diagnostic output.

2009-03-02  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(NewPrinterGUI.on_tvNPDeviceURIs_cursor_changed): Clear LPD
	drop-down list.

2009-02-25  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(NewPrinterGUI.on_tvNPDeviceURIs_cursor_changed): Set initial
	sensitivity of LPD probe button.
	(NewPrinterGUI.on_cmbentNPTLpdHost_changed): Adjust button
	sensitivity when hostname is changed.

2009-02-18  Tim Waugh  <twaugh@redhat.com>

	* cupshelpers/cupshelpers.py (Printer._expand_flags): Perform
	lowercase operations in locale-independent manner (trac #151).

2009-02-16  Till Kamppeter  <till.kamppeter@gmail.com>

	* applet.py: Fixed switch between the notification for the case that
	a queue got created and the case that no queue got created.

2009-02-13  Till Kamppeter  <till.kamppeter@gmail.com>

	* system-config-printer.py (get_hpfax_device_id): Return None
	if the "fax-type" is 0, this means that fax is not available
	on the given printer.

2009-02-13  Till Kamppeter  <till.kamppeter@gmail.com>

	* system-config-printer.py, troubleshoot/CheckPrinterSanity.py:
	Fixed "hp-info" calls: There should be no space between "-d" and
	the "URI" to work around HPLIP option parsing bug.

2009-02-15  Till Kamppeter  <till.kamppeter@gmail.com>

	* system-config-printer.py: Added functionality to automatically
	recognize whether the proprietary plug-in of HPLIP is useful or
	even required and to aks the user whether he want to download and
	install it. This way the setup of HP printers which require the
	plugin (especially the printers requiring firmware, as LaserJet
	1000, 1005, 1018, 1020) is intuitive and the user does not end up
	with non-working queues (fixes long-standing Ubuntu bug LP: #96454).
	To achieve maximum compatibility with Ubuntu, an hp-plugin call
	failing due to PyQt not installed is caught and then the text mode
	version of hp-plugin is called in a terminal window.

2009-02-12  Till Kamppeter  <till.kamppeter@gmail.com>

	* system-config-printer.py: Skip selection of manufacturer, model,
	and driver in the new-printer wizard if an exact driver match has 
	been found (trac #141).

2009-02-11  Till Kamppeter  <till.kamppeter@gmail.com>

	* system-config-printer.py, applet.py: Support for auto-detection
	of printers vis hal-cups-utils without hal-cups-utils creating a
	queue, especially if there is no driver specifically assigned to
	the detected printer. This way the user does not get confused by a
	non-working queue when he ignores the notifications of the applet.
	In such a case hal-cups-utils sends the CUPS URI resulting from
	the auto-detection in the place of the queue name. the applet does
	an appropriate notification then and if the user clicks the
	button, system-config-printer is started with the new-printer
	wizard direcly opening, but skipping the device selection step.

2009-02-11  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.setDataButtonState): Don't allow
	PPD changes when there are conflicts (trac #144).

2009-02-11  Tim Waugh  <twaugh@redhat.com>

	* optionwidgets.py (Option.checkConflicts): Check constraints in
	reverse as well, so that constraint checking is symmetrical.

2009-02-11  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.update_job): Don't display a
	notification when authentication is required, just go straight to
	the authentication dialog.  Don't grab keyboard and pointer for
	that dialog and instead let the window manager prevent keyboard
	input accidentally going to the wrong window.

2009-02-11  Tim Waugh  <twaugh@redhat.com>

	* authconn.py (Connection._perform_authentication): Don't grab
	keyboard and pointer when displaying authentication dialog.
	Instead let the window manager prevent keyboard input accidentally
	going to the wrong window.

2009-02-11  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.on_btnNPApply_clicked):
	Don't show wait window when adding a new printer, as that may	
	require an authentication dialog and we don't want them competing
	for focus (bug #484960).

2009-02-11  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.getNPPPD): Fixed
	indentation.

2009-02-10  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.getJockeyDriver_thread):
	Handle D-Bus failures when connecting to the session bus (bug
	#484402).

2009-02-04  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.set_statusicon_visibility): Fixed typo.
	(JobViewer.job_added): Only add this job to the active set if it
	is active; otherwise, remove it from the set if it is there.
	(JobViewer.job_event): If the emptiness of the active set has
	changed, update the status icon (trac #140).

2009-02-04  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.set_statusicon_visibility): Don't
	display status icon for completed jobs (trac #140).

2009-01-27  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.on_troubleshoot_activate): Don't
	make the troubleshooter window transient for the main window (bug
	#481505).

2009-01-27  Tim Waugh  <twaugh@redhat.com>

	* troubleshoot/PrintTestPage.py (PrintTestPage): Use authenticated
	connection, except when printing the test page.

2009-01-27  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.get_hpfax_device_id):
	Fixed traceback while fetching hpfax device ID (Ubuntu #321139).

2009-01-27  Tim Waugh  <twaugh@redhat.com>

	* newprinternotification.conf: Specify both send_destination and
	send_interface for allow/deny rules.

2009-01-26  Tim Waugh  <twaugh@redhat.com>

	* optionwidgets.py: Find parent window to set Conflicts dialog
	transient for.
	* system-config-printer.glade: Distinct response ID for
	Conflicts button.
	* system-config-printer.py: Fixed conflicts button.

2009-01-26  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.fillMakeList): Use
	set_cursor (trac #142).
	(NewPrinterGUI.fillModelList): Likewise.

2009-01-22  Tim Waugh  <twaugh@redhat.com>

	* glade/JobsWindow.glade: Better default height for jobs window.

2009-01-16  Tim Waugh  <twaugh@redhat.com>

	* AdvancedServerSettings.py
	(AdvancedServerSettingsDialog.on_response): Give a callback on
	apply.
	* system-config-printer.py (GUI.on_adv_server_settings_apply):
	Refresh server settings when the advanced server settings dialog
	has finished (trac #133).

2009-01-14  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(NewPrinterGUI.on_tvNPDevices_cursor_changed): Prevent traceback.
	(NewPrinterGUI.device_row_activated): Collapse/expand device rows
	on activation.

2009-01-14  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.fillPrinterTab): Avoid traceback
	with raw queues.

2009-01-13  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(NewPrinterGUI.on_tvNPDownloadableDrivers_cursor_changed): Fixed
	traceback (Ubuntu #316828).

2009-01-13  Tim Waugh  <twaugh@redhat.com>

	* glade/ConnectDialog.glade, glade/NewPrinterWindow.glade,
	glade/PrinterPropertiesDialog.glade: Added accessibility
	relations, patch from Ghee Teo (trac #136).

2009-01-12  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.on_btnNPApply_clicked):
	Treat classes the same as printers after adding them: enable them
	and set them accepting jobs (trac #132).

2009-01-12  Tim Waugh  <twaugh@redhat.com>

	* monitor.py (Monitor.__init__): Handle exception from
	dbus.SystemBus() (bug #479534).
	(Monitor.cleanup): Only remove the D-Bus signal receiver if we
	managed to add it in the first place.

2009-01-08  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.dests_iconview_item_activated):
	Use set_cursor here to match change introduced when fixing
	Ubuntu #282634.

2009-01-08  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.now_connected): Handle notification
	closure for re-connected printers correctly.

2009-01-07  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.__init__): Advertise correct
	defaults for page-left, page-right, page-top and page-bottom job
	options (bug #468553).

2009-01-07  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(NewPrinterGUI.on_tvNPMakes_cursor_changed): Use get_cursor here.
	(NewPrinterGUI.on_tvNPModels_cursor_changed): Likewise (Ubuntu
	#299724).
	(NewPrinterGUI.on_tvNPDevices_cursor_changed): Likewise.

2008-12-19  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.in: Set prefix environment variable here,
	partially reverting earlier change.
	* system-config-printer-applet.in: Likewise.
	* my-default-printer.in: Likewise.

2008-12-19  Tim Waugh  <twaugh@redhat.com>

	* PhysicalDevice.py (PhysicalDevice.get_info): The hpfax backend
	wants to tell us that the device make and model is "HP Fax", so
	ignore that useless field and use the device-info field instead.

2008-12-19  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.nextNPTab): Prevent
	traceback when adding a printer driven by HPLIP (bug #477107).

2008-12-16  Tim Waugh  <twaugh@redhat.com>

	* Makefile.am (EXTRA_DIST): Ship config.py.in.
	(DISTCLEANFILES): Clean config.py.

2008-12-15  Till Kamppeter  <till.kamppeter@gmail.com>

	* cupshelpers/openprinting.py (OpenPrinting.searchPrinters):
	The search term must be submitted with the query as the "printer"
	argument and not as the "make" argument.

2008-12-15  Tim Waugh  <twaugh@redhat.com>

	* monitor.py (Monitor.refresh): Use getPrinters instead of
	getDests to avoid character encoding problems.

2008-12-15  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.on_btnNPApply_clicked):
	Convert name of new printer to unicode (trac #124).

2008-12-15  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(NewPrinterGUI.browse_ipp_queues_thread): Split port out from host
	string if required (bug #476396).

2008-12-13  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(GUI.on_tvPrinterProperties_cursor_changed): Use get_cursor here
	(Ubuntu #282634).

2008-12-13  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.on_btnNPApply_clicked):
	Check we have a real PPD before trying to copy options (Ubuntu
	#285133).

2008-12-13  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.on_btnPrintTestPage_clicked):
	Display an error dialog if unable to connect to server (Ubuntu
	#286943).

2008-12-13  Tim Waugh  <twaugh@redhat.com>

	* cupshelpers/ppds.py (PPDs._findBestMatchPPDs): Handle model
	names with more than one set of digits (Ubuntu #251244).

2008-12-12  Tim Waugh  <twaugh@redhat.com>

	* troubleshoot/__init__.py (Troubleshooter.is_moving_backwards):
	Allow troubleshooter pages to know the direction we're going.

	* troubleshoot/DeviceListed.py (DeviceListed.display): Don't
	perform expensive operation if we're moving backwards and this
	page will not be displayed.

2008-12-11  Tim Waugh  <twaugh@redhat.com>

	* troubleshoot/ErrorLogCheckpoint.py
	(ErrorLogCheckpoint.enable_clicked): Reconnect after adjusting
	server settings.
	* troubleshoot/ErrorLogFetch.py (ErrorLogFetch.button_clicked):
	Likewise.

2008-12-11  Tim Waugh  <twaugh@redhat.com>

	* troubleshoot/ErrorLogCheckpoint.py
	(ErrorLogCheckpoint.enable_clicked): Handle values like '1m' for
	MaxLogSize.

2008-12-11  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.server_settings_response): Reload
	server settings after advanced server settings dialog has
	finished.

2008-12-09  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.populateList): Allow prompting
	again even if we disallowed it for one operation.

2008-12-04  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.fillPrinterTab): Localize a copy
	of the PPD, retaining the original in-memory representation.
	(GUI.fillPrinterOptions): Use the localized PPD for widget labels,
	and the original PPD for value writebacks.
	(NewPrinterGUI.getNPPPD): Don't localize PPDs here.
	(NewPrinterGUI.on_btnNPApply_clicked): Likewise.

2008-12-04  Tim Waugh  <twaugh@redhat.com>

	* cupshelpers/cupshelpers.py (Printer.__init__, Printer.getPPD):
	Cache the temporary PPD filename instead of the in-memory
	representation, to allow for a separate localized in-memory copy.
	(Printer.__del__): Remove the temporary PPD file.

2008-11-27  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.fillDeviceTab): Removed
	some dead code.

2008-11-26  Tim Waugh  <twaugh@redhat.com>

	* troubleshoot/ErrorLogCheckpoint.py
	(ErrorLogCheckpoint.collect_answer): Make sure to use
	authenticated connection here.

2008-11-26  Tim Waugh  <twaugh@redhat.com>

	* troubleshoot/DeviceListed.py (DeviceListed.display): Avoid
	traceback if getDevices fails.

2008-11-24  Tim Waugh  <twaugh@redhat.com>

	* troubleshoot/CheckLocalServerPublishing.py
	(CheckLocalServerPublishing.__init__): Fixed option description
	(bug #462934).

2008-11-24  Tim Waugh  <twaugh@redhat.com>

	* troubleshoot/ErrorLogCheckpoint.py
	(ErrorLogCheckpoint.collect_answer): Prevent exception when
	getFile fails.
	* troubleshoot/ErrorLogFetch.py (ErrorLogFetch.display): Likewise.
	* troubleshoot/PrintTestPage.py (PrintTestPage.print_clicked):
	Likewise for printTestPage.

2008-11-24  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.maintenance_command): Remove
	temporary file.

2008-11-24  Tim Waugh  <twaugh@redhat.com>

	* cupshelpers/cupshelpers.py
	(missingPackagesAndExecutables): Don't leak file descriptors, and
	clean up temporary files.

2008-11-21  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.add_job): Update job creation times.

2008-11-21  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.setDataButtonState): Avoid
	use-before-set traceback (trac #111).

2008-11-21  Tim Waugh  <twaugh@redhat.com>

	* monitor.py (Monitor.__init__): Remember which user to connect as.
	(Monitor.cleanup): Connect as correct user (trac #110).
	(Monitor.get_notifications): Likewise.
	(Monitor.refresh): Likewise.
	(Monitor.fetch_jobs): Likewise.

2008-11-21  Tim Waugh  <twaugh@redhat.com>

	* cupshelpers/cupshelpers.py (Device.__cmp__): Sort usb devices
	before hal devices (trac #109).

2008-11-19  Tim Waugh  <twaugh@redhat.com>

	* authconn.py (Connection._perform_authentication): If we get
	IPP_FORBIDDEN, switch to asking for the root password.

2008-11-19  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.getNPPPD): Localize the
	PPD.
	(NewPrinterGUI.on_btnNPApply_clicked): Likewise.
	* cupshelpers/cupshelpers.py (Printer.getPPD): Likewise.

2008-11-19  Tim Waugh  <twaugh@redhat.com>

	* glade/ConnectDialog.glade: Pressing Return in the Connect
	dialog activates the Connect... button.

2008-11-18  Tim Waugh  <twaugh@redhat.com>

	* cupshelpers/ppds.py
	(PPDs.orderPPDNamesByPreference.sort_ppdnames.is_C_locale): Catch
	exceptions when examining file names (Ubuntu #299074).

2008-11-13  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.init): Fetch PPDs in a
	background thread, again.

2008-11-13  Tim Waugh  <twaugh@redhat.com>

	* monitor.py (Monitor.cleanup): Remove any pending timers.

2008-11-13  Tim Waugh  <twaugh@redhat.com>

	* authconn.py (Connection._authloop): Remember the distinction
	between a canceled dialog and an authentication we've given up
	on.
	* errordialogs.py (show_IPP_Error): Only show IPP error dialog for
	errors not caused by a canceled authentication dialog.

2008-11-12  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.queryDevices,
	NewPrinterGUI.getDevices_thread): Removed.
	(NewPrinterGUI.fetchDevices): Run in the main thread instead of
	starting a new one.  This is necessary because the default
	configuration of CUPS 1.4 is to require an authenticated system
	user, and to do that we may need to present an authentication
	dialog.
	* PhysicalDevice.py (PhysicalDevice): Use authconn.Connection in
	case we need to present an authentication dialog.
	* troubleshoot/DeviceListed.py (DeviceListed.display): Likewise.

2008-11-07  Tim Waugh  <twaugh@redhat.com>

	* authconn.py (Connection._perform_authentication): Grab keyboard
	and mouse when showing authentication dialog.
	* pysmb.py (AuthContext.perform_authentication): Likewise.
	* jobviewer.py (JobViewer.display_auth_info_dialog): Likewise.
	(JobViewer.auth_info_dialog_response): Ungrab them.

2008-11-07  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.auth_info_dialog_response): Don't leak
	AuthDialog.

2008-11-06  Tim Waugh  <twaugh@redhat.com>

	* troubleshoot/CheckNetworkServerSanity.py
	(CheckNetworkServerSanity.display): Use strictly correct smb URI.

2008-11-06  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(NewPrinterGUI.on_tvNPDownloadableDrivers_cursor_changed): Fixed
	traceback in downloadable driver dialog.

2008-10-06  Till Kamppeter  <till.kamppeter@gmail.com>

	* system-config-printer.py, glade/NewPrinterWindow.glade: Display
	more driver info for downloadable drivers from OpenPrinting:
	Manufacturer/third-party-supplied? Free software? Patent issues?
	Recommended? Functionality, support contacts. The license text
	will now always be shown if available, but the user will only
	asked whether he accepts it in the case of a non-free license or
	patentissues.

2008-11-06  Tim Waugh  <twaugh@redhat.com>

	* cupshelpers/cupshelpers.py (Printer.setAsDefault): Removed
	old reconnect call which caused a traceback.  Return a boolean
	indicating whether reconnection is necessary.
	* system-config-printer.py (GUI.set_default_printer): Reload only
	if necessary.
	(GUI.rename_printer): Likewise.
	
2008-11-05  Tim Waugh  <twaugh@redhat.com>

	* configure.in: Version 1.0.10.

2008-11-06  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.reconnect): Sleep before
	reconnection attempt, not after.  The CUPS server doesn't
	necessarily re-start immediately.

2008-11-05  Tim Waugh  <twaugh@redhat.com>

	* troubleshoot/CheckNetworkServerSanity.py
	(CheckNetworkServerSanity.display): Prevent traceback.

2008-11-05  Tim Waugh  <twaugh@redhat.com>

	* troubleshoot/CheckPPDSanity.py: Use gpk-install-package-name
	instead of system-install-packages.

2008-11-05  Tim Waugh  <twaugh@redhat.com>

	* applet.py (NewPrinterNotification): Use gpk-install-package-name
	instead of system-install-packages.
	* system-config-printer.py (NewPrinterGUI.checkDriverExists):
	Likewise.

2008-11-04  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.__init__): Don't set the
	IconView's item_width as that causes problem.  Set the column and
	row spacing instead.

2008-11-04  Tim Waugh  <twaugh@redhat.com>

	* monitor.py (Monitor.fetch_jobs): Apply specific_dests filter to
	fetched jobs.

2008-11-04  Tim Waugh  <twaugh@redhat.com>

	* monitor.py (Monitor.update_connecting_devices): Only call
	still_connecting once, not repeatedly.

2008-11-04  Tim Waugh  <twaugh@redhat.com>

	* monitor.py (Monitor.get_notifications): Prevent timer callbacks
	while we handle client callbacks.
	(Monitor.refresh): Likewise.

2008-11-04  Tim Waugh  <twaugh@redhat.com>

	* monitor.py (Monitor.refresh): Reverted recent change inverting
	order of calls.  The current_printers_and_jobs callback must be
	called first.
	(Monitor.set_process_pending): Control whether pending events may
	be processed.
	(Monitor.__init__): Initially they can.
	(Monitor.check_still_connecting): Defer timer callback if pending
	events are held.
	(Monitor.get_notifications): Likewise.
	(Monitor.fetch_jobs): Skip callback if events are held.

2008-11-03  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.current_printers_and_jobs): Don't
	process pending events while processing new jobs list.

2008-11-03  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.set_process_pending): Control whether
	pending events may be processed.
	(JobViewer.__init__): Initially they can.
	(JobViewer.set_statusicon_visibility): Only process pending events
	if allowed to.

2008-11-03  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.update_job): Make sure the notification
	is still valid after letting the status icon show itself.
	(JobViewer.on_auth_notification_closed): Mark notification as
	closed.
	(JobViewer.job_removed): Likewise.

2008-11-03  Tim Waugh  <twaugh@redhat.com>

	* glade/statusicon_popupmenu.glade: Added a 'Configure Printers'
	entry to the pop-up menu.
	* jobviewer.py (JobViewer.on_icon_configure_printers_activate):
	New method.  Launch system-config-printer.
	(JobViewer.poll_subprocess): New method.  Collect exit status.
	Fixes trac #96.

2008-11-03  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.update_job): Restored compatibility code
	for pycups < 1.9.40 when connecting to CUPS and requesting
	specific job attributes.

2008-11-03  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.cleanup): Close open notifications on
	exit (trac #106).

2008-11-03  Tim Waugh  <twaugh@redhat.com>

	* monitor.py (Monitor.refresh): Fixed race condition causing stale
	jobs (trac #107).

2008-11-03  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.update_job): Already set status icon
	visibility here.

2008-11-02  Tim Waugh  <twaugh@redhat.com>

	* monitor.py (Monitor.fetch_jobs): Better logic for job trimming.

2008-10-31  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.current_printers_and_jobs): Better
	debugging.
	(JobViewer.job_event): Likewise.

2008-10-31  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.job_event): Remove job-hold-until from
	provided job data unless it was also provided as part of the
	notification.  Call update_job earlier to make sure all required
	attributes are present.

2008-10-31  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.add_job): Use iter while it's fresh.

2008-10-31  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.update_job): Delete auth notification
	after closing it, otherwise we'll never show the notification for
	this job again.

2008-10-31  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.set_statusicon_visibility): Let the icon
	show/hide itself before continuing.
	(JobViewer.notify_new_printer): No longer need to do that here.
	(JobViewer.notify_printer_state_reason): Likewise.

2008-10-31  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.update_job): Set status icon visibility
	before making auth notification visible.

2008-10-31  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.add_job): Moved fetch of required job
	attributes...
	(JobViewer.update_job): ...here so that job event handling has
	access to all the attributes it requires.

2008-10-31  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.set_statusicon_visibility): Count auth
	notifications as reasons to keep the status icon visible.

2008-10-31  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.job_removed): Close outstanding auth
	notifications when the job is removed.

2008-10-31  Tim Waugh  <twaugh@redhat.com>

	* monitor.py (Monitor.fetch_jobs): Trim the remaining jobs after
	the last job is returned.

2008-10-29  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.on_state_reason_notification_closed):
	Set 'closed' data for notification instead of removing the object
	from the state_reason_notifications dict.
	(JobViewer.set_statusicon_visibility): Skip closed notifications
	when counting how many open notifications there are.
	(JobViewer.notify_printer_state_reason): No need to set
	'printer-state-reason' data on object any more.
	(JobViewer.state_reason_removed): Don't try closing notification
	if it was already closed.  Remove the notification from the
	state_reasons_notification dict now that the reason is cleared.
	Adjust statusicon visibility appropriately.

2008-10-29  Tim Waugh  <twaugh@redhat.com>

	* my-default-printer.py (Dialog.__init__): Set default window icon
	(Ubuntu #290469).

2008-10-28  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.current_printers_and_jobs): Moved fetch
	of required job attributes...
	* jobviewer.py (JobViewer.add_job): ...here.  This is needed
	because all jobs are added via add_job now, even pre-existing
	ones.

2008-10-28  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.__init__): Set up policy
	comboboxes to separate IPP string from its presentable value.
	(GUI.on_printer_changed): Updated.
	(GUI.save_printer): Likewise.
	(GUI.fillComboBox): Likewise.

2008-10-28  Tim Waugh  <twaugh@redhat.com>

	* ppdippstr.py: New module holding translations for common IPP and
	PPD strings (trac #103).
	* Makefile.am (nobase_pkgdata_DATA): Ship it.
	* po/POTFILES.in: Translate it.
	* optionwidgets.py (OptionBool.__init__, OptionPickOne.__init__):
	Use it to translate PPD option names and values.
	* system-config-printer.py (GUI.fillComboBox): Use it to translate
	job sheet, printer operation and printer error policies.
	(GUI.fillPrinterOptions): Use it to translate PPD group names.

2008-10-17  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.get_icon_pixbuf): Use printer-printing
	icon when appropriate (trac #86).

2008-10-16  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.save_printer): Prevent traceback
	when printer has been deleted.
	* system-config-printer.py (GUI.populateList): Cancel properties
	dialog if the printer we're editing has been deleted.
	Fixes Ubuntu #284444.

2008-10-16  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.__init__): Set the item width for
	the icon view, for a nicer appearance.

2008-10-16  Tim Waugh  <twaugh@redhat.com>

	* debug.py (debugprint): Send debug output to stderr to work
	around the samba bug (#5805) that closes stdout.

2008-10-16  Tim Waugh  <twaugh@redhat.com>

	* pysmb.py (AuthContext.perform_authentication): Fixed the SMB
	authentication dialog's cancel button (bug #467127).

2008-10-15  Tim Waugh  <twaugh@redhat.com>

	* pysmb.py (AuthContext.perform_authentication): Don't destroy
	authentication dialog until after we've fetched the details (bug
	#464003).

2008-10-15  Tim Waugh  <twaugh@redhat.com>

	* pysmb.py: Import gettext.

2008-10-15  Tim Waugh  <twaugh@redhat.com>

	* smburi.py (SMBURI._construct): Don't construct URIs containing
	"@/".

2008-10-15  Tim Waugh  <twaugh@redhat.com>

	* cupshelpers/ppds.py (PPDs.getInfoFromModel): Restrict URI in
	debugging output.

2008-10-15  Tim Waugh  <twaugh@redhat.com>

	* pysmb.py (AuthContext.perform_authentication): Show an error
	dialog if the password was incorrect (bug #465407).
	* po/POTFILES.in: Translate pysmb.py (no new translatable
	strings).

2008-10-15  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(NewPrinterGUI.on_btnSMBVerify_clicked): Don't show an error
	dialog if the SMB authentication dialog is cancelled by the
	user (bug #465407).

2008-10-15  Tim Waugh  <twaugh@redhat.com>

	* print-applet.desktop.in (NotShowIn): Don't show the applet in
	KDE, as that provides its own version (bug #466945).

2008-10-10  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(GUI.__init__.UnobtrusiveButton.__init__): Don't use a LinkButton
	for the 'Problems?' button (bug #465407).

2008-10-10  Tim Waugh  <twaugh@redhat.com>

	* glade/PrinterPropertiesDialog.glade: Don't set non-zero page
	size for SpinButtons.

2008-10-10  Tim Waugh  <twaugh@redhat.com>

	* errordialogs.py (show_IPP_Error): Don't show an error dialog if
	an IPP operation's authentication dialog is cancelled by the
	user (bug #465407).
	* authconn.py: Show an error dialog if the password was
	incorrect (bug #465407).

2008-10-09  Till Kamppeter  <till.kamppeter@gmail.com>

	* system-config-printer.py: Use message "Searching for
	downloadable drivers" in the wait window when polling OpenPrinting
	database vis Jockey.

2008-10-09  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.glade: Renamed server_settings to
	server_settings_menu_entry to avoid naming collision.
	* system-config-printer.py (GUI.setConnected): Set Server
	Settings... menu entry sensitive depending on whether we are
	connected to a server (Ubuntu #280736).

2008-09-26  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.fetchJockeyDriver):
	Make this translatable string the same as another to avoid
	breaking the Fedora string freeze.

2008-09-25  Till Kamppeter  <till.kamppeter@gmail.com>

	* applet.py, cupshelpers/ppds.py, system-config-printer.py: Added
	support for automatic printer driver download from OpenPrinting
	via Jockey. If no exactly matching driver for a new printer is
	found, Jockey is asked for a driver via D-Bus. If Jockey actually
	downloads a driver this way, the PPD list is rebuilt and if one of
	the new PPDs installed by the driver package matches the printer,
	it is suggested with priority.

	If hal-cups-utils reports a newly generated queue with a driver
	which does not match exactly, we capture the device ID now so that
	we can ask Jockey.

	If Jockey is not installed or too old, the Jockey queries fail
	gracefully and a locally installed driver is chosen.
	
	* cupshelpers/openprinting.py: When querying a driver entry from the
	OpenPrinting database, add also the fields 
         - thirdpartysupplied
         - manufacturersupplied
         - supportcontacts
	to the data structure (Ubuntu #269454).

2008-09-08  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.server_settings_response): If the
	advanced server settings dialog raises an exception, catch it
	(Ubuntu #267557).

2008-09-03  Tim Waugh  <twaugh@redhat.com>

	* cupshelpers/ppds.py (PPDs.getInfoFromModel): Try 'Lexmark'
	instead of 'Lexmark International' when matching.

2008-09-03  Tim Waugh  <twaugh@redhat.com>

	* cupshelpers/ppds.py (_self_test): Fixed testing for a specific
	IEEE 1284 Device ID.

2008-09-01  Tim Waugh  <twaugh@redhat.com>

	* glade/NewPrinterWindow.glade: Avoid display problem with
	installable options.  We now have a label where the options table
	will go, rather than starting the vbox empty.

2008-09-01  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.nextNPTab): Use
	modelName string from custom PPD file to suggest name for new
	queue if no Device ID is available (trac #97).

2008-09-01  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.nextNPTab): Rearranged
	code for suggesting an appropriate name for a new printer.

2008-08-30  Tim Waugh  <twaugh@redhat.com>

	* authconn.py (Connection._authloop): Handle IPP_FORBIDDEN (bug
	#460670).

2008-08-30  Tim Waugh  <twaugh@redhat.com>

	* GroupsPane.py (GroupsPane.on_group_name_edited): Fixed
	translatable string.
	(GroupsPane.delete_selected_group): Likewise.

	* GroupsPaneModel.py (FavouritesItem.__init__): Use US spelling
	here, ready for translation.

2008-08-30  Tim Waugh  <twaugh@redhat.com>

	* po/POTFILES.in: Translate GroupsPane.py, GroupsPaneModel.py
	and ToolbarSearchEntry.py.
	* Makefile.am: Ship them.
	* Makefile.am: Ship HIG.py, SearchCriterion.py and
	XmlHelper.py.

2008-08-29  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py: Require pycups >= 1.9.42.

	* AdvancedServerSettings.py
	(AdvancedServerSettingsDialog.on_response): Removed legacy pycups
	code.

	* applet.py (any_jobs): Removed legacy pycups code.

	* monitor.py (Monitor.fetch_jobs): Removed legacy pycups code.
	(Monitor.fetch_jobs): Likewise.

	* jobviewer.py (JobViewer.current_printers_and_jobs): Removed
	legacy pycups code.
	(JobViewer.job_event): Likewise.

2008-08-28  Tim Waugh  <twaugh@redhat.com>

	* monitor.py (Monitor.refresh): New parameter refresh_all.
	(Monitor.fetch_jobs): Skip over jobs we already know about unless
	refresh_all is True.

	* jobviewer.py (JobViewer.on_show_completed_jobs_activate): Don't
	refresh all jobs, just completed ones.

2008-08-28  Tim Waugh  <twaugh@redhat.com>

	* monitor.py (Monitor.get_notifications): Don't call job_removed
	if we are interested in completed jobs.

2008-08-28  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.current_printers_and_jobs): Only fetch
	missing job attributes we require.
	(JobViewer.job_event): Likewise.

2008-08-27  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.setNPButtons): Hide Back
	button on first page of New Class dialog.

2008-08-28  Tim Waugh  <twaugh@redhat.com>

	* monitor.py (Monitor.fetch_jobs): Fixed bad merge.  The old
	update() method is now called update_jobs().

2008-08-26  Tim Waugh  <twaugh@redhat.com>

	* monitor.py (Monitor.fetch_jobs): Handle job fetching in parts on
	a timer (trac #93).
	(Monitor.refresh): Start timer.

2008-08-26  Tim Waugh  <twaugh@redhat.com>

	* monitor.py (Monitor.refresh): Allow which_jobs to be specified
	when refreshing.
	* jobviewer.py (JobViewer.on_show_completed_jobs_activate): Give
	new which_jobs value to monitor.refresh().

2008-08-26  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.add_job): Efficiency improvement.

2008-08-26  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.__init__): Removed self.which_jobs as
	not used.

2008-08-26  Tim Waugh  <twaugh@redhat.com>

	* applet.py: Catch exceptions when printing non-fatal messages to
	stderr.

2008-08-23  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* system-config-printer.py (GUI.on_delete_activate): HIG
	fixes. Only delete printers if we really have a positive
	response.

2008-08-23  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* system-config-printer.py (GUI.dests_iconview_key_press_event):
	Handle "standard" key shortcuts to delete and rename printers.

2008-08-22  Tim Waugh  <twaugh@redhat.com>

	* monitor.py (Monitor.get_notifications): Handle job completion
	when the state changes to 'completed'; don't wait for the
	job-completed event.

2008-08-22  Tim Waugh  <twaugh@redhat.com>

	* monitor.py (Monitor.refresh): Don't request job-progress
	events.

2008-08-22  Tim Waugh  <twaugh@redhat.com>

	* monitor.py (Monitor.check_state_reasons): Efficiency
	improvement when not running in debug mode.
	(Monitor.get_notifications): Likewise.

2008-08-22  Tim Waugh  <twaugh@redhat.com>

	* applet.py (show_version.any_jobs): Don't fetch all jobs to see
	if there are jobs; just one is sufficient (trac #92).

2008-08-22  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* GroupsPane.py (GroupsPane.__init__):
	* GroupsPane.py (GroupsPane.on_drag_*):
	* system-config-printer.py (GUI.__init__):
	* system-config-printer.py (GUI.dests_iconview_drag_data_get):
	Uncomment and rework the DnD signal handlers to finally provide
	working DnD from the icon view to a static icon group.

2008-08-22  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* GroupsPane.py (GroupsPane.n_groups): New method to get the
	number of groups.
	* system-config-printer.py (GUI.__init__): Use it instead of
	checking only the static groups to decide about wether the groups
	pane should start visible.

2008-08-21  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.__init__): Don't set View
	Discovered Printers menu item insensitive.
	(GUI.populateList): Filter out discovered printers if necessary.
	(GUI.on_view_discovered_printers_activate): New method.  Redraw
	the printer list when View Discovered Printers is changed.
	Fixes trac #15.

2008-08-21  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.init): No need to start
	a devices query here.

2008-08-21  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.init): No need to load
	PPDs while changing the device.

2008-08-21  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.init): No need to load
	PPDs before changing the device.

2008-08-21  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.fillDeviceTab): Merge
	current device into detected physical device if possible.

2008-08-21  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.setNPButtons): Avoid
	traceback when no device has been selected yet.

2008-08-21  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.fetchDevices): Cache
	device list (trac #36).

2008-08-21  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.fillDeviceTab): Cache
	device list (trac #36).

2008-08-18  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* XmlHelper.py (XmlHelper): Remove 'ospm' from the filename of the
	xml printer group file.

2008-08-18  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* GroupsPane.py (GroupsPane.on_group_name_edited): Use
	gtk.BUTTONS_OK instead of gtk.BUTTONS_CLOSE to comply with HIG.

2008-08-12  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* GroupsPane.py (GroupsPane.__init__): Load search groups from the
	xml file.
	* GroupsPane.py (GroupsPane._create_new_group_common): Share some
	code between...
	* GroupsPane.py (GroupsPane.create_new_search_group): ... this new
	method...
	* GroupsPane.py (GroupsPane.create_new_group): ... and this one.
	* GroupsPaneModel.py (SavedSearchGroupItem.__init__): Implemented
	search group saving and loading from xml.
	* SearchCriterion.py (SearchCriterion): New class with the
	necessary definitions to put in the search group xml serialization
	and be compatible with Project Presto's ospm.
	* XmlHelper.py (XmlHelper.get_search_groups): New method.
	* system-config-printer.py (GUI.__init__): Added a search entry
	popdown menu item to save a search group.
	* system-config-printer.py (GUI.on_search_entry_search): Set the
	previous menu item sensitivity.
	* system-config-printer.py (GUI.on_groups_pane_item_activated):
	Clear the search entry when changing groups and fill the search
	entry when a search group has been selected.
	* system-config-printer.py (GUI.populateList): Handle search
	groups like AllPrinters since it's only the filtering that makes
	the difference.
	* system-config-printer.py (GUI.on_save_as_search_group_activate):
	New method.

2008-08-10  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* system-config-printer.py (GUI.__init__):
	* system-config-printer.py (GUI.on_filter_criterion_changed):
	* system-config-printer.py (GUI.populateList): Add UI and code to
	filter printers by name, description/location or
	manufacturer/model.

2008-08-01  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* GroupsPane.py (GroupsPane.on_new_group_activate):
	* GroupsPane.py (GroupsPane.on_new_group_from_selection_activate):
	Redefine these methods in terms of...
	* GroupsPane.py (GroupsPane.create_new_group): ... this new, more
	general, one.
	* ToolbarSearchEntry.py (ToolbarSearchEntry.__init__): Create a
	clickable icon to drop a menu.
	* ToolbarSearchEntry.py (ToolbarSearchEntry.set_drop_down_menu):
	New method to set the drop down menu.
	* ToolbarSearchEntry.py (ToolbarSearchEntry.on_icon_pressed): New
	method to show the menu.
	* system-config-printer.py (GUI.__init__): New action to save the
	filtered printer queues as a static group. Also, create and set the
	search entry drop down menu.
	* system-config-printer.py (GUI.on_search_entry_search): Set the
	save-as-group action sensitivity.
	* system-config-printer.py (GUI.on_save_as_group_activate): Save
	the currently displayed printer queues as a static group.

2008-07-30  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* system-config-printer.py (GUI.populateList): Remove no longer
	existing printer queues from the currently selected static
	group. It seems the cleanliest way to do this, even if a bit too
	lazy. Both the user removing the printer in All Printers and the
	auto discovered printers going away should be covered.
	Also, reverted these points from commit
	7e7cf4188fc790f705c3e837e1ef69699133b145:

		* system-config-printer.py (GUI.populateList): Use an
		unreadable emblem on printer icons for queues which are no
		longer available.
		* system-config-printer.py (GUI): Protect several
		potential NoneType object accesses. Certainly there are a
		lot more.

	since they are no longer needed with this change.

2008-07-28  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* GroupsPaneModel.py (GroupsPaneModel.get): This function can be
	used with either a TreeIter or a path thanks to the gtk.ListStore
	implementors. Use this function all over GroupsPane.py where it
	saves us from doing path-to-iter and iter-to-path conversions.

2008-07-27  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* GroupsPaneModel.py (StaticGroupItem.add_queues): Removed bogus
	code to check if a static group xml node has a child called
	"queues". We make sure that always happens anyway. Better error
	handling for the XML handling code can be done later.
	* GroupsPaneModel.py (StaticGroupItem.remove_queues): New method.
	* system-config-printer.py (GUI.populateList): Change the
	delete-printer action's label to "Remove from Group" when a static
	group is active.
	* system-config-printer.py (GUI.delete_selected_printer_queues):
	New method with the old contents of...
	* system-config-printer.py (GUI.on_delete_activate): ...this. Now
	this method handles the remove from static group case and calls
	the previously mentioned one when in the All Printers view.

2008-07-26  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* GroupsPane.py (GroupsPane): New signal "items-changed".
	* GroupsPane.py (GroupsPane.on_group_name_edited):
	* GroupsPane.py (GroupsPane.on_delete_selected_group_response):
	* GroupsPane.py (GroupsPane.on_new_group_activate):
	* GroupsPane.py (GroupsPane.on_new_group_from_selection_activate):
	Emit it.
	* GroupsPane.py (GroupsPane.get_static_groups): New method.
	* system-config-printer.py (GUI.__init__): New action "add-to-group".
	* system-config-printer.py
	(GUI.on_add_to_group_menu_item_activate): Add selected
	printer queues to a group.
	* system-config-printer.py (GUI.update_add_to_group_menu): Build
	the add-to-group submenu.
	* system-config-printer.py (GUI.on_groups_pane_items_changed):
	Handle group items changes.

2008-07-17  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* GroupsPane.py (GroupsPane.__init__): Build the groups menu on
	__init__().
	* system-config-printer.py (GUI.__init__): Use the groups popup
	menu as the menubar's Group menu.

2008-08-21  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.glade: New expander in the New Printer
	dialog on the Select Device page, for selecting a connection.
	* system-config-printer.py
	(NewPrinterGUI.on_tvNPDeviceURIs_cursor_changed): New method.
	Update the description depending on the selected connection.
	(NewPrinterGUI.on_expNPDeviceURIs_expanded): New method.  Adjust
	the expander's packing depending on its expanded state.

2008-08-21  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.fillDeviceTab): Let the
	PhysicalDevice class handle duplicate merging.

2008-08-21  Tim Waugh  <twaugh@redhat.com>

	* PhysicalDevice.py: New module.
	* Makefile.am (nobase_pkgdata_DATA): Ship it.

2008-08-21  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.fillDeviceTab): More
	efficient algorithm for deleting duplicates.

2008-08-21  Tim Waugh  <twaugh@redhat.com>

	* cupshelpers/ppds.py (ppdMakeModelSplit): The canonical name for
	Hewlett-Packard is HP.

2008-08-21  Tim Waugh  <twaugh@redhat.com>

	* Makefile.am (nobase_pkgdata_DATA): Ship Locale troubleshooter
	module (Ubuntu #259926).

2008-08-20  Tim Waugh  <twaugh@redhat.com>

	* glade/NewPrinterWindow.glade: Better layout for the new printer
	dialog.

2008-08-17  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* authconn.py (Connection._perform_authentication): Destroy the
	AuthDialog after run() since a new one is always created. Handle
	response == gtk.RESPONSE_DELETE_EVENT as gtk.RESPONSE_CANCEL.

2008-08-19  Tim Waugh  <twaugh@redhat.com>

	* pysmb.py (AuthContext.perform_authentication): Destroy this
	dialog instead of hiding it.

2008-08-19  Tim Waugh  <twaugh@redhat.com>

	* errordialogs.py (show_dialog): Destroy these dialogs instead of
	hiding them.

2008-08-19  Tim Waugh  <twaugh@redhat.com>

	* userdefault.py (UserDefaultPrompt.on_response): Destroy this
	dialog instead of hiding it so that we avoid leaking it.

2008-08-19  Tim Waugh  <twaugh@redhat.com>

	* AdvancedServerSettings.py
	(AdvancedServerSettingsDialog.__del__): Destroy this dialog
	instead of hiding it so that we avoid leaking it.

2008-08-18  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* errordialogs.py (show_dialog): Use gtk.MessageDialog instead of
	gtk.Dialog as it saves us a lot of code and already complies with
	the HIG. Also, destroy the dialog after running it.

2008-08-18  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* system-config-printer.py (GUI.on_connect_activate): Make
	pressing Enter on the combo box's entry activate the default
	dialog widget.

2008-08-17  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* glade/ServerSettingsDialog.glade: Add border width. Remove
	resizable and has_separator properties. Add mnemonics to the
	check boxes' labels.

2008-08-17  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* authconn.py (Connection._perform_authentication): Destroy the
	AuthDialog after run() since a new one is always created. Handle
	response == gtk.RESPONSE_DELETE_EVENT as gtk.RESPONSE_CANCEL.

2008-08-17  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* glade/ConnectingDialog.glade: HIG fixes. Added a progress bar.
	* system-config-printer.py (GUI.__init__): The delete-event
	handler for ConnectingDialog must act as if the cancel button was
	pressed.
	* system-config-printer.py (GUI.on_connectingdialog_delete): New
	method to call the cancel button's click handler on delete-event
	and avoid dialog destruction.
	* system-config-printer.py (GUI.on_connect_activate): Changed
	lblConnecting to use a markup string. Call...
	* system-config-printer.py (GUI.update_connecting_pbar): ... this
	to update the progress bar.

2008-08-19  Till Kamppeter  <till.kamppeter@gmail.com>

	* cupshelpers/ppds.py (ppdMakeModelSplit): Replace the
	manufacturer name "Okidata" by "Oki". Remove empty parentheses and
	trailing slashes from cleaned model names (they appear when "PS"
	or "PostScript") is removed from the names).

2008-08-18  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.__init__): Remember current host, port,
	encryption settings.
	(JobViewer.display_auth_info_dialog): Use them when making new
	connections.
	(JobViewer.auth_info_dialog_response): Likewise.
	(JobViewer.on_job_cancel_activate): Likewise.
	(JobViewer.on_job_hold_activate): Likewise.
	(JobViewer.on_job_release_activate): Likewise.
	(JobViewer.on_job_reprint_activate): Likewise.
	(JobViewer.current_printers_and_jobs): Likewise.
	(JobViewer.job_event): Likewise.

2008-08-18  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.on_job_cancel_activate): Ask user if
	they are sure they want to cancel the job.
	(JobViewer.on_job_cancel_prompt_delete): Handle delete-event for
	the dialog.
	(JobViewer.on_job_cancel_prompt_response): Handle response for the
	dialog.

2008-08-18  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.on_job_cancel_activate): Set current
	operation.
	(JobViewer.on_job_hold_activate): Likewise.
	(JobViewer.on_job_release_activate): Likewise.

2008-08-18  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py: Require pycups >= 1.9.40.
	(GUI.populateList): Removed pycups compatibility code.
	(GUI.connect): Likewise.
	(NewPrinterGUI.getPPDs_thread): Likewise.
	(NewPrinterGUI.nextNPTab): Likewise.
	(NewPrinterGUI.getDevices_thread): Likewise.
	(NewPrinterGUI.on_btnIPPVerify_clicked): Likewise.
	(NewPrinterGUI.browse_ipp_queues_thread): Likewise.
	(NewPrinterGUI.getNPPPD): Likewise.

	* AdvancedServerSettings.py
	(AdvancedServerSettingsDialog.on_response): Removed pycups
	compatibility code for pycups < 1.9.40.

	* my-default-printer.py (Server.getSystemDefault): Removed pycups
	compatibility code.

	* monitor.py (collect_printer_state_reasons): Removed pycups
	compatibility code.
	(Monitor.cleanup): Likewise.
	(Monitor.get_notifications): Likewise.
	(Monitor.refresh): Likewise.

	* authconn.py (Connection._connect): Removed pycups compatibility
	code.

	* jobviewer.py (PrinterURIIndex.lookup): Removed pycups
	compatibility code.
	(JobViewer.display_auth_info_dialog): Likewise.

2008-08-18  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.__init__): Initialise
	connect_encrypt.

	* system-config-printer.py (GUI.connect): Use parameters to
	Connection() when possible.
	(GUI.on_btnPrintTestPage_clicked): Likewise.  Make sure to restore
	cups user.
	(NewPrinterGUI.getPPDs_thread): Use parameter to Connection() when
	possible.
	(NewPrinterGUI.nextNPTab): Likewise.
	(NewPrinterGUI.getDevices_thread): Likewise.
	(NewPrinterGUI.on_btnIPPVerify_clicked): Likewise.  Restore
	current server afterwards.
	(NewPrinterGUI.browse_ipp_queues_thread): Likewise.

	* authconn.py (Connection.__init__): New parameters host, port,
	encryption.
	(Connection._connect): Use them.  Use parameters to Connection()
	when possible.

	* monitor.py (Monitor.__init__): New parameters host, port,
	encryption.
	(Monitor.cleanup): Use them for new connections.  Use parameters
	to Connection() when possible.
	(Monitor.get_notifications): Likewise.
	(Monitor.refresh): Likewise.

2008-08-18  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.save_printer): Allow caller to set
	parent window.
	(GUI.copy_printer): Set parent window so that error dialogs are
	transient for the main window.

2008-08-18  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.save_printer): Set current
	operation.
	(GUI.set_default_printer): Likewise.
	(GUI.on_btnPrintTestPage_clicked): Likewise.
	(GUI.maintenance_command): Likewise.
	(GUI.copy_printer): Likewise.
	(GUI.rename_printer): Likewise.
	(GUI.on_delete_activate): Likewise.
	(GUI.on_enabled_activate): Likewise.
	(GUI.on_shared_activate): Likewise.
	(GUI.fillServerTab): Likewise.
	(GUI.save_serversettings): Likewise.
	(NewPrinterGUI.on_btnNPApply_clicked): Likewise.

2008-08-18  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.populateList): Set current
	operation.
	(GUI.save_printer): Likewise.

2008-08-18  Tim Waugh  <twaugh@redhat.com>

	* authconn.py (Connection._begin_operation): New method.
	(Connection._end_operation): New method.
	(Connection._perform_authentication): Display current operation in
	the dialog window title.

2008-08-18  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.display_auth_info_dialog): Fixed widget
	name.  JobsWindow was MainWindow in the branch this change was
	merged from.
	* system-config-printer.py (GUI.is_rename_possible): Fixed widget
	name.  PrintersWindow was MainWindow in the branch this change was
	merged from.
	(GUI.rename_printer): Likewise.

2008-08-18  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.on_shared_activate): Handle IPP
	errors while setting shared status.

2008-08-18  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.rename_printer): Handle IPP errors
	while setting original printer to reject jobs.

2008-08-15  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* glade/ConnectDialog.glade: Adjusted spacing. Removed
	separator. Changed cancel/connect button ordering. The
	GtkAlignment widgets aren't needed, removed. Added mnemonics to
	the labels.

2008-08-15  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.display_auth_info_dialog): Allow more
	than one authentication dialog at a time.

2008-08-15  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.current_printers_and_jobs): Reset jobs
	dict to keep it in synchronisation with the jobiters dict.  This
	prevents a traceback after releasing a held job.

2008-08-15  Tim Waugh  <twaugh@redhat.com>

	* cupshelpers/cupshelpers.py (_PrintersConf.fetch): Clean up
	temporary file in case of error.

2008-08-15  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.auth_info_dialog_delete): Handle
	delete-event.
	(JobViewer.display_auth_info_dialog): Connect to signal.

2008-08-14  Tim Waugh  <twaugh@redhat.com>

	* cupshelpers/openprinting.py
	(OpenPrinting.listDrivers.parse_result): OpenPrinting API change:
	freesoftware -> nonfreesoftware (trac #74).
	* system-config-printer.py
	(NewPrinterGUI.on_tvNPDownloadableDrivers_cursor_changed):
	Likewise.

2008-08-14  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.on_new_printer_notification_closed):
	Optional reason parameter to handle newer libnotify signal
	interface.
	(JobViewer.on_state_reason_notification_closed): Likewise.
	(JobViewer.on_auth_notification_closed): Likewise.

2008-08-14  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.update_job): Display a notification when
	a job requires authentication (trac #91).
	(JobViewer.on_auth_notification_authenticate): New method.
	Display an authentication dialog when the notification's
	authenticate action is triggered.
	(JobViewer.on_auth_notification_closed): New method.  Handle an
	auth notification being closed.

2008-08-14  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.update_job): Moved code for displaying
	authentication dialog...
	(JobViewer.display_auth_info_dialog): ...here.  New method.

2008-08-14  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* system-config-printer.py (GUI.__init__):
	* system-config-printer.py (NewPrinterGUI.__init__): Since some
	dialogs are reused we can't let the delete-event's default handler
	destroy them.
	* system-config-printer.py (on_delete_just_hide): This method is
	connected to those dialog's delete-event (trac #88).

2008-08-14  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.update_job): When a job is held for
	authentication, say so in the status column.

2008-08-14  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.update_job): Show authentication dialog
	in the middle of the screen (trac #90).

2008-08-13  Tim Waugh  <twaugh@redhat.com>

	* authconn.py (Connection._authloop): Re-bind to the named method
	on reconnection.  Handle HTTP_FORBIDDEN (trac #89).
	(Connection._failed): New optional parameter forbidden.  Remember
	whether we saw HTTP_FORBIDDEN.
	(Connection._perform_authentication): Initialise self._forbidden.
	Use it to decide whether to try as root.  Don't call setUser()
	here; _connect() will do that.

2008-08-12  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.update_job): Pre-fill the username field
	when asking for authentication for the job (trac #87).

2008-08-02  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(NewPrinterGUI.openprinting_printers_found): Fix selection of
	printer model from query result.  We'd been using the index in the
	list before sorting instead of after sorting.

2008-08-01  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.browse_smb_hosts): If
	the user has specified a URI before clicking Browse, add that
	server at the top-level and expand it (trac #66).

2008-08-01  Tim Waugh  <twaugh@redhat.com>

	* smburi.py (SMBURI._construct): Construct minimal URI so that
	typing in a complete URI works without it becoming disrupted.
	(SMBURI.separate): If no hostname is present, use the empty string
	instead of 'localhost'.

2008-08-01  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.is_rename_possible): New method to
	determine whether a rename can go ahead and display an error
	dialog if not.
	(GUI.rename_printer): Use it.
	(GUI.on_rename_activate): Likewise (trac #78).

2008-08-01  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.rename_printer): Restore original
	accepting/rejecting state if copying the printer fails.

2008-08-01  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.rename_printer): Fixed typo.

2008-08-01  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.updatePrinterProperties): Include
	printer-state-message next to printer state, so that reasons such
	as 'unplugged or turned off' are shown when the printer is
	stopped (trac #85).

2008-07-31  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.nextNPTab): Don't load
	PPDs if we are creating an explicit queue for a remote CUPS
	queue (trac #72).

2008-07-31  Tim Waugh  <twaugh@redhat.com>

	* options.py (OptionAlwaysShown.get_widget_value): Prevent
	traceback when editing the text of a SpinButton widget (e.g. when
	the box is empty).

2008-07-31  Till Kamppeter  <till.kamppeter@gmail.com>

	* options.py (get_widget_value): Work around broken get_value()
	method in gtk.SpinButton class of pygtk. get_value() does not
	return an updated value when only typing in the input field, it
	only gives the updated value when clicking the spin arrows or
	switching to another widget. This leads to the "Apply" button
	staying gray when typing into the input field of the
	spinbox. Replaced get_value() by the get_text() method inherited
	from gtk.Entry class to solve the problem (trac #83).
	
	* ppds.py: Case-insensitive sorting of printer model list.

2008-07-29  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.nextNPTab): Preserve
	server and port settings while fetching IPP attributes of remote
	printer.

2008-07-29  Tim Waugh  <twaugh@redhat.com>

	* authconn.py (Connection.__init__): Note current settings for
	CUPS user, server and port.
	(Connection._connect): Reset user, server and port settings before
	connection (trac #79).

2008-07-29  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.printer_properties_response):
	Re-read the PPD after applying changes (trac #76).

2008-07-29  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.on_job_cancel_activate): Ask the monitor
	to update after cancelling a job.
	(JobViewer.on_job_hold_activate): Likewise for held jobs.
	(JobViewer.on_job_release_activate): Likewise for released jobs.
	(JobViewer.on_job_reprint_activate): Likewise for reprinted jobs.

2008-07-29  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.on_job_cancel_activate): Don't display
	an error dialog if a job to cancel has already been cancelled.
	(JobViewer.on_job_hold_activate): Likewise for held jobs.
	(JobViewer.on_job_release_activate): Likewise for released jobs.

2008-07-29  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.__init__): If pysmbc is
	not available, set Browse button tooltip to explain why browsing
	is disabled (trac #81).

2008-07-29  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(GUI.dests_iconview_button_release_event): Set the cursor to the
	pointed-to icon if not already selected.

2008-07-29  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.rename_printer.jobs_error):
	Display an error dialog if the operation cannot go ahead due to
	jobs being in the queue (trac #78).

2008-07-17  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(NewPrinterGUI.on_tvSMBBrowser_row_expanded): Guard against shares
	being found instead of servers.  In this case, only use printer
	shares.

2008-07-17  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(NewPrinterGUI.on_tvSMBBrowser_row_activated): Removed
	USE_OLD_CODE check.
	(NewPrinterGUI.on_tvSMBBrowser_cursor_changed): Likewise.
	(NewPrinterGUI.on_btnSMBBrowseOk_clicked): Likewise.

2008-07-17  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(NewPrinterGUI.on_btnSMBBrowseOk_clicked): Fixed typos.

2008-07-17  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(NewPrinterGUI.on_tvSMBBrowser_cursor_changed): Prevent
	traceback.

2008-07-17  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(NewPrinterGUI.on_tvSMBBrowser_row_activated): Use smbc_type to
	determine how to act rather than the tree depth.
	(NewPrinterGUI.on_tvSMBBrowser_cursor_changed): Likewise.
	(NewPrinterGUI.on_btnSMBBrowseOk_clicked): Likewise.
	(NewPrinterGUI.on_tvSMBBrowser_row_expanded): Examine smbc_type of
	opendir results.
	(NewPrinterGUI.on_btnSMBBrowseOk_clicked): Workgroup may not be
	available, so use the empty string in that case.

2008-07-17  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.browse_smb_hosts): Allow
	servers to be shown at the top level.
	(NewPrinterGUI.on_tvSMBBrowser_row_expanded): Use smbc_type to
	determine how to act, rather than the tree depth.
	Fixes trac #45.

2008-07-15  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.on_shared_activate): Can't use
	self.monitor.update() here because CUPS doesn't give us an IPP
	notification for this.  Defer a call to populateList() instead.

2008-07-15  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.on_enabled_activate): Tell the
	monitor to check for updates.
	(GUI.on_shared_activate): Likewise.
	(GUI.save_printer): Likewise.
	(GUI.rename_printer): Likewise.
	(GUI.on_copy_activate): Likewise.
	(GUI.on_delete_activate): Likewise.

2008-07-15  Tim Waugh  <twaugh@redhat.com>

	* monitor.py (Monitor.update): Renamed...
	(Monitor.update_jobs): ...to this.
	(Monitor.get_notifications): Track name change.
	(Monitor.refresh): Likewise.
	(Monitor.update): New method for queuing an update (i.e. a call to
	get_notifications).
	(Monitor.handle_dbus_signal): Use it.

2008-07-15  Tim Waugh  <twaugh@redhat.com>

	* po/POTFILES.in: Don't try to translate
	glade/printer_context_menu.glade since that has been removed.

2008-07-15  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* system-config-printer.py (GUI.__init__): Call ensure_update() on
	the UIManager to get rid of the warning about not being able to
	create an accelerator label.

2008-07-14  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* system-config-printer.py (GUI.on_enabled_activate): Call
	populateList() on an idle callback. This is a workaround for an
	endless loop that was occuring with the previous commit.
	* system-config-printer.py (GUI.on_edit_activate): Add a dummy
	parameter to comply with the signal handler signature.

2008-07-12  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* Makefile.am (nobase_pkgdata_DATA): Remove contextmenu.py and
	glade/printer_context_menu.glade.
	* glade/printer_context_menu.glade: Removed.
	* glade/PrintersWindow.glade: Remove the Printer menu
	definition. It's handled in system-config-printer.py now. Glade
	added some GtkImage id noise.
	* system-config-printer.py
	(GUI.dests_iconview_button_press_event): Popup the context menu on
	button-press-event instead of on button-release-event like other
	menus.
	* system-config-printer.py (GUI): The Printer menubar item and the
	iconview's menu is now the same and a proxy to a set of
	gtk.Actions grouped on a gtk.UIManager instance.

2008-07-14  Tim Waugh  <twaugh@redhat.com>

	* Makefile.am (nobase_pkgdata_DATA): Ship new module.
	* po/POTFILES.in: Translate it.

2008-07-11  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.server_settings_response): Display
	Advanced Server Settings dialog when Advanced is clicked in the
	Server Settings dialog.

2008-07-09  Tim Waugh  <twaugh@redhat.com>

	* glade/ServerSettingsDialog.glade: Added 'Advanced...' button to
	server settings dialog.

2008-07-11  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.__init__): Connect the response
	signal from the server settings dialog to a handler for it.
	(GUI.on_server_settings_activate): Don't call run() here, just
	display the dialog.  The response signal will call...
	(GUI.server_settings_response): ...this new handler.

2008-07-11  Tim Waugh  <twaugh@redhat.com>

	* errordialogs.py (show_HTTP_Error): Fixed traceback.

2008-07-10  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(NewPrinterGUI.on_tvSMBBrowser_row_expanded): Use URI exactly as
	specified in libsmbclient man page.

2008-07-09  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.nextNPTab): When adding
	an IPP printer, pre-fill the info and location fields from the
	remote queue (trac #37).

2008-07-09  Tim Waugh  <twaugh@redhat.com>

	* troubleshoot/CheckPPDSanity.py (CheckPPDSanity.display): Report
	PPD option defaults.

2008-07-09  Tim Waugh  <twaugh@redhat.com>

	* troubleshoot/Locale.py: New module.
	* troubleshoot/__init__.py (Troubleshooter._collect_answer): Run
	it (trac #38).

2008-07-09  Tim Waugh  <twaugh@redhat.com>

	* troubleshoot/CheckNetworkServerSanity.py
	(CheckNetworkServerSanity.display): Look for SMB shares (trac
	#47).

2008-07-09  Tim Waugh  <twaugh@redhat.com>

	* troubleshoot/base.py: Make _ a public name for this module.
	* troubleshoot/*.py: Don't explicitly import _.

2008-07-09  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(NewPrinterGUI.openprinting_printers_found): More descriptive
	'select model' text.  Part of trac #25.

2008-07-09  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(NewPrinterGUI.openprinting_printers_found): If an exact match is
	found, pre-select it.  Part of trac #25.

2008-07-15  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* GroupsPane.py (GroupsPane.on_button_press_event): Pop up the
	menu on button-press-event to be consistent with how most context
	menus work.

2008-07-09  Tim Waugh  <twaugh@redhat.com>

	* cupshelpers/openprinting.py: Moved top-level test code...
	(_simple_gui): ...here.

2008-07-09  Tim Waugh  <twaugh@redhat.com>

	* cupshelpers/ppds.py: Removed self_test from public interface.
	It can still be called during 'make check'.
	(PPDs.self_test): Renamed so that it starts with an underscore.
	* Makefile.am (test-ppd-module.sh): Track name change.

2008-07-09  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.init): Clear text entry
	fields before filling devices list, so that when
	self.on_tvNPDevices_cursor_changed() pre-fills the location field
	it doesn't get reset afterwards.

2008-07-09  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(NewPrinterGUI.on_tvNPDevices_cursor_changed): Fixed location
	pre-fill.

2008-07-09  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.dests_iconview_selection_changed):
	Factored out get_model() from this loop.

2008-07-08  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.glade: Added 'Close' button to printer
	properties dialog.
	* system-config-printer.py (GUI.__init__): Fetch 'Close' button
	widget.
	(GUI.dests_iconview_item_activated): Show Close button only when
	the printer is a discovered one, and Apply/Cancel/OK otherwise.
	Fixes trac #61.

2008-07-08  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.browse_smb_hosts):
	Increase smbc debugging level.
	(NewPrinterGUI.on_tvSMBBrowser_row_expanded): Likewise.
	(NewPrinterGUI.on_btnSMBVerify_clicked): Likewise.

2008-07-07  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.unset_special_statusicon): Set status
	icon visibility.  We might need to hide the icon at this point.

2008-07-07  Tim Waugh  <twaugh@redhat.com>

	* cupshelpers/ppds.py (PPDs.__init__): Removed unneeded debugging
	output.

2008-07-07  Tim Waugh  <twaugh@redhat.com>

	* setup.py: New module.  Configuration for distutils.
	* Makefile.am (EXTRA_DIST): Ship it.
	(.stamp-distutils-in-builddir): Convince distutils to work when
	srcdir is different to builddir.
	(all-local): Build cupshelpers module using distutils.
	(install-exec-local): Install it using distutils.
	(clean-local): Clean using distutils.
	(uninstall-local): Remove installed module.

2008-07-07  Tim Waugh  <twaugh@redhat.com>

	* cupshelpers/__init__.py (__all__): Define public names.
	* cupshelpers/openprinting.py (__all__): Likewise.
	* cupshelpers/ppds.py (__all__): Likewise.

2008-07-04  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(NewPrinterGUI.on_cmbNPDownloadableDriverFoundPrinters_changed):
	Only download PPD files, not drivers.

2008-07-04  Tim Waugh  <twaugh@redhat.com>

	* glade/PrintersWindow.glade: Moved Ctrl+N accelerator from
	'New', which has a sub-menu, to New->Printer (trac #55).

2008-06-20  Till Kamppeter  <till.kamppeter@gmail.com>

	* cupshelpers/ppds.py: Made PostScript printers reliably be used
	with the manufacturer's PPD file. The manufacturer's PPD appeared
	as a separate model (at least for HP) and so got never used.
	Made SpliX and Gutenprint PPDs also be recognized as such if the
	drivers are downloaded from OpenPrinting (as LSB driver packages).

2008-07-01  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(NewPrinterGUI.on_tvNPDevices_cursor_changed): Use uname call
	instead of parsing /bin/hostname output (trac #52).

2008-07-01  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.glade: Added 'Apply' button to printer
	properties dialog.
	* system-config-printer.py (GUI.__init__): Fetch Apply button
	widget.
	(GUI.setDataButtonState): Set Apply button sensitibity.
	(GUI.dests_iconview_item_activated): Set data button state.
	(GUI.printer_properties_response): Handle APPLY response.
	Fixes trac #54.

2008-07-01  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.__init__): Limit the initial size
	of the window (trac #53).

2008-07-01  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.__init__): No need to adjust width
	here.

2008-06-30  Tim Waugh  <twaugh@redhat.com>

	* cupshelpers/cupshelpers.py (Printer.__repr__): New method.
	(Device.__repr__): New method.

2008-06-26  Tim Waugh  <twaugh@redhat.com>

	* troubleshoot/Shrug.py: Hide the diagnostic output in an
	expander, and remove the copy-to-clipboard function.
	Fixes https://fedorahosted.org/system-config-printer/ticket/41.

2008-06-26  Tim Waugh  <twaugh@redhat.com>

	* cupshelpers/openprinting.py
	(OpenPrinting.listDrivers.parse_result): Use _normalize_space
	instead of normalize_space.

2008-06-26  Tim Waugh  <twaugh@redhat.com>

	* cupshelpers/__init__.py (set_debugprint_fn): New function to set
	debugging hook.

	* cupshelpers/cupshelpers.py: Don't import debug.
	Use _debugprint instead of debugprint throughout.

	* cupshelpers/ppds.py: Import _debugprint from the main
	cupshelpers module.  Use _debugprint throughout.

	Fixes https://fedorahosted.org/system-config-printer/ticket/50.

2008-06-26  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(NewPrinterGUI.getNetworkPrinterMakeModel): Use subprocess module
	instead of os.popen.
	(NewPrinterGUI.on_tvNPDevices_cursor_changed): Likewise.
	(NewPrinterGUI.getNPPPD): Likewise.
	Fixes https://fedorahosted.org/system-config-printer/ticket/44.

2008-06-25  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.get_hpfax_device_id):
	Use subprocess module instead of os.popen.
	(NewPrinterGUI.get_hplip_uri_for_network_printer): Likewise.

2008-06-25  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.get_hpfax_device_id):
	Prevent hp-info from accessing X display.

2008-06-25  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.get_hpfax_device_id):
	Run hp-info in the C locale.

2008-06-25  Tim Waugh  <twaugh@redhat.com>

	* troubleshoot/CheckPrinterSanity.py (CheckPrinterSanity.display):
	Prevent hp-info from accessing X display, so that it does not
	start the HPLIP systray applet (bug #452371 comment #4).

2008-06-24  Tim Waugh  <twaugh@redhat.com>

	* Makefile.am (nobase_pkgdata_SCRIPTS): No need to install
	exported modules in pkgdatadir now.
	(EXTRA_DIST): Ship exported modules.

2008-06-24  Tim Waugh  <twaugh@redhat.com>

	* openprinting.py: Moved...
	* cupshelpers/openprinting.py: ...here.
	* cupshelpers/__init__.py: Import it.
	* Makefile.am (EXPORT_MODULES): Export openprinting.
	* system-config-printer.py (NewPrinterGUI.__init__): Updated.
	Fixes https://fedorahosted.org/system-config-printer/ticket/34.

2008-06-24  Tim Waugh  <twaugh@redhat.com>

	* openprinting.py (normalize_space): This function has private
	scope.
	(QueryThread): This class has private scope.
	Better docstrings throughout.

2008-06-24  Tim Waugh  <twaugh@redhat.com>

	* cupshelpers/cupshelpers.py (main): This function has private
	scope.
	(iteratePPDOptions): Likewise.
	(getPPDGroupOptions): Likewise.
	(PrintersConf): This class has private scope.
	Better docstrings throughout.

2008-06-24  Tim Waugh  <twaugh@redhat.com>

	* cupshelpers/cupshelpers.py (Printer.printer_states): Moved...
	* system-config-printer.py (GUI.printer_states): ...here.
	(GUI.updatePrinterProperties): Updated.
	* cupshelpers/cupshelpers.py (Printer): Removed instance variable
	state_description.
	* cupshelpers/cupshelpers.py: Don't import rhpl.translate.
	* po/POTFILES.in: Don't translate cupshelpers.py.

2008-06-24  Tim Waugh  <twaugh@redhat.com>

	* ppds.py: Moved...
	* cupshelpers/ppds.py: ...here.  Use implicit relative path to
	import parseDeviceID.
	(PPDs._main): Renamed self_test.
	* Makefile.am (test-ppd-module.sh): Adjusted.
	* cupshelpers/__init__.py: Import ppds module.

	* system-config-printer.py (NewPrinterGUI.init): The ppds module
	is now part of cupshelpers.
	(NewPrinterGUI.getPPDs_thread): Likewise.
	(NewPrinterGUI.nextNPTab): Likewise.
	(NewPrinterGUI.getNetworkPrinterMakeModel): Likewise.
	* applet.py (NewPrinterNotification.NewPrinter): Likewise.
	* Makefile.am (nobase_pkgdata_SCRIPTS): Track file move.

2008-06-24  Tim Waugh  <twaugh@redhat.com>

	* cupshelpers.py: Moved...
	* cupshelpers/cupshelpers.py: ...here.
	* cupshelpers/__init__.py: New module.
	* Makefile.am (EXPORT_MODULES): Export cupshelpers.
	* POTFILES.in: Track file move.

2008-06-24  Tim Waugh  <twaugh@redhat.com>

	* configure.in: Add AM_PATH_PYTHON.
	* Makefile.am (pythondir_SCRIPTS): Install exported modules.

2008-06-24  Tim Waugh  <twaugh@redhat.com>

	* Makefile.am (EXPORT_MODULES): New variable.
	(html): New rule.  Build API documentation for exported modules
	using epydoc.
	(distclean-local): Clean documentation.

2008-06-24  Tim Waugh  <twaugh@redhat.com>

	* ppds.py: Better docstrings throughout.

2008-06-24  Tim Waugh  <twaugh@redhat.com>

	* ppds.py (getDriverType): Made this function private as it is not
	part of the API for this module.
	(show_help): Likewise.
	(main): Likewise.

2008-06-23  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py: New global PYSMB_AVAILABLE.
	(NewPrinterGUI.__init__): Make SMB browse button insensitive if
	pysmb is not available.  Removed legacy pysmb code.
	(NewPrinterGUI.browse_smb_hosts): Removed legacy pysmb code.
	(NewPrinterGUI.on_tvSMBBrowser_row_expanded): Likewise.
	(NewPrinterGUI.on_btnSMBBrowseOk_clicked): Likewise.
	(NewPrinterGUI.on_btnSMBVerify_clicked): Likewise.

	* pysmb.py (get_wins_server): Removed.
	(get_domain_list): Removed.
	(get_host_list): Removed.
	(get_host_list_from_domain): Removed.
	(get_host_info): Removed.
	(get_printer_list): Removed.
	(printer_share_accessible): Removed.

	Fixes https://fedorahosted.org/system-config-printer/ticket/35.

2008-06-24  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(NewPrinterGUI.on_tvSMBBrowser_row_expanded): Remove expander
	arrow when there are no sub-entries.

2008-06-23  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.populateList): Better icon
	fallbacks.  Fixes traceback seen in bug #452371 comment #2.

2008-06-20  Tim Waugh  <twaugh@redhat.com>

	* Makefile.am (DISTCLEANFILES): Clean up PPDs cache file.
	* Makefile.am (test-ppd-module.sh): Use top_srcdir.
	Now 'make distcheck' passes again.

2008-06-20  Tim Waugh  <twaugh@redhat.com>

	* ui: Renamed to glade to avoid intltool bug #452255.
	* Makefile.am: Updated.
	* po/POTFILES.in: Updated.
	* glade.py (GtkGUI.getWidgets): Updated.
	
2008-06-20  Tim Waugh  <twaugh@redhat.com>

	* ppds.py (ppdMakeModelSplit): Don't strip " Printer" from the end
	of the ppd-make-and-model string.  Generic printers should be
	named like "Generic XYZ Printer".
	Fixes https://fedorahosted.org/system-config-printer/ticket/33.

2008-06-20  Tim Waugh  <twaugh@redhat.com>

	* ppds.py (main): Check the results of the test suite against
	maximum permissable status code and regular expression for
	expected ppd-make-and-model string.
	* Makefile.am (test-ppd-module.sh): Create shell script to run
	PPDs test suite.
	* Makefile.am (TESTS): Run it.
	* Makefile.am (DISTCLEANFILES): Clean it up.

2008-06-20  Tim Waugh  <twaugh@redhat.com>

	* pysmb.py (AuthContext.initial_authentication): Pre-fill SMB
	workgroup from smbc.Context.workgroup.
	Fixes https://fedorahosted.org/system-config-printer/ticket/30.

2008-06-20  Till Kamppeter  <till.kamppeter@gmail.com>

	* ppds.py: Case-insensitive sorting of printer model list.

2008-06-19  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(NewPrinterGUI.browse_ipp_queues_thread): More informative dialog
	when queue list cannot be fetched.
	Part of https://fedorahosted.org/system-config-printer/ticket/26.

2008-06-19  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(NewPrinterGUI.browse_ipp_queues_thread): Hide browse window if
	there was a problem browsing.
	Part of https://fedorahosted.org/system-config-printer/ticket/26.

2008-06-19  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.browse_smb_hosts): If no
	hosts are found, advise user to check firewall.
	Part of https://fedorahosted.org/system-config-printer/ticket/26.

2008-06-19  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (TEXT_start_firewall_tool): Moved this
	translatable string to a global variable.
	(GUI.save_serversettings): Use the global variable.

2008-06-19  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (PrinterURIIndex): New class, for mapping printer
	URIs to printer names.
	(JobViewer.printer_event): New method.  Update printer URI index.
	(JobViewer.printer_removed): New method.  Update printer URI
	index.
	(JobViewer.current_printers_and_jobs): Instantiate printer URI
	index, and use it to look up printer names by job-printer-uri.
	(JobViewer.job_added): Look up printer names by job-printer-uri.
	(JobViewer.job_event): Likewise.
	Fixes https://fedorahosted.org/system-config-printer/ticket/29.

2008-06-19  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.glade: Give names to the separators in
	the printer context menu.
	* contextmenu.py (PrinterContextMenu.__init__): Fetch named
	separator widgets from glade file.
	(PrinterContextMenu.__init__.popup): Show separators only when
	there is something to separate.
	Fixes https://fedorahosted.org/system-config-printer/ticket/31.

2008-06-17  Tim Waugh  <twaugh@redhat.com>

	* options.py (OptionAlwaysShown.reinit): Support use_supported for
	combobox_map-using options such as finishings.
	* system-config-printer.py (GUI.__init__): Set use_supported true
	for the finishings options.
	Fixes https://fedorahosted.org/system-config-printer/ticket/32.

2008-06-17  Tim Waugh  <twaugh@redhat.com>

	* cupshelpers.py (Printer.getAttributes): Work around a pycups
	bug fixed in 1.9.40: finishings-supported should be a list.

2008-06-16  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* system-config-printer.py (GUI.populateList): Remove unused
	select_path local variable.

2008-06-16  Tim Waugh  <twaugh@redhat.com>

	* pysmb.py (AuthContext.perform_authentication): Use
	STOCK_DIALOG_AUTHENTICATION instead of literal string.

	* optionwidgets.py (Option.__init__): Use STOCK_DIALOG_WARNING and
	ICON_SIZE_SMALL_TOOLBAR instead of literal strings and ints.

	* authconn.py (AuthDialog.__init__): Use
	STOCK_DIALOG_AUTHENTICATION instead of literal string.

	* errordialogs.py (show_info_dialog): Use STOCK_DIALOG_INFO
	instead of literal string.
	(show_error_dialog): Use STOCK_DIALOG_ERROR instead of literal
	string.
	* jobviewer.py (JobViewer.job_event): Likewise.

	* userdefault.py (UserDefaultPrompt.__init__): Use
	STOCK_DIALOG_QUESTION instead of a literal string.

2008-06-16  Tim Waugh  <twaugh@redhat.com>

	* userdefault.py (UserDefaultPrompt): New class, implementing a
	user/system default printer dialog.
	* system-config-printer.py
	(GUI.set_system_or_user_default_printer): New method.  Display
	dialog.
	(PrinterContextMenu.on_printer_context_set_as_default_activate):
	Use new method.
	(GUI.on_set_as_default_activate): Likewise.

2008-06-16  Tim Waugh  <twaugh@redhat.com>

	* contextmenu.py (PrinterContextMenu.popup): Show the Set As
	Default menu item for the system default printer except when no
	user default is set.

2008-06-16  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.populateList): Display emblem for
	user default printer.

2008-06-16  Tim Waugh  <twaugh@redhat.com>

	* userdefault.py: New module.
	* Makefile.am (nobase_pkgdata_DATA): Ship it.

2008-06-13  Tim Waugh  <twaugh@redhat.com>

	* cupshelpers.py (Printer.update): Work-around pycups bug.  The
	printer-uri-supported attribute should always be a list.

2008-06-13  Tim Waugh  <twaugh@redhat.com>

	* Makefile.am (nobase_pkgdata_DATA): Replaced applet.glade with
	ui/job_popupmenu.glade, ui/JobsWindow.glade,
	ui/PrinterStatusWindow.glade, and ui/statusicon_popupmenu.glade.
	Added missing ui/PrintersWindow.glade.
	* po/POTFILES.in: Likewise.
	Fixes https://fedorahosted.org/system-config-printer/ticket/27.

2008-07-07  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* ui/PrintersWindow.glade: Added a Group menu item to the
	menubar. The attached menu is built programatically.
	* contextmenu.py (PrinterContextMenu.popup): Protect potential
	NoneType object access.
	* GroupsPaneModel.py (StaticGroupItem): Implemented reading and
	saving queues.
	* system-config-printer.py (GUI.populateList): Use an unreadable
	emblem on printer icons for queues which are no longer available.
	* system-config-printer.py (GUI): Protect several potential
	NoneType object accesses. Certainly there are a lot more.
	* system-config-printer.py (GUI.dests_iconview_drag_data_get): New
	method for D&D.
	* system-config-printer.py (GUI.dests_iconview_selection_changed):
	Reorganized the code a bit to update the GroupsPane.
	* system-config-printer.py (GUI.__init__): Add the GroupsPane
	UIManager's accelerator group to the main window.
	Build a menu for the Group menubar item.
	* GroupsPane.py (GroupsPane): Added various methods for D&D.
	Reorganized the popup menu around gtk.Actions and gtk.UIManager.
	Implemented an action to create a group from the main window's
	current iconview queue selection.

2008-07-02  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* system-config-printer.py (GUI.__init__): Small code shuffle.
	* XmlHelper.py (XmlHelper): New file implementing a class to
	handle the low level xml processing. Instantiates a global
	singleton handler so that all modules have access to it.
	* GroupsPaneModel.py (GroupsPaneModel): Added some utility
	methods.
	* GroupsPaneModel.py: Abstracted some common functionality in
	common base classes for the several groups pane item types.
	* GroupsPane.py: Implemented group adding, renaming and
	deletion. Also a popup menu to access that functionality.

2008-06-24  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* GroupsPane.py (GroupsPane.__init__): Receive the first groups
	item as a contructor parameter.
	* system-config-printer.py (GUI.populateList): Rework filtering
	and current groups item selection to do all their work here. This
	way everything is kept in sync. Thanks to Tim Waugh for helping
	with this.

2008-06-24  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* GroupsPane.py: Make GroupsPane a proper widget. It's now a
	ScrolledWindow containing a TreeView and taking care of all the
	TreeView's functionality.
	* GroupsPaneModel.py: New file containing a ListStore subclass to
	implement the GroupsPane item list and several classes
	implementing such item types.
	* ToolbarSearchEntry.py (ToolbarSearchEntry.get_text): Added this
	method for convenience.
	* system-config-printer.py (GUI.__init__): Use the GroupsPane
	widget.
	* system-config-printer.py (GUI.filter_iconview): New method to
	allow filtering not just from the search signal handler. We now
	filter from the current iconview model instead of from canonical
	printers list.
	* system-config-printer.py (GUI.on_groups_pane_item_activated):
	New signal handler to change the iconview's model when a different
	group pane item is selected. Just a sketch for now.
	* system-config-printer.py (GUI.populateList): Don't update the
	iconview's model from here for now.
	* ui/PrintersWindow.glade: Don't build a TreeView from glade. It's
	done on code now.

2008-06-18  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* system-config-printer.py (GUI.on_search_entry_search): Use a
	regular expression to ignore case while searching.

2008-06-18  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* system-config-printer.py (GUI.__init__): Moved the search and
	printer groups setup code earlier since we will need to access the
	search entry in ...
	* system-config-printer.py (GUI.populateList): ... here. This
	allows the refresh button to work properly.

2008-06-18  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* ToolbarSearchEntry.py (ToolbarSearchEntry.on_activate): It makes
	more sense to emit the search signal here too.

2008-06-18  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* GroupsPane.py (GroupsPane): Add a separator.
	* GroupsPane.py (GroupsPane): Change selection changes order.
	* system-config-printer.py
	(GUI.on_groups_treeview_selection_changed): Catch the treeview's
	selection 'changed' signal.

2008-06-17  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* system-config-printer.py (GUI.on_search_entry_search): Do the
	filtering on the search signal handler.
	* system-config-printer.py (GUI.populateList): Moved the part of
	this function that updates the icon view...
	* system-config-printer.py (GUI.reset_icon_view_model): ... into
	here to be reusable.

2008-06-17  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* ToolbarSearchEntry.py (ToolbarSearchEntry.__init__): Change the
	label to "Filter" since it better describes what we do here.
	* GroupsPane.py (GroupsPane): Add a "Current search" item when
	filtering is active.

2008-06-17  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* ToolbarSearchEntry.py (ToolbarSearchEntry): Remove the clearing
	variable since there aren't multiple threads accessing the UI.

2008-06-17  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* ToolbarSearchEntry.py (ToolbarSearchEntry): Reimplemented based
	on Rhythmbox's C version.

2008-06-16  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* system-config-printer.py (GUI.populateList): Remove unused
	select_path local variable.

2008-06-16  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* GroupsPane.py: Initial implementation.
	* ui/PrintersWindow.glade: Removed the height request from the
	GtkWindow. Removed horizontal scrolling from the printer groups
	treeview's GtkScrolledWindow.
	* system-config-printer.py (GUI.__init__): Use GroupsPane. Moved
	GUI.setup_toolbar_for_search_entry before the icon_view resizing
	block.

2008-06-15  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* ui/PrintersWindow.glade: Make the window have a minimum size so
	that the user can't resize to the point of making the search entry
	disappear. There might be a better way to do this.

2008-06-15  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* ui/PrintersWindow.glade: Added a HPaned widget with a TreeView
	to hold printer groups.

2008-06-15  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* system-config-printer.py (GUI.setup_toolbar_for_search_entry):
	Put the search entry widget into place.

2008-06-15  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* ToolbarSearchEntry.py: Initial widget implementation.

2008-06-15  Rui Tiago Cação Matos  <tiagomatos@gmail.com>

	* HIG.py: New module to hold definitions usefull when applying
	GNOME HIG rules programatically.

2008-06-11  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(NewPrinterGUI.openprinting_printers_found): Set the combobox
	sensitive.
	(NewPrinterGUI.on_btnNPDownloadableDriverSearch_clicked): Set the
	combobox insensitive.
	(NewPrinterGUI.on_rbtnNPFoomatic_toggled): Set the combobox
	insensitive if the search is cancelled.
	Part of https://fedorahosted.org/system-config-printer/ticket/25.

2008-06-10  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.__init__): Use glade.GtkGUI.

	* applet.glade: Split into...
	* ui/JobsWindow.glade, ui/PrinterStatusWindow.glade,
	ui/job_popupmenu.glade, ui/statusicon_popupmenu.glade: ...new
	files.
	
2008-06-10  Tim Waugh  <twaugh@redhat.com>

	* ui/MainWindow.glade:  Renamed to...
	* ui/PrintersWindow.glade: ...this, to avoid collisions with
	the applet's glade XML.

2008-06-10  Tim Waugh  <twaugh@redhat.com>

	* Makefile.am (help): Added help for run-applet.

2008-06-10  Tim Waugh  <twaugh@redhat.com>

	* contextmenu.py (PrinterContextMenu.__init__): Use glade.GtkGUI.

	* glade.py (GtkGUI.getWidgets): Adapted.

	* Makefile.am (run): Point to ui directory.
	(run-applet): Likewise.

	* system-config-printer.py (GtkGUI.getWidgets): Adapted.

	* ui/AboutDialog.glade, ui/ConnectDialog.glade,
	ui/ConnectingDialog.glade, ui/InstallDialog.glade,
	ui/IPPBrowseDialog.glade, ui/NewPrinterName.glade,
	ui/NewPrinterWindow.glade, ui/printer_context_menu.glade,
	ui/PrinterPropertiesDialog.glade, ui/ServerSettingsDialog.glade,
	ui/SMBBrowseDialog.glade, ui/WaitWindow.glade: New files.
	* system-config-printer.glade: Removed.

	* Makefile.am (nobase_pkgdata_DATA): Ship separate glade files
	instead of all-in-one glade file for main application.
	* POTFILES.in: Translate them.

2008-06-10  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GtkGUI): Moved...
	* glade.py (GtkGUI): ...here.

2008-06-10  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GtkGUI.moveClassMembers): Moved...
	(moveClassMembers): ...here.
	(GtkGUI.getCurrentClassMembers): Moved...
	(getCurrentClassMembers): ...here.
	(GUI.save_printer): Use function, not method.
	(GUI.on_btnClassAddMember_clicked): Likewise.
	(GUI.on_btnClassDelMember_clicked): Likewise.
	(NewPrinterGUI.on_btnNCAddMember_clicked): Likewise.
	(NewPrinterGUI.on_btnNCDelMember_clicked): Likewise.
	(NewPrinterGUI.setNPButtons): Likewise.
	(NewPrinterGUI.on_btnNPApply_clicked): Likewise.

2008-06-10  Tim Waugh  <twaugh@redhat.com>

	* applet.glade (PasswordDialog): Removed.

	* system-config-printer.glade (ApplyDialog): Removed.
	(PrinterContextMenu): Removed.

2008-06-10  Tim Waugh  <twaugh@redhat.com>

	* configure.in: Version 1.0.2.

2008-06-10  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.getPPDs_thread):
	Propagate all exceptions.
	(NewPrinterGUI.fetchPPDs): Likewise.
	(NewPrinterGUI.init): Handle exceptions here to some degree.
	(GUI.cups_connection_error): New method.  Watch for connection
	errors.
	(GUI.dests_iconview_item_activated): Watch for connection errors.

2008-06-10  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.on_btnRefresh_clicked): Update
	status bar with connection status if we tried to connect.

2008-06-10  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(NewPrinterGUI.on_btnSMBVerify_clicked): Fixed typo causing
	traceback.  Was introduced by 'transient for parent' change
	yesterday.

2008-06-09  Tim Waugh  <twaugh@redhat.com>

	* configure.in: Version 1.0.1.

2008-06-09  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.on_btnPrintTestPage_clicked): Use
	show_info_dialog.
	(GUI.maintenance_command): Likewise.
	(NewPrinterGUI.on_btnSMBVerify_clicked): Likewise.
	(NewPrinterGUI.on_btnIPPVerify_clicked): Likewise.
	* system-config-printer.glade (InfoDialog): Removed.

2008-06-09  Tim Waugh  <twaugh@redhat.com>

	(NewPrinterGUI.on_btnSMBVerify_clicked): Set verification failure
	dialog transient for parent.

2008-06-09  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.on_btnSMBVerify_clicked):
	Better error dialog for SMB verification failure.

2008-06-09  Tim Waugh  <twaugh@redhat.com>

	* pysmb.py (AuthContext.__init__): New variable, cancel.  Clear
	it.
	(AuthContext.perform_authentication): Set it when Cancel button
	pressed.
	(AuthContext.failed): Raise exception if operation is canceled;
	also if operation failed due to some error unrelated to
	authentication.

2008-06-09  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.__init__): Removed smb_lock.
	(NewPrinterGUI.browse_smb_hosts_thread): Removed.
	(NewPrinterGUI.browse_smb_hosts): Do top-level browsing here.

2008-06-08  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.on_connect_activate): Save
	encryption state.
	(GUI.connect): Restore encryption state.
	Fixes https://fedorahosted.org/system-config-printer/ticket/21.

2008-06-06  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.populateList): Save/restore
	selection of printers.
	(GUI.printer_added_or_removed): No longer need to do this here.

2008-06-06  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.__init__): Initialise
	server_is_publishing variable.
	(GUI.fillPrinterTab): Update it from server-is-sharing-printers
	attribute if available (CUPS 1.4).
	(GUI.fillServerTab): Update it from CUPS_SERVER_SHARE_PRINTERS
	setting.
	(GUI.advise_publish): New method.
	(GUI.on_shared_activate): Use it.

2008-06-06  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.glade: New Shared checkbox menu item, both
	for the menu bar and the context menu.

	* system-config-printer.py (GUI.on_shared_activate): New method.
	(GUI.dests_iconview_selection_changed): Update Shared checkbox
	state.

	* contextmenu.py
	(PrinterContextMenu.on_printer_context_shared_activate): New
	method.
	(PrinterContextMenu.popup): Update Shared checkbox state.

	Fixes https://fedorahosted.org/system-config-printer/ticket/1.

2008-06-06  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.glade: Changed Enable/Disable menu items
	to a single Enabled checkbox menu item, both for the menu bar and
	the context menu.

	* system-config-printer.py (GUI.on_enable_activate): Renamed...
	(GUI.on_enabled_activate): ...to this.  Use checkbox.
	(GUI.on_disable_activate): Removed.
	(GUI.dests_iconview_selection_changed): Update Enabled checkbox
	state.

	* contextmenu.py
	(PrinterContextMenu.on_printer_context_enable_activate):
	Renamed...
	(PrinterContextMenu.on_printer_context_enabled_activate): ...to
	this.  Use checkbox.
	(PrinterContextMenu.on_printer_context_disable_activate):
	Removed.
	(PrinterContextMenu.popup): Update Enabled checkbox state.

2008-06-06  Tim Waugh  <twaugh@redhat.com>

	* cupshelpers.py (Printer.update): Work around pycups bug with
	printer-uri-supported.

2008-06-06  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.glade: Better menu layout.  Fixes
	https://fedorahosted.org/system-config-printer/ticket/2.
	* system-config-printer.py (GUI.__init__): Set View->Discovered
	Printers menu item insensitive for now (not implemented).

2008-06-06  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.populateList): Better
	classification of available printers.  Fixes
	https://fedorahosted.org/system-config-printer/ticket/7.

2008-06-06  Tim Waugh  <twaugh@redhat.com>

	* applet.glade: Remove treeview signal connection for
	button_press_event.
	* jobviewer.py (JobViewer.__init__): Connect treeview's
	button_release_event and popup-menu signals.
	(JobViewer.show_treeview_popup_menu): New method, to adjust the
	visible menu items of the job context menu and show it.
	(JobViewer.on_treeview_button_press_event): Renamed...
	(JobViewer.on_treeview_button_release_event): ...to this.  Use
	show_treeview_popup_menu.
	(JobViewer.on_treeview_popup_menu): New method.  Fixes
	https://fedorahosted.org/system-config-printer/ticket/5.

2008-06-05  Tim Waugh  <twaugh@redhat.com>

	* Makefile.am: Ship translation template file.

2008-06-05  Tim Waugh  <twaugh@redhat.com>

	(NewPrinterGUI.browse_ipp_queues_thread): Fixed typo (bug
	#450120).

2008-06-05  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(NewPrinterGUI.browse_ipp_queues_thread): Better exception
	handling.
	(NewPrinterGUI.browse_smb_hosts_thread): Likewise.
	(NewPrinterGUI.openprinting_printers_found): Likewise.

2008-06-05  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(NewPrinterGUI.browse_ipp_queues_thread): IPP errors are fine
	here.

2008-06-05  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.save_serversettings): Show a
	dialog advising the user to review the firewall if sharing has
	been enabled.

2008-06-05  Tim Waugh  <twaugh@redhat.com>

	* errordialogs.py (show_dialog): New function.
	(show_error_dialog): Use it.
	(show_info_dialog): New function.

2008-06-04  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.connect): Always show traceback
	for unhandled exceptions if debugging.
	(NewPrinterGUI.getDevices_thread): Likewise.

2008-06-04  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.__init__): Don't fetch
	InstallDialog widget here...
	(NewPrinterGUI.__init__): ...fetch it here instead (bug #449860).
	(NewPrinterGUI.checkDriverExists): Fixed traceback.

2008-06-03  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.glade: Adjust left hpane width in the
	printer properties dialog to be slightly wider.

2008-06-03  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.on_btnPrintTestPage_clicked):
	Don't automatically try authenticating as root if asked for a
	password when printing a test page, as the authentication is
	likely to be needed for the remote print server.

	* authconn.py (Connection.__init__): New optional parameter
	try_as_root.
	(Connection._perform_authentication): Only try as root if allowed
	to.

2008-06-03  Tim Waugh  <twaugh@redhat.com>

	* Makefile.am (run-applet): New target.

2008-06-03  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.__init__): Initialise set of stopped job
	IDs for which we are showing a dialog.
	(JobViewer.job_event): Don't show stopped-job dialog if we are
	already showing one for this job.
	(JobViewer.job_event): Add job ID to set before showing dialog.
	(JobViewer.print_error_dialog_response): Remove job ID from set.

2008-06-02  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.job_event): Ignore stopped jobs when
	they have been stopped due to the printer being paused.

2008-06-02  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.init): Handle exceptions
	when fetching PPDs.

2008-05-31  Tim Waugh  <twaugh@redhat.com>

	* applet.py (WaitForJobs): Harden against races.

2008-05-30  Tim Waugh  <twaugh@redhat.com>

	* troubleshoot/CheckUSBPermissions.py: New module.
	* troubleshoot/__init__.py (QUESTIONS): Run it.
	* Makefile.am (nobase_pkgdata_DATA): Ship it.

2008-05-30  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.populateList): No longer needs
	change_ppd argument.
	(GUI.__init__): Don't give change_ppd argument to populateList.
	(GUI.printer_properties_response): New method.
	(GUI.__init__): Connect the response signal to it.
	(GUI.dests_iconview_item_activated): Just show the dialog, don't
	call its run method.
	(GUI.__init__): Click the Change PPD... button if the change_ppd
	argument was given.

2008-05-29  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.__init__): Renamed start_printer
	argument to configure_printer.  Activate the relevant item.
	(GUI.populateList): No longer needs start_printer argument.
	(GUI.connect): Likewise.
	(GUI.on_connect_activate): Don't give start_printer argument to
	new thread.
	(GUI.on_copy_activate): Omit start_printer argument.
	(NewPrinterGUI.on_btnNPApply_clicked): Likewise.
	(main): Renamed start_printer argument to configure_printer.

	* system-config-printer.py (GUI.__init__): Connect IconView's
	popup-menu signal to...
	(GUI.dests_iconview_popup_menu): ...this new signal handler.
	* contextmenu.py (PrinterContextMenu.popup): Allow event to be
	None, for the case of the gtk.Widget popup-menu signal.

	* troubleshoot/PrintTestPage.py (PrintTestPage.update_jobs_list):
	Mark jobs as test jobs by default so that people who don't realise
	they need to click the check-box still get sufficient information
	in the troubleshoot.txt file.

	* jobviewer.py (JobViewer.update_job): If the job's
	auth-info-required attribute indicates Kerberos negotiation, try
	to authenticate the job without providing an auth-info attribute.

2008-05-28  Tim Waugh  <twaugh@redhat.com>

	* troubleshoot/CheckPrinterSanity.py (CheckPrinterSanity.display):
	Make the cups_printer_remote answer a Boolean.

	* troubleshoot/DeviceListed.py (DeviceListed.collect_answer):
	Return all answers, including any set during the display method.
	(DeviceListed.display): Set cups_device_dict answer if the queue
	already exists, to make it easier to determine IEEE 1284 strings
	of devices that already have queues set up.
	* troubleshoot/DeviceListed.py (DeviceListed.display): Don't fetch
	devices if the selected queue is remote.

	* troubleshoot/ErrorLogCheckpoint.py
	(ErrorLogCheckpoint.enable_clicked): Set MaxLogSize to 0 to avoid
	cupsd rotating the log while the test page is printed.
	* troubleshoot/ErrorLogFetch.py (ErrorLogFetch.button_clicked):
	Reset MaxLogSize.

	* troubleshoot/CheckNetworkServerSanity.py
	(CheckNetworkServerSanity.display): Split output lines from
	traceroute.

2008-05-27  Tim Waugh  <twaugh@redhat.com>

	* configure.in: Version 1.0.0.

2008-05-27  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.__init__): Allow directory
	containing glade files to be overridden.
	* jobviewer.py (JobViewer.__init__): Likewise.
	Get pkgdatadir from config module.
	(JobViewer.__init__): Set window title appropriately.

	* Makefile.am (run): Give path to directory containing glade
	files, not to specific glade file.

	* system-config-printer.glade: Added 'Create Class' menu item to
	printer context menu.
	* contextmenu.py
	(PrinterContextMenu.on_printer_context_create_class): New method.

	* system-config-printer.py (GUI.__init__): Set toolbar buttons at
	runtime instead of using glade, in order to have a MenuToolButton
	for New Printer/New Class.
	* system-config-printer.glade: Removed toolbar buttons.

	* errordialogs.py (show_IPP_Error): Fixed typo.

	* system-config-printer.py (NewPrinterGUI.setNPButtons): Don't
	allow Forward button to be pressed on the downloadable driver
	screen if no driver is selected.

	* openprinting.py (OpenPrinting.searchPrinters): This is a search
	term, not a manufacturer's name.

	* system-config-printer.py (NewPrinterGUI.__init__): Don't disable
	OpenPrinting widgets, as only the PPD downloading part currently
	work.
	(NewPrinterGUI.getNPPPD): Use mkstemp here.
	(NewPrinterGUI.init): Set 'Select printer from database' radio
	button active.

	* system-config-printer.py (NewPrinterGUI.fillMakeList): Pre-fill
	the OpenPrinting.org search box.

2008-05-25  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.__init__): Set default window icon
	name (Ubuntu #234750).
	* applet.py: Likewise.

2008-05-23  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(NewPrinterGUI.browse_smb_hosts_thread): Remove the 'Scanning...'
	label when browsing is unsuccessful.

	* configure.in: Version 0.9.93.

2008-05-23  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.__init__): Added User column to job
	view.
	(JobViewer.update_job_creation_times): Updated Time column ID.
	(JobViewer.add_job): Fill User column.  Updated Name column ID.
	(JobViewer.update_job): Updated other column IDs.

	* system-config-printer.py
	(GUI.populateList): New keyword parameter prompt_allowed.
	(GUI.printer_added_or_removed.maybe_select): Don't allow auth
	prompting when re-populating the printer list.

	* contextmenu.py
	(PrinterContextMenu.on_printer_context_set_as_default_activate):
	Use GUI.set_default_printer so that we handle errors correctly,
	and in case the server needed to reload.
	(PrinterContextMenu.on_printer_context_enable_activate): Handle
	IPP errors.

	* applet.glade (ErrorDialog): Removed.
	* jobviewer.py (JobViewer.show_IPP_Error): Use errordialogs
	module.

	* system-config-printer.glade (ErrorDialog): Removed.
	* system-config-printer.py: Use show_error_dialog() instead of the
	glade ErrorDialog widget.

	* system-config-printer.py (GUI.show_HTTP_Error): Moved...
	* errordialogs.py (show_HTTP_Error): ...here.

	* system-config-printer.py (GUI.show_IPP_Error): Moved...
	* errordialogs.py (show_IPP_Error): ...here.

	* troubleshoot/__init__.py (Troubleshooter.get_window): New
	method.
	* troubleshoot/PrintTestPage.py (PrintTestPage.print_clicked): Use
	it.

	* troubleshoot/PrintTestPage.py: Import errordialogs.

	* troubleshoot/base.py (show_error_dialog): Moved...
	* errordialogs.py (show_error_dialog): ...here.  New module.
	* Makefile.am (nobase_pkgdata_DATA): Ship it.
	* po/POTFILES.in: Translate it.

2008-05-22  Tim Waugh  <twaugh@redhat.com>

	* authconn.py (Connection._authloop): Move some initial variable
	settings...
	(Connection._perform_authentication): ...here, for the first
	pass.
	(Connection._perform_authentication): If no prompting is allowed,
	set _cancel and return non-zero so that we break out of the
	authentication loop.
	(Connection._perform_authentication): Likewise if we are about to
	prompt the user but never got a password callback from libcups.

2008-05-21  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(NewPrinterGUI.on_btnSMBVerify_clicked): Set cursor busy during
	verify.

	* system-config-printer.py
	(NewPrinterGUI.on_tvSMBBrowser_row_expanded): Don't remove row
	expansion arrow unless authentication was successful.
	(NewPrinterGUI.browse_smb_hosts_thread): Likewise.
	(NewPrinterGUI.on_tvSMBBrowser_row_expanded): Likewise.

	* system-config-printer.py: Set gettext function for monitor
	module.

	* system-config-printer.py
	(NewPrinterGUI.on_tvSMBBrowser_row_expanded): Create a new context
	here.

	* system-config-printer.py
	(NewPrinterGUI.browse_smb_hosts_thread): Set the auth function
	directly to the AuthContext callback.
	(NewPrinterGUI.on_tvSMBBrowser_row_expanded): Likewise.
	(NewPrinterGUI.on_btnSMBVerify_clicked): Likewise.
	(NewPrinterGUI.browse_smb_hosts_thread_auth_callback): Removed.

	* system-config-printer.py
	(NewPrinterGUI.browse_smb_hosts_thread): Made more robust in the
	face of SMB errors.
	(NewPrinterGUI.on_tvSMBBrowser_row_expanded): Likewise.

2008-05-20  Tim Waugh  <twaugh@redhat.com>

	* authconn.py (Connection._perform_authentication): Reconnect
	after prompting.

	* cupshelpers.py (Printer.getAttributes): Avoid losing SMB
	authentication details.

	* system-config-printer.py (NewPrinterGUI.on_entSMBURI_changed):
	Don't reset authentication radio button if not necessary.

2008-05-20  Tim Waugh  <twaugh@redhat.com>

	* configure.in: Version 0.9.92.

2008-05-20  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(NewPrinterGUI.on_tvSMBBrowser_row_activated): Double-clicking on
	a share selects it.

	* system-config-printer.py
	(GUI.dests_iconview_button_release_event): Fix right-click
	behaviour.

	* system-config-printer.glade: Removed user entry box in the
	connection dialog.
	* system-config-printer.py (GUI.on_connect_activate): Removed
	references to user entry box.

	* system-config-printer.py
	(NewPrinterGUI.on_btnSMBVerify_clicked): Don't use
	pysmb.printer_share_accessible for access checks unless we are
	using the old browsing code.

	* pysmb.py (AuthContext.__init__): Allow initial credentials to be
	set.

	* system-config-printer.py
	(NewPrinterGUI.browse_smb_hosts_thread): Fixed 'scanning...'
	message for new SMB browse code.

2008-05-19  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(NewPrinterGUI.browse_smb_hosts_thread): Don't set no-anon-login
	flag as it seems to break browsing.

	* pysmb.py (AuthContext.failed): Raise exception if authentication
	details were not asked for.

	* system-config-printer.py
	(NewPrinterGUI.browse_smb_hosts_thread): Better exception
	handling.
	(NewPrinterGUI.on_tvSMBBrowser_row_expanded): Likewise.

2008-05-18  Tim Waugh  <twaugh@redhat.com>

	* pysmb.py (AuthContext.perform_authentication): More debugging.

	* system-config-printer.py
	(NewPrinterGUI.on_tvNPDevices_cursor_changed): Better parsing of
	socket: URIs (Ubuntu bug #222616).
	(iconpath): Fixed icon search path.
	(GUI.populateList): Fail if an icon is not available.
	(NewPrinterGUI.browse_smb_hosts_thread): Enable smbc debugging if
	debugging is enabled.

2008-05-16  Tim Waugh  <twaugh@redhat.com>

	* configure.in: Version 0.9.91.

2008-05-16  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(NewPrinterGUI.on_rbtnChangePPDasIs_toggled): Removed.
	(NewPrinterGUI.nextNPTab): Fetch the PPD before the copy-settings
	page and avoid showing an empty installable options page.
	(NewPrinterGUI.setNPButtons): Set buttons appropriately on the
	copy-settings page.

	* system-config-printer.py (NewPrinterGUI.setNPButtons): Initial
	value for radio button should be set in init...
	(NewPrinterGUI.init): ...here.

	* system-config-printer.py (NewPrinterGUI.__init__,
	NewPrinterGUI.browse_smb_hosts_thread,
	NewPrinterGUI.on_tvSMBBrowser_row_activated,
	NewPrinterGUI.on_btnSMBBrowseOk_clicked): Start of new SMB code.

	* system-config-printer.glade: Adjusted SMB authentication
	screen.
	* system-config-printer.py (NewPrinterGUI.on_entSMBURI_changed,
	NewPrinterGUI.on_btnSMBVerify_clicked,
	NewPrinterGUI.getDeviceURI): User interface adjustment.

	* system-config-printer.py (NewPrinterGUI.smbbrowser_cell_share):
	New method.
	(NewPrinterGUI.smbbrowser_cell_comment): New method.
	(NewPrinterGUI.browse_smb_hosts_thread_auth_callback): New method.

	* pysmb.py: Try to import smbc module.
	(AuthContext): New class.

	* system-config-printer.py
	(NewPrinterGUI.on_tvNPDevices_cursor_changed): Removed debugging.

	* system-config-printer.glade: Removed default printer parts from
	the printer properties dialog, as this is now done in the main
	window.
	* system-config-printer.py (GUI.fillPrinterTab): Removed
	references to printer properties default printer widgets.
	(GUI.on_btnPMakeDefault_clicked): Likewise.

	* system-config-printer.py (GUI.fillPrinterTab): Moved some
	code...
	(GUI.updatePrinterProperties): ...here.
	(GUI.printer_event): Update state etc.

	* cupshelpers.py (Printer.__init__): Moved some code...
	(Printer.update): ...here.
	(Printer.getAttributes): Update state etc.

	* system-config-printer.py (GUI.setTestButton): Removed.
	(GUI.fillPrinterTab): Don't call setTestButton.
	(GUI.on_btnPrintTestPage_clicked): Likewise, and don't ever
	cancel.
	(GUI.setDataButtonState): Removed cancellation handling.

2008-05-15  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.init): Only set location
	to current hostname if the added printer is directly connected.
	(NewPrinterGUI.on_tvNPDevices_cursor_changed): Don't set location
	of remote printers to the local hostname.

	* troubleshoot/base.py (show_error_dialog): New method.
	* troubleshoot/PrintTestPage.py (PrintTestPage.print_clicked): Use
	it.
	(PrintTestPage.print_clicked): Try printing a text/plain file if
	application/postscript is not accepted.

	* authconn.py (AuthDialog.__init__): Set alignment for icon.

2008-05-14  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.nextNPTab): Better
	translatable string.
	(NewPrinterGUI.getNPPPD): Likewise.

	* system-config-printer.py (NewPrinterGUI.getNPPPD): Finish
	writing the file before trying to parse it.  Patch from George
	Liu.

	* system-config-printer.desktop.in, manage-print-jobs.desktop.in,
	print-applet.desktop.in, my-default-printer.desktop.in: Just exec
	binary name, not path name.

	* system-config-printer-applet: Generate this with autoconf so
	that configured paths can be used.
	* my-default-printer: Likewise.
	* system-config-printer: Likewise.
	* configure.in: Generate above scripts.

	* config.py.in: Get DATADIR from autoconf.
	* config.py.in (Paths): New class to handle pathname expansion.
	* system-config-printer.py: Use config.Paths to get pkgdatadir.

2008-05-13  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.dests_iconview_selection_changed):
	Better logic for sensitivity.
	(GUI.on_enable_activate): New method.
	(GUI.on_disable_activate): New method.

	* system-config-printer.py (GUI.on_set_as_default_activate): New
	method.

	* system-config-printer.py (GUI.printer_name_edit_cancel): Moved
	from...
	* contextmenu.py (PrinterContextMenu.printer_name_edit_cancel):
	...here.
	* system-config-printer.py (GUI.printer_name_edited): Moved
	from...
	* contextmenu.py
	(PrinterContextMenu.printer_name_edited): ...here.
	* system-config-printer.py (GUI.on_rename_activate): New method,
	from...
	* contextmenu.py
	(PrinterContextMenu.on_printer_context_rename_activate): ...here.
	Call main class's handler.

	* system-config-printer.glade: Add 'Copy' entry to printer context
	menu.
	* contextmenu.py
	(PrinterContextMenu.on_printer_context_copy_activate): New
	method.

	* troubleshoot/ErrorLogCheckpoint.py (ErrorLogCheckpoint.display):
	Clear 'done' label on page display.
	* troubleshoot/ErrorLogFetch.py (ErrorLogFetch.display):
	Likewise.

2008-05-12  Tim Waugh  <twaugh@redhat.com>

	* applet.py (NewPrinterNotification.collect_exit_code): New
	method.  Collect exit code of child (bug #446055).

	* jobviewer.py (JobViewer.notify_new_printer): Fixed new printer
	notifications.

	* applet.py: Set locale.

	* system-config-printer.py (GUI.makeNameUnique): Use dash instead
	of underscore when replacing disallowed characters (bug #445790).

	* system-config-printer.py (GUI.save_printer): Display any IPP
	error caught while refreshing printer information (Ubuntu
	#224021).

	* monitor.py (collect_printer_state_reasons): Ignore IPP errors
	here (Ubuntu #225241).

	* troubleshoot/PrintTestPage.py (PrintTestPage.print_clicked):
	Handle failure to connect to CUPS and failure to submit the test
	page (Ubuntu #222494).
	(PrintTestPage.cancel_clicked): Record failure reason instead of
	raising exception.

2008-05-09  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.printer_added): Fixed typo calling
	base function.
	(GUI.printer_removed): Likewise.
	(GUI.printer_event): New method.  Handle printer state updates so
	that enabled/disabled printers are shown correctly.

2008-05-08  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.nextNPTab): Don't flip
	to the next page if there is an error obtaining the PPD.

2008-05-07  Tim Waugh  <twaugh@redhat.com>

	* openprinting.py (OpenPrinting.__init__): Default to only Free
	downloads.

	* system-config-printer.py (NewPrinterGUI.getNPPPD): Implemented
	PPD download.  Use urlopen to download PPD file from
	openprinting.org.  Patch from George Liu.

	* system-config-printer.glade: Re-worked some of the downloadable
	PPD interface.  Patch from George Liu.

	* openprinting.py (OpenPrinting.searchPrinters): Replaced web
	query filter printer=(searchterm) with make=(make).  All models by
	the printer manufacturer will be returned.  Patch from George
	Liu.
	(OpenPrinting.listDrivers): Changed search term onlydownloads to
	onlyppdfiles.  Patch from George Liu.

	* system-config-printer.py
	(NewPrinterGUI.on_cmbNPDownloadableDriverFoundPrinters_changed):
	Fixed typo (patch from George Liu).

2008-05-06  Till Kamppeter  <till.kamppeter@gmail.com>

	* system-config-printer.glade: More fixes to make the properties
	dialog smaller.

	* applet.py (NewPrinterNotification.wake_up, check_for_jobs): Fixed
	crash on waitloop.quit().

2008-05-02  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.on_btnPrintTestPage_clicked):
	Connect as the current user to print the test page (bug #444306).

	* Makefile.am: Install main script in bindir, not sbindir.

2008-05-01  Tim Waugh  <twaugh@redhat.com>

	* my-default-printer.py: Guard against locale errors (bug
	#417951).
	* openprinting.py (OpenPrinting.__init__): Likewise.
	* system-config-printer.py (show_help): Likewise.

2008-04-30  Tim Waugh  <twaugh@redhat.com>

	* applet.py (NewPrinterNotification.NewPrinter): Only include
	Install button if we are able to install packages.

2008-04-29  Tim Waugh  <twaugh@redhat.com>

	* troubleshoot/CheckPPDSanity.py (CheckPPDSanity.display): Provide
	null stdin.
	* troubleshoot/CheckNetworkServerSanity.py
	(CheckNetworkServerSanity.display): Likewise. Catch exceptions.

	* troubleshoot/CheckPrinterSanity.py (CheckPrinterSanity.display):
	Try hp-info for hp-scheme device URIs.

2008-04-21  Tim Waugh  <twaugh@redhat.com>

	* configure.in (ALL_LINGUAS): Added sr@latin.  Removed sr@Latn.
	* po/sr@Latn.po: Removed.
	* Makefile.am: Check for missing languages in update-po.

2008-04-21  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.init): Don't empty the
	JetDirect hostname text entry widget here, as it might have been
	pre-filled for a selected device (Ubuntu #220041).

2008-04-18  Tim Waugh  <twaugh@redhat.com>

	* system-config-prnter.py (NewPrinterGUI.init): Fix model
	pre-selection when changing PPD.

	* system-config-printer.py (NewPrinterGUI.on_btnNPApply_clicked):
	Reset 'media' default job option if it becomes invalid (bug
	#441836).

2008-04-17  Tim Waugh  <twaugh@redhat.com>

	* ppds.py (ppdMakeModelSplit): Fix display of Generic PostScript
	model, which was getting set to the empty string.

	* system-config-printer.py (NewPrinterGUI.on_btnNPApply_clicked):
	Update printer properties when dialog is finished.

2008-04-16  Tim Waugh  <twaugh@redhat.com>

	* applet.py (WaitForJobs): Cancel the deferral timer.

2008-04-16  Till Kamppeter  <till.kamppeter@gmail.com>

	* applet.py (main): Fixed Ubuntu crash bug #195508.

2008-04-16  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.copy_printer): New method.
	(GUI.on_copy_activate): Use it.
	(GUI.rename_printer): New method.

	* cupshelpers.py (Printer.jobsQueued): New method.
	(Printer.testsQueued): Use it.

	* contextmenu.py
	(PrinterContextMenu.on_printer_context_rename_activate): New
	method.
	(PrinterContextMenu.printer_name_edited): New method.
	(PrinterContextMenu.printer_name_edit_cancel): New method.

	* system-config-printer.py (CUPS_server_hostname): New function.
	(GUI.setConnected): Use it.
	(GUI.dests_iconview_item_activated): Set printer properties dialog
	title to show printer and hostname.

	* system-config-printer.glade (PrinterPropertiesDialog): Use a
	TreeView to display option groupings instead of Notebook tabs.
	* system-config-printer.py (GUI.__init__): Set tree view column,
	selection mode and signals.
	(GUI.dests_iconview_item_activated): Select first page of the
	properties notebook.
	(GUI.on_tvPrinterProperties_selection_changed): Prevent selection
	from being de-selected.
	(GUI.on_tvPrinterProperties_cursor_changed): Flip notebook to
	correct page.
	(GUI.fillPrinterTab): Fill in tree view rows according to notebook
	tabs.
	(GUI.setDataButtonState): Display conflicts using bold markup in
	the tree view.

2008-04-15  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.save_printer): Avoid copied queue
	having extra job options set.
	(GUI.on_copy_activate): Set transient for main window.  Fixed typo
	in comment.

	* probe_printer.py (LpdServer._probe_queue): Better error handling
	so as to prevent tracebacks as in Ubuntu #213624.

	* system-config-printer.py (NewPrinterGUI.setNPButtons): Set
	sensitivity of Forward button when in ppd dialog mode (Ubuntu
	#211867).

	* po/pt.po: Mark bad translation fuzzy.

	* jobviewer.py: Don't import pynotify twice.

2008-04-13  Tim Waugh  <twaugh@redhat.com>

	* statereason.py (StateReason.get_description): Don't crash on
	incorrect translations (Ubuntu #214732).

2008-04-11  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.on_server_settings_activate): Set
	transient for main window.
	(GUI.on_troubleshoot_activate): Set transient for main window.

	* troubleshoot/__init__.py (Troubleshooter.__init__): Allow parent
	window to be specified.

	* system-config-printer.py (GUI.populateList): Use
	gtk.icon_size_lookup.

	* monitor.py (Monitor.handle_dbus_signal): Fixed typo.

	* applet.py (show_version): Correct comment.
	(WaitForJobs.handle_dbus_signal): New method.
	(WaitForJobs): Better deferral.

2008-04-10  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.on_quit_activate): Clean up
	monitor instance so we don't leak CUPS subscriptions.

	* monitor.py (Monitor.get_notifications): Update after
	notify-get-interval period if we haven't ever had a D-Bus signal
	from CUPS.
	(Monitor.__init__): Initialise flag.
	(Monitor.handle_dbus_signal): Set flag.

2008-04-09  Tim Waugh  <twaugh@redhat.com>

	* my-default-printer.py (Dialog.selection_changed): New method.
	Prevent selected item being de-selected.
	(Dialog.__init__): Connect TreeSelection changed signal to
	selection_changed method.
	This fixes Ubuntu #214579.

2008-04-08  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.glade: No separator for the properties dialog.

	* jobviewer.py (JobViewer.__init__): Set transient for parent, if
	appropriate.
	* contextmenu.py
	(PrinterContextMenu.on_printer_context_view_print_queue_activate):
	Indicate parent window.

	* system-config-printer.py (GUI.on_about_activate): Make the About
	dialog appear in the right place.

2008-04-03  Tim Waugh  <twaugh@redhat.com>

	* configure.in: Version 0.9.90, on the way to 1.0.0.

2008-04-03  Tim Waugh  <twaugh@redhat.com>

	* Makefile.am: Ship monitor.py.

	* jobviewer.py (JobViewer.update_job): Don't dispay an
	authentication dialog if pycups doesn't provide
	authenticateJob().

	* system-config-printer.py (GUI.printer_added_or_removed): New
	method.
	(GUI.printer_added): New method.
	(GUI.printer_removed): New method.
	(GUI.__init__): Start a monitor to watch for added and removed
	printers.
	(GUI.dests_iconview_item_activated): If the printer is discovered,
	don't allow the OK button to be clicked in the properties dialog.

	* monitor.py (Watcher.cups_connection_error): New API method.
	(Watcher.cups_ipp_error): New API method.
	(Monitor.get_notifications): Add cups_connection_error and
	cups_ipp_error hooks.
	(Monitor.refresh): Likewise.

	* jobviewer.py (JobViewer.current_printers_and_jobs): Fetch full
	job attributes for each job initially.
	(JobViewer.update_job): If proxy authentication is necessary,
	prompt for authentication information.
	(JobViewer.auth_info_dialog_response): Collect authentication
	information and perform proxy authentication.
	(JobViewer.job_added): Prevent traceback when there are no printer
	state reasons.
	(JobViewer.job_event): Display a print error dialog when a job
	stops for any reason other than authentication required (rescued
	from applet.py revision 2145).

	* authconn.py (AuthDialog): New class.
	(Connection._perform_authentication): Use it.

2008-04-01  Tim Waugh  <twaugh@redhat.com>

	* cupshelpers.py (Printer.setAsDefault): Try specifying the file
	descriptor for getFile (requires pycups >= 1.9.38).
	(PrintersConf.fetch): Likewise.

	* monitor.py (Monitor.__init__): Allow caller to opt out of
	monitoring jobs.
	(Monitor.refresh): If not monitoring jobs, don't subscribe to job
	events.
	(Monitor.refresh): Only fetch jobs if we are monitoring them.

	* troubleshoot/CheckPrinterSanity.py (CheckPrinterSanity.display):
	Determine remote server name for smb URIs by parsing nmblookup
	output.

	* troubleshoot/CheckNetworkServerSanity.py
	(CheckNetworkServerSanity.display): Only try IPP connection for
	ipp URI schemes.

	* smburi.py (SMBURI.__init__): Accept full URIs.

	* troubleshoot/CheckPrinterSanity.py (CheckPrinterSanity.display):
	Treat http scheme the same as ipp.

	* system-config-printer.py (GUI.busy): Make more robust.
	(GUI.ready): Likewise.

	* my-default-printer.py (Dialog.__init__): Sort printers by name
	(bug #439804).

2008-03-31  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.fillPrinterTab): If supported
	values are not known but the value is a Boolean, we can work out
	the supported values (Ubuntu #207338).
	(GUI.fillPrinterOptions): Initialise inputslot/manualfeed
	variables regardless of whether there are option groups.

	* system-config-printer.glade (PrinterPropertiesDialog): Fixed
	expand/fill flags in the job options tab (Ubuntu #208304).

2008-03-26  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (fatalException): Moved...
	* debug.py (fatalException): ...here.
	* system-config-printer.py (nonfatalException): Moved...
	* debug.py (nonfatalException): ...here.
	* jobviewer.py (JobViewer.get_icon_pixbuf): Use it.

	* jobviewer.py (JobViewer.__init__): Removed dead code.
	(JobViewer.update_status): Renamed.  Update statusbar.
	(JobViewer.add_state_reason_emblem): Moved worst reason search...
	(JobViewer.update_status): ...here.
	(JobViewer.current_printers_and_jobs): Set 'job-printer-name'.

	* jobviewer.py (JobViewer.set_statusicon_tooltip): New method.
	(JobViewer.update_statusicon): New method.
	(JobViewer.current_printers_and_jobs): Use it.
	(JobViewer.job_added): Likewise.
	(JobViewer.job_removed): Likewise.
	(JobViewer.state_reason_added): Likewise.
	(JobViewer.state_reason_removed): Likewise.

	* jobviewer.py (JobViewer.job_added): Set 'job-printer-name'.
	(JobViewer.job_event): Likewise.
	(JobViewer.add_state_reason_emblem): Use it.
	(JobViewer.update_job): Likewise.
	(JobViewer.state_reason_added): Likewise.

	* jobviewer.py (JobViewer.get_icon_pixbuf): New method.
	(JobViewer.current_printers_and_jobs): Use it.
	(JobViewer.job_added): Likewise.
	(JobViewer.job_removed): Likewise.
	(JobViewer.job_is_active): New method.
	(JobViewer.job_added): Use it.
	(JobViewer.state_reason_added): Likewise.
	(JobViewer.current_printers_and_jobs): Build active jobs list.
	(JobViewer.job_added): Maintain it.
	(JobViewer.job_event): Likewise.
	(JobViewer.job_removed): Likewise.
	(JobViewer.state_reason_added): Update status icon.
	(JobViewer.state_reason_removed): Likewise.
	(JobViewer.state_reason_removed): Don't return early if a
	notification for the removed state reason was closed.

2008-03-25  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py: Removed dead code (passwd_retry).

2008-03-24  Till Kamppeter  <till.kamppeter@gmail.com>

	* ppds.py (PPDs.orderPPDNamesByPreference): For HP LaserJet
	12xx/13xx prefer HPIJS over PostScript, as they do not have enough
	memory to render complex graphics with their on-board PostScript
	interpreter. This is a workaround for the time being until HP fixes
	this in the HPLIP-generated PPDs.

2008-03-22  Till Kamppeter  <till.kamppeter@gmail.com>

	* ppds.py (ppdMakeModelSplit): Improved filtering of driver information
	from the printer model name, added missing product names "PSC" and
	"Edgeline" to manufacturer guessing for HP.

2008-03-21  Till Kamppeter  <till.kamppeter@gmail.com>

	* system-config-printer.py (NewPrinterGUI.nextNPTab): Support that
	HP has now two fax PPDs ("HP Fax" and "HP Fax 2").
	(NewPrinterGUI.fillDeviceTab): Likewise.
	(NewPrinterGUI.get_hpfax_device_id): New method. Get device ID for
	an HPLIP fax URI, so that correct PPD ("HP Fax" or "HP Fax 2") can
	get selected.
	(NewPrinterGUI.get_hplip_uri_for_network_printer): Strip newline
	from device URI.

2008-03-20  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.on_copy_activate): Adapted to
	iconview.

	* monitor.py (Monitor.get_notifications): Small fix for
	job_removed calls.
	(Monitor.get_notifications): Call state_reason_removed for each
	reason associated with a removed printer.
	(Watcher.current_printers_and_jobs): Provide printers as well.
	(Monitor.refresh): Fetch list of printers.
	(Monitor.get_notifications): Track added and removed printers.
	(Watcher.printer_added): New method.
	(Watcher.printer_removed): New method.

	* jobviewer.py (JobViewer.current_printers_and_jobs): Adjusted.

	* monitor.py (Watcher.current_jobs): New Watcher interface
	method.
	(Monitor.refresh): Call it.
	* jobviewer.py (JobViewer.current_jobs): Implement it.
	(JobViewer.refresh): Removed.
	(JobViewer.__init__): Start with icon hidden; removed dead code.

	* applet.py (show_version.any_jobs): Just check for jobs, not
	errors.
	* jobviewer.py (worst_printer_state_reason): Removed.

	* monitor.py (Monitor.sort_jobs_by_printer): Better error
	checking.
	(Monitor.check_state_reasons): Don't only process
	connecting-to-device when it is a newly added state reason.

	* jobviewer.py (JobViewer.state_reason_added): Mark state reason
	as not notified.
	(JobViewer.notify_printer_state_reason): Mark state reason as
	notified.
	(JobViewer.state_reason_added): Only send a notification if the
	user has a job on this printer.
	(JobViewer.job_added): Notify user of current state reasons on
	this printer.

2008-03-19  Till Kamppeter  <till.kamppeter@gmail.com>

	* system-config-printer.py (NewPrinterGUI.nextNPTab): If a network
	printer is chosen from the auto-detected printers in the "New
	Printer" dialog and the printer is an HP MF device with both
	printer and fax, the user can choose by a pop-up dialog whether he
	wants to set up a queue for the printer or for the fax.
	
2008-03-19  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.add_job): New method.
	(JobViewer.update_job): New method.
	(JobViewer.refresh): Use add_job
	(JobViewer.update_job_creation_times): Better timer handling.
	(JobViewer.job_added): New method, part of Watcher interface.
	(JobViewer.job_event): Likewise.
	(JobViewer.job_removed): Likewise.
	(JobViewer.still_connecting): Likewise.
	(JobViewer.now_connected): Likewise.
	(JobViewer.state_reason_added): Likewise.

	* cupshelpers.py (Printer.setAsDefault): New method.
	* system-config-printer.py (GUI.set_default_printer): Use it.

2008-03-18  Tim Waugh  <twaugh@redhat.com>

	* statereason.py (StateReason.__repr__): New method.

	* system-config-printer.py (GUI.reconnect): Use
	authconn.Connection._connect() to reconnect.

	* jobviewer.py (JobViewer.__init__): Removed password dialog
	bits.
	(JobViewer.cupsPasswdCallback): Removed.

	* contextmenu.py (PrinterContextMenu.popup): Show or hide context
	menu items.

	* system-config-printer.glade: Removed password dialog.
	* system-config-printer.py (GUI.__init__): Don't set CUPS password
	callback, as this is set in authconn.Connection.
	(GUI.connect): Likewise.
	(NewPrinterGUI.getPPDs_thread): Set password callback to empty
	function.
	(NewPrinterGUI.getDevices_thread): Likewise.
	(GUI.cupsPasswdCallback): Removed.
	(GUI.on_btnPasswdOk_clicked): Removed.
	(GUI.on_btnPasswdCancel_clicked): Removed.

	* system-config-printer.py (GUI.on_quit_activate): Clean up
	context menu and any jobviewers it has launched.

	* jobviewer.py (JobViewer.__init__): Optional exit_handler
	function.
	(JobViewer.cleanup): Call it.

	* contextmenu.py (PrinterContextMenu.__init__): Track jobviewers.
	(PrinterContextMenu.cleanup): New method.
	(PrinterContextMenu.on_jobviewer_exit): New method.

	* smburi.py: New module.
	* Makefile.am (nobase_pkgdata_DATA): Ship it.

	* contextmenu.py: New module.
	* Makefile.am (nobase_pkgdata_DATA): Ship it.

	* system-config-printer.py (GUI.populateList): Add default emblem.
	(PrinterContextMenu.popup): Don't include Set As Default in the
	context menu if the printer is already the default.
	(GUI.set_default_printer): New method.
	(GUI.on_btnPMakeDefault_clicked): Use it.
	(PrinterContextMenu.on_printer_context_set_as_default_activate):
	Likewise.
	(PrinterContextMenu.popup): Don't include Enable or Disable if not
	possible.
	(PrinterContextMenu.on_printer_context_enable_activate): New
	method.
	(PrinterContextMenu.on_printer_context_disable_activate): New
	method.
	(GUI.on_btnApply_clicked): Removed.
	(GUI.apply): Removed.
	(GUI.on_delete_activate): Handle the Icon View.
	(PrinterContextMenu.on_printer_context_delete_activate): New
	method.
	(PrinterContextMenu.popup): Disallow actions on discovered
	printers that require a remote connection.

2008-03-17  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.__init__): Set initial window size
	appropriately.
	(GUI.fillServerTab): Removed old code.
	(GUI.on_tvMainList_row_activated): Removed.
	(GUI.on_btnRevert_clicked): Removed.
	(GUI.fillServerTab): Propagate the exception.
	(GUI.on_server_settings_activate): Catch the exception and
	return.
	(GUI.__init__): Simpler method for setting initial window size.

	* system-config-printer.glade: Removed unnecessary button box
	buttons.
	* system-config-printer.py (GUI.dests_iconview_selection_changed):
	Only allow copying of a	single destination.

	* system-config-printer.py (main): New option --debug.
	* man/system-config-printer.xml: Document it.
	* Makefile.am (run): Run with debugging enabled.

	* system-config-printer.py (GUI.__init__): Use authconn.Connection.
	(GUI.on_connect_activate): Pass in the parent window widget.
	(GUI.connect): Use authconn.Connection.
	(GUI.reconnect): Likewise.
	(GUI.on_btnRefresh_clicked): Likewise.

	* jobviewer.py (JobViewer.on_job_cancel_activate): Use
	authconn.Connection.
	(JobViewer.on_job_hold_activate): Likewise.
	(JobViewer.on_job_release_activate): Likewise.
	(JobViewer.on_job_reprint_activate): Likewise.

	* troubleshoot/ErrorLogCheckpoint.py
	(ErrorLogCheckpoint.enable_clicked): No need to work around
	adminGetServerSettings weirdness.
	* troubleshoot/ErrorLogFetch.py (ErrorLogFetch.button_clicked):
	Likewise.

	* troubleshoot/base.py: Use debug module.
	* troubleshoot/__init__.py (run): Likewise.

	* troubleshoot/ErrorLogFetch.py (ErrorLogFetch.display): Reconnect
	in case cupsd has restarted.

	* authconn.py (Connection._authloop): Raise IPPError if
	adminGetServerSettings returns no settings.

	* troubleshoot/ErrorLogFetch.py (ErrorLogFetch.button_clicked):
	Changed to use authconn.Connection.

	* authconn.py (Connection.__init__): Initialise _use_user correctly.
	(Connection._set_prompt_allowed): Allow caller to disallow
	prompting.
	(Connection._authloop): Handle cups.HTTPError.

	* troubleshoot/ErrorLogCheckpoint.py
	(ErrorLogCheckpoint.enable_clicked): Changed to use
	authconn.Connection.

	* troubleshoot/Welcome.py (AuthenticationDialog): Removed.  Use
	authconn.Connection instead.

	* authconn.py: New file.
	* po/POTFILES.in: Translate it.
	* Makefile.am (nobase_pkgdata_DATA): Ship it.

2008-03-16  Tim Waugh  <twaugh@redhat.com>

	* jobviewer.py (JobViewer.__init__): Default trayicon to False.
	(JobViewer.on_delete_event): Cancel subscriptions when run from
	main applications.

	* system-config-printer.py
	(PrinterContextMenu.on_printer_context_view_print_queue_activate):
	No need to specify trayicon=False.

	* jobviewer.py: Moved JobManager here and renamed as JobViewer.
	* po/POTFILES.in: Translate jobviewer.
	* Makefile.am (nobase_pkgdata_DATA): Ship it.
	* system-config-printer.py
	(PrinterContextMenu.on_printer_context_view_print_queue_activate):
	Updated.

	* debug.py: New module.
	* Makefile.am (nobase_pkgdata_DATA): Ship it.
	* applet.py: Use it.
	* system-config-printer.py: Likewise.
	* cupshelpers.py: Likewise.

2008-03-15  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.populateList): Set tooltips.

2008-03-14  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py: Import applet.
	(PrinterContextMenu.on_printer_context_view_print_queue_activate):
	Use JobManager to display jobs for selected printers.

	* applet.py (JobManager.__init__): Add my_jobs and specific_dests
	arguments.
	(JobManager.refresh): Use my_jobs argument.
	(JobManager.get_notifications): Likewise.
	(JobManager.refresh): Ignore jobs not matching specific_dests.
	(JobManager.get_notifications): Likewise.

	* icons/i-network-printer.png: New file.
	* Makefile.am (nobase_pkgdata_DATA): Ship icon.
	* system-config-printer.py (GUI.populateList): Use different icon
	for remote printers.
	(GUI.dests_iconview_button_release_event): Allow multiple
	destinations to be selected.

	* system-config-printer.py (GUI.on_btnApplyApply_clicked):
	Removed.
	(GUI.on_btnApplyCancel_clicked): Likewise.
	(GUI.on_btnApplyDiscard_clicked): Likewise.
	(GUI): No need to check for unapplied changes.
	(GUI.on_quit_activate): Likewise.
	(GUI.on_copy_activate): Likewise.
	(GUI.setDataButtonState): Only set Installable Options tab
	weight.
	(GUI.dests_iconview_button_release_event): Display printer context
	menu.
	(PrinterContextMenu): New class.

	* cupshelpers.py (getPrinters): Avoid fetching printers.conf when
	not needed.

	* system-config-printer.py (GUI.dests_iconview_item_activated):
	Apply changes.
	(GUI.on_server_settings_activate): New method.

2008-03-13  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py: Some changes to cope with the new UI.
	* system-config-printer.glade: Switch to icon view.

	* applet.py (JobManager.get_notifications): Ignore jobs that are
	not owned by the current user.

2008-03-10  Tim Waugh  <twaugh@redhat.com>

	* applet.py (JobManager.get_notifications): Distinguish between
	failed jobs and jobs that require authentication.

2008-03-07  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.glade: 'Goto' isn't a word.

	* system-config-printer.py (GUI.populateList): Fix default printer
	detection.

	* troubleshoot/__init__.py (QUESTIONS): Run it.
	* troubleshoot/CheckPPDSanity.py: New module.
	* Makefile.am (nobase_pkgdata_DATA): Ship it.
	* po/POTFILES.in: Translate it.

	* troubleshoot/CheckLocalServerPublishing.py: New module.
	* Makefile.am (nobase_pkgdata_DATA): Ship it.
	* po/POTFILES.in: Translate it.
	* troubleshoot/__init__.py (QUESTIONS): Run it.

	* troubleshoot/SchedulerNotRunning.py
	(SchedulerNotRunning.display): Deal with being run before a
	printer is chosen.

	* troubleshoot/__init__.py (QUESTIONS): Check that the scheduler
	is running very first thing.

2008-03-06  Tim Waugh  <twaugh@redhat.com>

	* troubleshoot/DeviceListed.py: New module.
	* po/POTFILES.in: Translate it.
	* Makefile.am: Ship it.
	* troubleshoot/__init__.py (QUESTIONS): Run it.

2008-03-05  Tim Waugh  <twaugh@redhat.com>

	* cupshelpers.py (Printer.getAttributes): Store all other
	attributes.

	* system-config-printer.py (GUI.fillPrinterTab): Use
	server-is-sharing-printers attribute if present.

	* applet.py (collect_printer_state_reasons): Fix work-around.
	(JobManager.get_notifications): Likewise.

	* system-config-printer.py
	(NewPrinterGUI.on_btnIPPVerify_clicked): Prevent traceback when
	failing to fetch printer attributes.

2008-03-03  Tim Waugh  <twaugh@redhat.com>

	* applet.py (JobManager.get_notifications): The notify-printer-uri
	attribute may not be set.
	(JobManager.get_notifications): If the printer has been disabled
	as a result of a failed job, say so.

2008-02-29  Tim Waugh  <twaugh@redhat.com>

	* applet.py (JobManager.update): Make a list of active jobs
	indexed by printer name.
	(JobManager.check_state_reasons): Only display a
	connecting-to-device warning if we have a job processing on that
	device.
	(JobManager.toggle_window_display): New force_show parameter.
	(JobManager.get_notifications): Handle job-stopped event by
	displaying a dialog when running as a tray icon.
	(JobManager.print_error_dialog_response): New method.  Invoke the
	troubleshooter if user selects 'Diagnose'.
	(JobManager.on_troubleshoot_quit): New method.

2008-02-28  Tim Waugh  <twaugh@redhat.com>

	* applet.py (debugprint): New function.
	(JobManager.__init__): No longer need will_refresh or
	last_refreshed attributes.
	(JobManager.__init__): Initialise subscription ID.
	(JobManager.refresh): Cancel existing subscription and create new
	subscription.  No longer need throttling.
	(JobManager.cleanup): New method.  Cancel subscription.
	(JobManager.get_notifications): New method.
	(JobManager.handle_dbus_signal): Use get_notifications instead of
	refresh.
	(JobManager.check_still_connecting): Use get_notifications, not
	refresh.
	(JobManager.check_state_reasons): Don't take a CUPS connection as
	argument.  For now, open a new connection, although this should
	not be needed really.
	(JobManager.update): New method, split out from old refresh
	method.  Don't fetch job list again; we already have enough
	information.
	(JobManager.on_job_reprint_activate): Don't need to call refresh
	now.
	(JobManager.handle_dbus_signal): Schedule a call to
	get_notifications.
	(top level): New --debug option.
	(state_reason_is_harmless): New function, split out from
	collect_printer_state_reasons.
	(collect_printer_state_reasons): Collate reasons by printer name.
	(worst_printer_state_reason): Handle reasons collation.
	(JobManager.update_connecting_devices): Likewise.
	(JobManager.check_state_reasons): Likewise.
	(JobManager.check_still_connecting): No longer need to connect to
	CUPS here.
	(JobManager.check_state_reasons): Likewise.
	(JobManager.get_notifications): Remove state reasons for deleted
	printers, and update state reasons for printers whose state has
	changed.
	(JobManager.get_notifications): Don't update when the
	notify-get-interval tells us to; instead, rely on D-Bus for this.
	(JobManager.refresh): Add printer-deleted and
	printer-state-changed to the list of interesting events.
	(JobManager.refresh): Fetch printer state reasons.

	* troubleshoot/PrintTestPage.py (PrintTestPage.connect_signals):
	Connect to the system D-Bus.
	(PrintTestPage.disconnect_signals): Disconnect from D-Bus.
	(PrintTestPage.handle_dbus_signal): Schedule a refresh.
	(PrintTestPage.update_jobs_list): Schedule the next refresh
	according to notify-get-interval.

	* troubleshoot/ErrorLogParse.py (ErrorLogParse.display): Use log
	severity indicator.

2008-02-26  Tim Waugh  <twaugh@redhat.com>

	* statereason.py (StateReason.get_description): Handle 'offline'
	state reason.
	(StateReason.get_description): Handle 'other' state reason.

2008-02-25  Tim Waugh  <twaugh@redhat.com>

	* applet.py (show_version.monitor_session): Correct comment.

2008-02-20  Tim Waugh  <twaugh@redhat.com>

	* troubleshoot/ErrorLogCheckpoint.py (ErrorLogCheckpoint.display):
	Remember CUPS server settings for diagnostic output.
	(ErrorLogCheckpoint.enable_clicked): Likewise.

	* troubleshoot/Welcome.py (AuthenticationDialog.callback): Don't
	remember a password if the dialog was cancelled.

	* troubleshoot/__init__.py (Troubleshooter.answers_as_text): Don't
	display answers whose tags begin with an underscore.

	* troubleshoot/ErrorLogCheckpoint.py
	(ErrorLogCheckpoint.enable_clicked): Don't create a new
	AuthenticationDialog instance.

	* troubleshoot/Welcome.py (Welcome.collect_answer): Instantiate
	AuthenticationDialog.

	* troubleshoot/base.py (AuthenticationDialog): Moved...
	* troubleshoow/Welcome.py (AuthenticationDialog): ...here.

2008-02-19  Tim Waugh  <twaugh@redhat.com>

	* configure.in: Version 0.7.82.

2008-02-19  Tim Waugh  <twaugh@redhat.com>

	* troubleshoot/PrintTestPage.py
	(PrintTestPage.collect_answer.collect_jobs.each): Try to use
	getJobAttributes if available.

	* applet.py (JobManager.on_notification_closed): Reset connecting
	timer when notification is closed.
	(JobManager.check_state_reasons): Use printer icon in notification
	bubble.
	(NewPrinterNotification.NewPrinter): Likewise.

	* troubleshoot/Shrug.py (Shrug.on_save_clicked): Save as
	troubleshoot.txt by default.

	* troubleshoot/ErrorLogParse.py (ErrorLogParse.display): Don't
	trigger on error_log fetch.

	* troubleshoot/ErrorLogFetch.py (ErrorLogFetch.__init__): Disable
	debug logging if we enabled it.
	(ErrorLogFetch.display): Fetch error_log here instead of in
	collect_answer.
	(ErrorLogFetch.connect_signals): New method.
	(ErrorLogFetch.disconnect_signals): New method.
	(ErrorLogFetch.button_clicked): New method.  Disable debug
	logging.

	* troubleshoot/ErrorLogCheckpoint.py
	(ErrorLogCheckpoint.__init__): Enable debug logging if not set.
	(ErrorLogCheckpoint.display): Fetch server settings.
	(ErrorLogCheckpoint.connect_signals): New method.
	(ErrorLogCheckpoint.disconnect_signals): New method.
	(ErrorLogCheckpoint.enable_clicked): New method.  Enable debug
	logging.

	* troubleshoot/base.py (AuthenticationDialog): Added some fixes.

	* troubleshoot/PrintTestPage.py (PrintTestPage.update_jobs_list):
	Work around old pycups bug.
	(PrintTestPage.__init__): Allow other documents to be printed and
	tracked using a check-box in each job row.
	(PrintTestPage.update_job): Update columns IDs.
	(PrintTestPage.display): Update store column types, and initialise
	check-boxes.
	(PrintTestPage.test_toggled): New method.
	(PrintTestPage.connect_signals): Connect toggle signal.
	(PrintTestPage.disconnect_signals): Disconnect it.
	(PrintTestPage.collect_answer.collect_jobs.each): Include job
	attributes for selected jobs.
	(PrintTestPage.update_jobs_list): Initialise check-box.

2008-02-18  Tim Waugh  <twaugh@redhat.com>

	* troubleshoot/ErrorLogFetch.py: New module.
	* troubleshoot/ErrorLogCheckpoint.py: New module.
	* troubleshoot/ErrorLogParse.py: New module.
	* troubleshoot/__init__.py (QUESTIONS): Run them.
	* Makefile.am: Ship them.
	* po/POTFILES.in: Translate them.

	* troubleshoot/PrinterStateReasons.py
	(PrinterStateReasons.collect_answer): Fixed traceback.
	(PrinterStateReasons.display): Use saved state message and
	reasons.

	* troubleshoot.py: Moved...
	* troubleshoot/__init__.py: ...here.
	* troubleshoot/base.py: Split out from troubleshoot.py.
	* troubleshoot/CheckNetworkServerSanity.py: Likewise.
	* troubleshoot/CheckPrinterSanity.py: Likewise.
	* troubleshoot/ChooseNetworkPrinter.py: Likewise.
	* troubleshoot/ChoosePrinter.py: Likewise.
	* troubleshoot/LocalOrRemote.py: Likewise.
	* troubleshoot/NetworkCUPSPrinterShared.py: Likewise.
	* troubleshoot/PrinterStateReasons.py: Likewise.
	* troubleshoot/PrintTestPage.py: Likewise.
	* troubleshoot/QueueNotEnabled.py: Likewise.
	* troubleshoot/QueueRejectingJobs.py: Likewise.
	* troubleshoot/RemoteAddress.py: Likewise.
	* troubleshoot/SchedulerNotRunning.py: Likewise.
	* troubleshoot/ServerFirewalled.py: Likewise.
	* troubleshoot/Shrug.py: Likewise.
	* troubleshoot/Welcome.py: Likewise.
	* Makefile.am: Ship new files.
	* po/POTFILES.in: Translate them.

	* po/de.po: Updated (bug #433230).

2008-02-17  Tim Waugh  <twaugh@redhat.com>

	* po/fr.po: Updated (bug #433193).

2008-02-14  Tim Waugh  <twaugh@redhat.com>

	* troubleshoot.py (CheckPrinterSanity.display): Don't display
	unless queue is listed.
	(ServerFirewalled.display): Likewise.
	(QueueNotEnabled.display): Likewise.
	(QueueRejectingJobs.display): Likewise.
	(PrinterStateReasons.display): Likewise.
	(PrinterNotListed.display): Don't display if queue is listed.
	(LocalOrRemote.display): Likewise.
	(RemoteAddress.display): Likewise.
	(ChooseNetworkPrinter.display): Likewise.
	(NetworkCUPSPrinterShared.display): Better restrictions.
	(NetworkCUPSPrinterEnabled.display): Tighter exception handling.
	(NetworkCUPSPrinterAccepting.display): Likewise.

	* applet.py (StateReason): Moved...
	* statereason.py (StateReason): ...here.  New file.
	* Makefile.am (nobase_pkgdata_DATA): Ship it.

2008-02-13  Tim Waugh  <twaugh@redhat.com>

	* troubleshoot.py (CheckNetworkPrinterSanity.display): Fetch
	printer attributes if we know the queue name.
	(ChoosePrinter.cursor_changed): Don't the
	CheckNetworkPrinterSanity test twice.

2008-02-13  Tim Waugh  <twaugh@redhat.com>

	* configure.in: Version 0.7.81.

2008-02-13  Tim Waugh  <twaugh@redhat.com>

	* troubleshoot.py: Detect CUPS servers that have their TCP port
	firewalled.

	* troubleshoot.py (QueueNotEnabled.display): More explanation.
	(ChooseNetworkPrinter.display): Skip over default entry.
	(ChoosePrinter.display): Likewise.

	* my-default-printer.py (Server.getUserDefault): Fixed breakage
	caused by pycups change.
	(Server.getSystemDefault): Use getDefault if available.

2008-02-12  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.nextNPTab): Moved remote
	CUPS test to the right place (Ubuntu #178727).

2008-02-07  Tim Waugh  <twaugh@redhat.com>

	* troubleshoot.py (PrintTestPage.__init__): Add a 'Cancel All
	Jobs' button.
	(PrintTestPage.cancel_clicked): New method.
	(PrintTestPage.update_jobs_list): Display all jobs on that
	printer, not just our test pages.
	(PrintTestPage.update_job): New method.
	(PrintTestPage.display): Use it.
	(PrintTestPage.update_jobs_list): Likewise.
	(AuthenticationDialog): New class.
	(PrintTestPage.update_jobs_list): Record test page completion
	notify-text messages for diagnostic output.

2008-02-06  Tim Waugh  <twaugh@redhat.com>

	* troubleshoot.py (ChoosePrinter.display): Handle CUPS connection
	failure.
	(PrinterNotListed.can_click_forward): No more questions to ask.
	(PrinterStateReasons.display): Fetch the printer-state-message and
	printer-state-reasons fresh from the server.
	(PrinterStateReasons.display): Work around a pycups bug.
	(PrinterStateReasons.collect_answer): Record state message and
	reasons for diagnostic output.

	* system-config-printer.glade: Align widgets on the Policies tab.

2008-02-05  Tim Waugh  <twaugh@redhat.com>

	* troubleshoot.py (PrintTestPage): Improvements to the job
	display.

2008-02-04  Tim Waugh  <twaugh@redhat.com>

	* configure.in: Version 0.7.80.

2008-02-04  Tim Waugh  <twaugh@redhat.com>

	* troubleshoot.py (Troubleshooter.answers_as_text): Don't
	translate this.

	* po/POTFILES.in: Added troubleshoot.py.

	* system-config-printer.py (GUI.on_troubleshoot_activate): Run the
	trouble-shooter.

	* troubleshoot.py: New file.
	* Makefile.am: Ship it.

2008-02-01  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(NewPrinterGUI.browse_ipp_queues_thread): Fix enumeration of
	classes.

2008-01-31  Tim Waugh  <twaugh@redhat.com>

	* config.py.in: Set DOWNLOADABLE_DRIVER_SUPPORT.
	* system-config-printer.py: Remove downloadable driver support if not
	enabled in config module.

	* ppds.py (PPDs._findBestMatchPPDs): Fixed thinko.

	* system-config-printer.py
	(NewPrinterGUI.on_tvNPDownloadableDrivers_cursor_changed): Fixed
	typo.

	* system-config-printer.glade: Line wrap long label.

2008-01-30  Tim Waugh  <twaugh@redhat.com>

	* openprinting.py (OpenPrinting.listDrivers.parse_result): Don't
	normalize space in licensetext.

	* system-config-printer.py (NewPrinterGUI.fillDeviceTab): Disabled
	slow HPLIP URI look-ups until they are moved to the right place.

	* system-config-printer.py
	(NewPrinterGUI.openprinting_drivers_found): Display traceback for
	debugging.
	(NewPrinterGUI.on_tvNPDownloadableDrivers_cursor_changed): Fill in
	driver properties.

	* openprinting.py (OpenPrinting.listDrivers.parse_result): File's
	url attribute was missing.
	(QueryThread.run): Print query URL for debugging.
	(OpenPrinting.listDrivers.parse_result): Re-work data type for XML
	format change.
	(OpenPrinting.listDrivers.parse_result): Include functionality
	elements.
	(normalize_space): New function.
	(OpenPrinting.listDrivers.parse_result): Normalize space.

2008-01-29  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(NewPrinterGUI.on_rbtnNPFoomatic_toggled): Better logic for search
	widget sensitivity.
	(NewPrinterGUI.openprinting_printers_found): Use
	threads_enter/threads_leave.
	(NewPrinterGUI.on_cmbNPDownloadableDriverFoundPrinters_changed):
	Start a query for drivers.
	(NewPrinterGUI.openprinting_drivers_found): New method.
	(NewPrinterGUI.nextNPTab): Display wait window if driver query is
	still in progress.
	(NewPrinterGUI.on_rbtnNPFoomatic_toggled): Properly cancel out the
	search operation.
	(NewPrinterGUI.openprinting_drivers_found): Populate downloadable
	drivers list and hide wait window.
	(NewPrinterGUI.on_tvNPDownloadableDrivers_cursor_changed): New
	method.
	(NewPrinterGUI.on_cmbNPDownloadableDriverFoundPrinters_changed):
	Cancel any driver query in progress.
	(NewPrinterGUI.fillDownloadableDrivers): Avoid traceback when
	there are no drivers returned.
	(NewPrinterGUI.on_btnNPDownloadableDriverSearch_clicked): Cancel
	out the driver search operation if a new printer search is
	performed.

	* openprinting.py (QueryThread.__init__): Set query thread as
	daemon to prevent open queries from keeping the application
	running.

	* system-config-printer.py
	(NewPrinterGUI.openprinting_printers_found): Simplified code.

2008-01-28  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py: Import the openprinting module.
	(NewPrinterGUI.__init__): Additional set-up for OpenPrinting
	widgets.
	(NewPrinterGUI.setNPButtons): If downloading a driver, check that
	a model is selected before proceeding.
	(NewPrinterGUI.on_btnNPDownloadableDriverSearch_clicked): New
	method.
	(NewPrinterGUI.openprinting_printers_found): New method.
	(NewPrinterGUI.on_cmbNPDownloadableDriverFoundPrinters_changed):
	New method.
	(NewPrinterGUI.__init__): Initialise search handle.
	(NewPrinterGUI.on_NPCancel): Cancel search.
	(NewPrinterGUI.openprinting_printers_found): Clear search handle.
	(NewPrinterGUI.init): Initialise search widgets.
	(NewPrinterGUI.openprinting_printers_found): When only one printer
	is found from the search, select it automatically.
	(NewPrinterGUI.init): Set search button label.
	(NewPrinterGUI.on_btnNPDownloadableDriverSearch_clicked): Update
	search button label.
	(NewPrinterGUI.openprinting_printers_found): Reset search button
	label.

	* openprinting.py (OpenPrinting.searchPrinters.parse_result):
	Don't call the callback twice on error; instead display a
	useful traceback.

2008-01-25  Tim Waugh  <twaugh@redhat.com>

	* openprinting.py (OpenPrinting): Fixed test app threading.

2008-01-25  Tim Waugh  <twaugh@redhat.com>

	* configure.in: Version 0.7.79.

2008-01-25  Tim Waugh  <twaugh@redhat.com>

	* openprinting.py: New module.

	* Makefile.am: Ship it and install it.

	* system-config-printer.py (NewPrinterGUI.__init__): No need to
	fetch labels we aren't going to do anything with.
	(NewPrinterGUI.on_rbtnNPFoomatic_changed): Set sensitivity of
	downloadable driver widgets as a group.
	(NewPrinterGUI.__init__): Disable downloadable driver support
	until it's working.

2008-01-18  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.reconnect): Better reconnection
	method.
	(GUI.save_serversettings): Really refresh server settings after
	applying changes.
	(NewPrinterGUI.get_hplip_uri_for_network_printer): Add debugging
	output.
	(NewPrinterGUI.getNetworkPrinterMakeModel): Likewise.

2008-01-17  Till Kamppeter  <till.kamppeter@gmail.com>

	* system-config-printer.glade: Added search button and printer
	list combo box to the search term input field for finding
	drivers. So the user can select his printer first and then see the
	downloadable drivers.

2008-01-16  Tim Waugh  <twaugh@redhat.com>

	* applet.py (JobManager.on_treeview_button_press_event): Use
	job-preserved to control whether reprint is allowed, as with the
	CUPS web interface (bug #423441).

	* system-config-printer.py (GUI.save_serversettings): Refresh
	server settings after applying changes (bug #421431).

	* applet.py (NewPrinterNotification.install_driver): New method.
	(NewPrinterNotification.NewPrinter): Prompt for driver
	installation if needed (bug #379321).

2008-01-11  Till Kamppeter  <till.kamppeter@gmail.com>

	* system-config-printer.py (pollDownloadableDrivers): Added code
	for querying the OpenPrinting database for downloadable drivers.

2008-01-11  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.on_btnRefresh_clicked): Try to
	reconnect if not connected.

2008-01-10  Till Kamppeter  <till.kamppeter@gmail.com>

	* system-config-printer.py: Started on the code to make the new GUI
	elements for the automatic driver download working.

	* system-config-printer.glade: Added GUI for automatic driver download
	from the OpenPrinting web site.
	Updated list of authors in the "About" dialog.

2008-01-08  Tim Waugh  <twaugh@redhat.com>

	* applet.py (JobManager.update_job_creation_times): Fill in number
	of hours.

2008-01-07  Till Kamppeter  <till.kamppeter@gmail.com>

	* cupshelpers.py: If the device discovery output of a CUPS backend
	has "Unknown" for make and model but something useful in the info
	field, copy the info field into the make-and-model field.

	* ppds.py: Derive manufacturer name from model name if the manufacturer
	name is missing in the Nickname or make-and-model string.
	Remove "(Bluetooth)" from model name for more reliable matching.
	Handle the manufacturer name "KONICA MINOLTA" correctly (Ubuntu
	#64046). 
	Use case-insensitive when cleaning model names.
	For "recommended" Foomatic PPDs give higher priority than a vendor PPD
	in case of the recommended driver being not "Postscript" and lower
	priority otherwise. So if using the printer in PostScript mode is
	recommended, the vendor PPD will be preferred, if another mode of
	the printer is recommended (like PCL on HP LaserJet 12xx/13xx) the
	appropriate non-PostScript PPD will be used (Ubuntu #172550).

	* system-config-printer.py: Allow listing of all files in file
	chooser dialog for selecting a custom PPD file. This way also PPDs
	without the ".ppd" extension can be selected (Ubuntu #153585).
	
2008-01-04  Till Kamppeter  <till.kamppeter@gmail.com>

	* system-config-printer.py, ppds.py: Make automatic recognition
	of make and model of Bluetooth-connected printers working.

2007-12-20  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.glade: Make the Wait window a top-level
	window not a pop-up (Ubuntu #175766).

	* system-config-printer.py (GUI.populateList): Only try to fetch
	the default printer if we have a CUPS connection (Ubuntu
	#159212).
	(GUI.on_tvMainList_cursor_changed): Set data button state when no
	CUPS connection.

	* system-config-printer.py (NewPrinterGUI.on_entSMBURI_changed):
	SMB browser is no longer in the same window as the editable URI
	(Ubuntu #173115).

	* system-config-printer.py (debugprint): New function.
	(nonfatalException): Use it.
	(GUI.on_btnPMakeDefault_clicked): Likewise.
	(GUI.on_btnPrintTestPage_clicked): Likewise.
	(NewPrinterGUI.queryPPDs): Likewise.
	(NewPrinterGUI.getPPDs_thread): Likewise.
	(NewPrinterGUI.fetchPPDs): Likewise.
	(NewPrinterGUI.queryDevices): Likewise.
	(NewPrinterGUI.getDevices_thread): Likewise.
	(NewPrinterGUI.fetchDevices): Likewise.
	(NewPrinterGUI.on_btnIPPVerify_clicked): Likewise.
	(NewPrinterGUI.getNPPPD): Likewise.

	* cupshelpers.py (debugprint): New function for printing without
	propagating print exceptions (Ubuntu #175500).
	(copyPPDOptions): Use it.
	(setPPDPageSize): Likewise.
	(missingPackagesAndExecutables.pathcheck): Likewise.
	(missingPackagesAndExecutables): Likewise.

2007-12-14  Tim Waugh  <twaugh@redhat.com>

	* cupshelpers.py (missingPackagesAndExecutables): Moved this
	function here...
	* system-config-printer.py (NewPrinterGUI.checkDriverExists):
	...from here.

2007-12-14  Tim Waugh  <twaugh@redhat.com>

	* applet.py (StateReason.__cmp__): Fixed use of __cmp__ (Ubuntu
	#149393).

2007-12-12  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(NewPrinterGUI.on_btnIPPVerify_clicked): Fixed typo.

2007-12-03  Till Kamppeter  <till.kamppeter@gmail.com>

	* cupshelpers.py (getPrinters): Determine via printers.conf whether
	an IPP queue was locally defined or whether it appears induced by
	a broadcasted remote queue.
	* system-config-printer.py (nextNPTab): If an IPP queue from a remote
	CUPS server gets auto-detected create a local raw queue, so that the
	driver from the server gets used. Such CUPS queues are queues which
	are advertised by the server only via DNS-SD/mDNS/Bonjour/ZeroConf
	as for example from Mac OS X servers. They can be detected via the
	dnssd backend from http://www.linuxprinting.org/download/printing/dnssd
	(on_tvMainList_cursor_changed, fillPrinterTab): Allow deleting/editing 
	of local raw IPP queues which point to a remote CUPS queue.
	(checkNPName): Do not allow silent overwriting of locally defined
	raw IPP queues pointing to a remote CUPS queue.
	(on_tvNPDevices_cursor_changed): Fixed bug of IPP printer setup
	GUI not showing the printer parameters when selecting an
	auto-detected IPP printer
	(getNPPPD): Fixed traceback when creating a raw queue.
	(nextNPTab): When stepping back with the "Previous" button in the
	"New printer" wizard the empty "Installed Options" screen was not
	skipped.
	
2007-11-30  Tim Waugh  <twaugh@redhat.com>

	* applet.py: Fixed New Printer notifications after they got broken
	by the icon hiding changes.

2007-11-29  Tim Waugh  <twaugh@redhat.com>

	* ppds.py (PPDs.__init__): For C/POSIX locale, filter PPDs by
	American English.

	* system-config-printer.py (NewPrinterGUI.fillDriverList): Include
	PPD language in driver description (Ubuntu #161037).

	* applet.py (JobManager.refresh): If there are no jobs but there
	is a printer warning/error indicated by the icon, set the icon
	tooltip to the reason description.
	(JobManager.__init__): Fix printer status window columns so that
	the full printer name can be seen.

2007-11-27  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.glade: Set printer icon in Connect dialog.

	* system-config-printer.py (GUI.__init__): Set AboutDialog logo by
	icon name, set URL and email hooks, set icon (Ubuntu #165101).

	* applet.glade: Set Ctrl+R accelerator for Refresh menu
	entry (Ubuntu #137984).

	* system-config-printer.py (GUI.fillPrinterTab): Fetch attributes
	on demand.

	* cupshelpers.py (Printer.getAttributes): Make this method
	public.
	(Printer.__init__): Don't fetch attributes automatically.

	* system-config-printer.py
	(NewPrinterGUI.browse_ipp_queues_thread): Handle exceptions other
	than RuntimeError and cups.IPPError (bug #252304).
	(NewPrinterGUI.on_btnIPPVerify_clicked): Get printer attributes by
	printer URI not name, to prevent pycups constructing a CUPS URI
	(bug #252304).

2007-11-22  Till Kamppeter  <till.kamppeter@gmail.com>

	* print-applet.desktop.in: Removed the last printer.png (Ubuntu package
	did not build with Icon=printer.png in the .desktop file).

2007-11-22  Tim Waugh  <twaugh@redhat.com>

	* configure.in: Version 0.7.78.

2007-11-22  Tim Waugh  <twaugh@redhat.com>

	* applet.py (JobManager.check_state_reasons): Emblems and
	notifications make the icon useful.  For notifications, make the
	icon visible if it was not previously visible.  For emblems, do
	not hide the icon if currently visible (Ubuntu #151360).
	(JobManager.on_icon_hide_activate): When hiding the icon, allow it
	to become visible next time a job is submitted.
	(JobManager.__init__): Attach signal receiver after everything is
	correctly initialised.

2007-11-21  Tim Waugh  <twaugh@redhat.com>

	* cupshelpers.py (activateNewPrinter): Use getDefault (or, failing
	that, getDests) to find whether a default printer is set.
	* system-config-printer.py (GUI.populateList): Likewise.

	* system-config-printer.py (GUI.on_btnPrintTestPage_clicked):
	Better check for whether the CUPS server is local.

2007-11-19  Tim Waugh  <twaugh@redhat.com>

	* applet.py (NewPrinterNotification.any_jobs_or_errors): Fixed
	typo (bug #390431).

	* system-config-printer.py (NewPrinterGUI.on_btnNPApply_clicked):
	Handle unexpected exceptions a little bit better.
	(fatalException): New function.

2007-11-15  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.getSelectedItem): Decode GtkStore
	value from UTF-8.

2007-11-14  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.glade: Add a blank page to the main
	window's right-pane notebook for occasions when there is a problem
	fetching information about the printer.
	* system-config-printer.py (GUI.on_tvMainList_cursor_changed):
	When cupsGetPPD2() fails this is not fatal (bug #382031).

2007-11-13  Tim Waugh  <twaugh@redhat.com>

	* applet.py (WaitForJobs): New class to throttle the rate of
	checking for jobs or error messages when in start-up mode.  This
	prevents the applet being a nuisance when a large number of CUPS
	administration operations are performed in a batch.

2007-11-11  Tim Waugh  <twaugh@redhat.com>

	* manage-print-jobs.desktop.in, my-default-printer.desktop.in,
	system-config-printer.desktop.in: Don't require PNG format
	icon (Ubuntu #152634).

2007-11-06  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.glade: Better widget layouts for JetDirect
	and IPP device types in the New Printer dialog.

	* system-config-printer.py (NewPrinterGUI.update_IPP_URI_label):
	Show the IPP queue name widget and update the forward/backward
	buttons.
	(NewPrinterGUI.on_tvNPDevices_cursor_changed): Set the queue to a
	sensible CUPS template.

2007-10-31  Tim Waugh  <twaugh@redhat.com>

	* ppds.py (main): Allow stand-alone Device ID testing.

2007-10-30  Tim Waugh  <twaugh@redhat.com>

	* configure.in: Version 0.7.77.

2007-10-30  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.glade: Removed reference to applet.png.

	* system-config-printer.glade: Tooltips for the button bar
	buttons (bug #335601).

2007-10-23  Tim Waugh  <twaugh@redhat.com>

	* applet.py (StateReason): Better state reason icon names.

2007-10-18  Tim Waugh  <twaugh@redhat.com>

	* applet.py (JobManager.check_state_reasons): Reverted testing
	change.

2007-10-17  Tim Waugh  <twaugh@redhat.com>

	* print-applet.desktop.in: Removed reference to applet.png.

	* applet.png: Removed.
	* inspecting-printer.png: Removed.
	* Makefile.am: Removed references to shipped icons.

	* applet.py (ICON, JobManager.__init__): Use 'printer' named icon
	from theme (Ubuntu #152634).

	* applet.py (StateReason): Use named icons for state reason
	severities (part of Ubuntu #152634).
	(JobManager.check_state_reasons): Load them from the theme.
	(JobManager.set_printer_status_icon): Likewise.

	* manage-print-jobs.desktop.in (Icon): Likewise.
	* applet.py (JobManager.set_special_status_icon,
	NewPrinterNotification.GetReady): Use 'document-print-preview'
	named icon from theme (Ubuntu #152634).

2007-10-16  Tim Waugh  <twaugh@redhat.com>

	* applet.py: Reverted mistaken commit (Ubuntu #149572).

2007-10-15  Tim Waugh  <twaugh@redhat.com>

	* po/no.po: Removed (bug #332381).
	* configure.in (ALL_LINGUAS): Removed 'no'.

	* Makefile.am (fix-glade): Remove toolbar_style property so as not
	to over-ride the session preferences (Ubuntu #135844).

2007-10-15  Tim Waugh  <twaugh@redhat.com>

	* configure.in: Version 0.7.76.

2007-10-15  Tim Waugh  <twaugh@redhat.com>

	* applet.py (JobManager.__init__): Set text domain for Glade
	(Ubuntu #149572).

2007-10-05  Tim Waugh  <twaugh@redhat.com>

	* ppds.py (PPDs._findBestMatchPPDs): Efficiency improvement (don't
	run lower() on the loop-constant string).
	(PPDs._findBestMatchPPDs): The model search should be performed in
	model order.

2007-10-05  Till Kamppeter  <till.kamppeter@gmail.com>

	* ppds.py (_findBestMatchPPDs): Do case-insensitive match when
	matching "most important" word. Especially important for matching
	Canon printers (Ubuntu #149264).

2007-10-05  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.glade: SMB device screen padding changes.

	* system-config-printer.py (NewPrinterGUI.update_IPP_URI_label):
	New method.
	(NewPrinterGUI.on_entNPTIPPHostname_changed): Use it.
	(NewPrinterGUI.on_entNPTIPPQueuename_changed): New method.
	(NewPrinterGUI.on_btnIPPVerify_clicked): New method.
	(NewPrinterGUI.browse_ipp_queues_thread): Display a different
	message when the IPP request failed.

	* system-config-printer.glade: Another IPP browse change.

	* pysmb.py: More consistency and care in building command lines.

2007-10-03  Till Kamppeter  <till.kamppeter@gmail.com>

	* my-default-printer.py: Corrected gettext domain (Ubuntu #147788).

2007-10-02  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.on_server_changed): Fixed change
	tracking.
	(GUI.fillServerTab): Set sensitivity of 'Allow printing from the
	Internet' (Ubuntu #146471).
	(GUI.save_printer): Fetch server settings if printer was saved.
	This allows us to update the 'not published' label earlier.

	* applet.py (StateReason.__cmp__): Fixed typo (Ubuntu #148022).

	* system-config-printer.glade: Wrap explanation text for other job
	options (Ubuntu #148010).

2007-10-01  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (GUI.on_server_changed): Fixed
	traceback (Ubuntu #139192).

	* my-default-printer.py (Dialog.run): Disable the Set Default
	button when there are no printers available (Ubuntu #146925).

	* system-config-printer.glade: Give a proper name to the Connect
	button.
	* system-config-printer.py (GUI.on_connect_servername_changed):
	Disable the Connect button when the server name is
	empty (Ubuntu #147450).

2007-09-28  Tim Waugh  <twaugh@redhat.com>

	* cupshelpers.py: Removed shebang.
	(Printer.setOption): Convert floating point values to strings in a
	locale-safe manner (Ubuntu #145693).
	(Printer._getAttributes): Avoid mis-interpreting '1,2'-type
	values.

	* system-config-printer.py (GUI.fillPrinterTab): Handle strange
	options a little bit more gracefully.

	* system-config-printer.py: Don't import cupsd module.

	* cupsd.py: Removed.
	* Makefile.am: Don't ship cupsd.py.

	* system-config-printer.glade: Alignment fixes for SMB device
	page.

2007-09-27  Tim Waugh  <twaugh@redhat.com>

	* ppds.py (PPDs.__init__): CUPS sets the 'raw' model's
	ppd-make-and-model to 'Raw Queue' which unfortunately then appears
	as manufacturer Raw and model Queue.  Use 'Generic' for this
	model.

2007-09-26  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py
	(NewPrinterGUI.browse_smb_hosts_thread): This is a translatable
	string.

	* system-config-printer.py (GUI.on_entNPTDevice_changed): Set
	button sensitivity.
	* system-config-printer.glade: Added 'changed' handler for URI
	text entry.

	* system-config-printer.py (NewPrinterGUI.__init__): New widgets.
	(NewPrinterGUI.on_entNPTIPPHostname_changed): New method.
	(NewPrinterGUI.__init__): Set up IPP browser.
	(NewPrinterGUI.on_btnIPPFindQueue_clicked): Display IPP browser.
	(NewPrinterGUI.browse_ipp_queues): Start IPP browse thread.
	(NewPrinterGUI.browse_ipp_queues_thread): Browse for IPP queues.
	(NewPrinterGUI.on_btnIPPBrowseRefresh_clicked): Fixed typo.

	* system-config-printer.glade: IPP browse dialog and re-worked IPP
	device page.

	* system-config-printer.py (GUI.on_tvMainList_row_activated): Just
	selecting printer type headings should not expand or collapse the
	list, but activating them (double-clicking) should.  Part of
	Ubuntu #144106.

	* system-config-printer.py (GUI.setDataButtonState): Don't allow
	test pages for raw queues (Ubuntu #145098).

	* ppds.py (PPDs._findBestMatchPPDs): Rather than just looking for
	the longest initial match in model order, sort our model name into
	the available models and look at the immediate neighbours.  Pick
	the longest initial match from them (bug #244546).
	(main): New ID matching test case.

2007-09-25  Tim Waugh  <twaugh@redhat.com>

	* ppds.py (getDriverType): Fix foomatic recommended driver
	discovery (requires CUPS patch to prevent '(recommended)' string
	getting stripped).
	(PPDs.getDriverTypeWithBias): Let getDriverType have access to the
	PPDs object.

2007-09-23  Till Kamppeter  <till.kamppeter@gmail.com>

	* system-config-printer.py: Added missing argument to call of the
	  set_transient_for() method of ErrorDialog.
	
2007-09-21  Tim Waugh  <twaugh@redhat.com>

	* po/ko.po: Updated (from 0.7.32.x POT; needs further updating).

2007-09-20  Tim Waugh  <twaugh@redhat.com>

	* options.py (OptionAlwaysShownSpecial): New class to handle
	orientation-requsted.
	* system-config-printer.py (GUI.__init__): Use it.

2007-09-19  Tim Waugh  <twaugh@redhat.com>

	* options.py (OptionAlwaysShown.__init__): Handle IPP_TAG_NOVALUE
	by treating the option as not set (i.e. Reset button is not
	sensitive).

	* system-config-printer.py: Require pycups-1.9.27 so that
	IPP_TAG_NOVALUE attributes have Python value None instead of a
	string.

	* options.py (OptionAlwaysShown.__init__): Handle IPP_TAG_NOVALUE
	by translating it to a valid default value.

2007-09-18  Tim Waugh  <twaugh@redhat.com>

	* configure.in: Version 0.7.75.

2007-09-18  Till Kamppeter  <till.kamppeter@gmail.com>

	* system-config-printer.py, system-config-printer.glade: When
	changing the PPD lets the user's settings stay conserved. This is
	the behaviour expected more by the user and it is also the default
	behavior of CUPS.

2007-09-18  Tim Waugh  <twaugh@redhat.com>

	* system-config-printer.py (NewPrinterGUI.nextNPTab): Show the
	'No installable options' label when we can't fetch the PPD.

2007-09-18  Florian Festi  <ffesti@redhat.com>

	* system-config-printer.py: Show Installable Options when changing 
	PPD without accepting old settings
	* system-config-printer.glade: rename Installable Options to Installed Options
	
200
Download .txt
gitextract_5_mh9h8m/

├── .gitattributes
├── .github/
│   ├── dependabot.yml
│   └── workflows/
│       └── differential-shellcheck.yml
├── .gitignore
├── .pylintrc
├── ABOUT-NLS
├── AUTHORS
├── COPYING
├── ChangeLog-OLD
├── HIG.py
├── Makefile.am
├── NEWS
├── OpenPrintingRequest.py
├── PhysicalDevice.py
├── README.md
├── SearchCriterion.py
├── ToolbarSearchEntry.py
├── aclocal.m4
├── applet.py
├── asyncconn.py
├── asyncipp.py
├── asyncpk1.py
├── authconn.py
├── bootstrap
├── check-device-ids.py
├── config.guess
├── config.py.in
├── config.rpath
├── config.sub
├── configure.ac
├── cupshelpers/
│   ├── __init__.py
│   ├── config.py.in
│   ├── cupshelpers.py
│   ├── installdriver.py
│   ├── openprinting.py
│   ├── ppds.py
│   └── xmldriverprefs.py
├── cupspk.py
├── dbus/
│   ├── com.redhat.NewPrinterNotification.conf
│   ├── com.redhat.PrinterDriversInstaller.conf
│   ├── org.fedoraproject.Config.Printing.service.in
│   ├── org.fedoraproject.Config.Printing.xml
│   └── scp-dbus-service.in
├── debug.py
├── dnssdresolve.py
├── errordialogs.py
├── firewallsettings.py
├── gitlog-to-changelog
├── gtkinklevel.py
├── gui.py
├── install-printerdriver.in
├── install-printerdriver.py
├── install-sh
├── installpackage.py
├── jobviewer.py
├── killtimer.py
├── man/
│   └── system-config-printer.xml
├── mkinstalldirs
├── monitor.py
├── newprinter.py
├── options.py
├── optionwidgets.py
├── po/
│   ├── ChangeLog
│   ├── LINGUAS
│   ├── Makefile.in.in
│   ├── Makevars
│   ├── POTFILES.in
│   ├── Rules-quot
│   ├── ar.po
│   ├── as.po
│   ├── ast.po
│   ├── bg.po
│   ├── bn.po
│   ├── bn_IN.po
│   ├── boldquot.sed
│   ├── br.po
│   ├── bs.po
│   ├── ca.po
│   ├── cs.po
│   ├── cy.po
│   ├── da.po
│   ├── de.po
│   ├── el.po
│   ├── en@boldquot.header
│   ├── en@quot.header
│   ├── en_GB.po
│   ├── es.po
│   ├── et.po
│   ├── fa.po
│   ├── fi.po
│   ├── fr.po
│   ├── fur.po
│   ├── gu.po
│   ├── he.po
│   ├── hi.po
│   ├── hr.po
│   ├── hu.po
│   ├── id.po
│   ├── insert-header.sin
│   ├── is.po
│   ├── it.po
│   ├── ja.po
│   ├── ka.po
│   ├── kab.po
│   ├── kk.po
│   ├── kn.po
│   ├── ko.po
│   ├── lo.po
│   ├── lt.po
│   ├── lv.po
│   ├── mai.po
│   ├── ml.po
│   ├── mr.po
│   ├── ms.po
│   ├── nb.po
│   ├── nds.po
│   ├── nl.po
│   ├── nn.po
│   ├── oc.po
│   ├── or.po
│   ├── pa.po
│   ├── pl.po
│   ├── pt.po
│   ├── pt_BR.po
│   ├── quot.sed
│   ├── remove-potcdate.sin
│   ├── ro.po
│   ├── ru.po
│   ├── si.po
│   ├── sk.po
│   ├── sl.po
│   ├── sr.po
│   ├── sr@latin.po
│   ├── sv.po
│   ├── system-config-printer.pot
│   ├── ta.po
│   ├── te.po
│   ├── th.po
│   ├── tr.po
│   ├── uk.po
│   ├── vi.po
│   ├── zh_CN.po
│   ├── zh_Hans.po
│   └── zh_TW.po
├── ppdcache.py
├── ppdippstr.py
├── ppdsloader.py
├── print-applet.desktop.in
├── printerproperties.py
├── probe_printer.py
├── profile-ppds.py
├── pyproject.toml
├── pysmb.py
├── scp-dbus-service.py
├── serversettings.py
├── setup.py
├── smburi.py
├── statereason.py
├── system-config-printer-applet.in
├── system-config-printer.appdata.xml.in
├── system-config-printer.desktop.in
├── system-config-printer.in
├── system-config-printer.py
├── test/
│   └── test-cups-driver.py
├── test_PhysicalDevice.py
├── test_ppds.py
├── timedops.py
├── troubleshoot/
│   ├── CheckLocalServerPublishing.py
│   ├── CheckNetworkServerSanity.py
│   ├── CheckPPDSanity.py
│   ├── CheckPrinterSanity.py
│   ├── CheckSELinux.py
│   ├── CheckUSBPermissions.py
│   ├── ChooseNetworkPrinter.py
│   ├── ChoosePrinter.py
│   ├── DeviceListed.py
│   ├── ErrorLogCheckpoint.py
│   ├── ErrorLogFetch.py
│   ├── ErrorLogParse.py
│   ├── LocalOrRemote.py
│   ├── Locale.py
│   ├── NetworkCUPSPrinterShared.py
│   ├── PrintTestPage.py
│   ├── PrinterStateReasons.py
│   ├── QueueNotEnabled.py
│   ├── QueueRejectingJobs.py
│   ├── RemoteAddress.py
│   ├── SchedulerNotRunning.py
│   ├── ServerFirewalled.py
│   ├── Shrug.py
│   ├── VerifyPackages.py
│   ├── Welcome.py
│   ├── __init__.py
│   └── base.py
├── udev/
│   ├── .gitignore
│   ├── 70-printers.rules
│   ├── configure-printer@.service.in
│   ├── udev-add-printer
│   └── udev-configure-printer.c
├── ui/
│   ├── AboutDialog.ui
│   ├── ConnectDialog.ui
│   ├── ConnectingDialog.ui
│   ├── InstallDialog.ui
│   ├── JobsWindow.ui
│   ├── NewPrinterName.ui
│   ├── NewPrinterWindow.ui
│   ├── PrinterPropertiesDialog.ui
│   ├── PrintersWindow.ui
│   ├── SMBBrowseDialog.ui
│   ├── ServerSettingsDialog.ui
│   ├── WaitWindow.ui
│   ├── remove-gtkalignment.xsl
│   └── statusicon_popupmenu.ui
├── userdefault.py
└── xml/
    ├── preferreddrivers.rng
    ├── preferreddrivers.xml
    └── validate.py
Download .txt
SYMBOL INDEX (1400 symbols across 76 files)

FILE: OpenPrintingRequest.py
  class OpenPrintingRequest (line 32) | class OpenPrintingRequest(GObject.GObject):
    method __init__ (line 53) | def __init__ (self, **args):
    method __del__ (line 60) | def __del__ (self):
    method cancel (line 63) | def cancel (self):
    method searchPrinters (line 72) | def searchPrinters (self, searchterm, user_data=None):
    method _printers_got (line 78) | def _printers_got (self, status, user_data, printers):
    method _query_next_printer (line 94) | def _query_next_printer (self):
    method _printer_drivers_got (line 129) | def _printer_drivers_got (self, status, user_data, drivers):
    method _drivers_got (line 163) | def _drivers_got (self):
  function done (line 178) | def done (obj):
  function error (line 184) | def error (obj, status, err):
  function finished (line 189) | def finished (obj, printers, drivers):

FILE: PhysicalDevice.py
  class PhysicalDevice (line 30) | class PhysicalDevice:
    method __init__ (line 31) | def __init__(self, device):
    method _canonical_id (line 41) | def _canonical_id (self, device):
    method _add_dot_local_if_needed (line 55) | def _add_dot_local_if_needed(self, hostname):
    method _get_address (line 64) | def _get_address (self, hostname):
    method _get_host_from_uri (line 76) | def _get_host_from_uri (self, uri):
    method add_device (line 126) | def add_device (self, device):
    method get_devices (line 226) | def get_devices (self):
    method get_info (line 229) | def get_info (self):
    method set_data (line 272) | def set_data (self, key, value):
    method get_data (line 275) | def get_data (self, key):
    method __str__ (line 278) | def __str__ (self):
    method __repr__ (line 281) | def __repr__ (self):
    method __eq__ (line 286) | def __eq__(self, other):
    method __lt__ (line 352) | def __lt__(self, other):

FILE: SearchCriterion.py
  class SearchCriterion (line 17) | class SearchCriterion:
    method __init__ (line 34) | def __init__ (self,

FILE: ToolbarSearchEntry.py
  class ToolbarSearchEntry (line 38) | class ToolbarSearchEntry (Gtk.HBox):
    method __init__ (line 58) | def __init__ (self):
    method do_get_property (line 98) | def do_get_property (self, property):
    method do_set_property (line 104) | def do_set_property (self, property, value):
    method clear (line 110) | def clear (self):
    method get_text (line 117) | def get_text (self):
    method set_text (line 120) | def set_text (self, text):
    method check_style (line 123) | def check_style (self):
    method on_changed (line 140) | def on_changed (self, UNUSED):
    method on_search_timeout (line 159) | def on_search_timeout (self):
    method on_focus_out_event (line 165) | def on_focus_out_event (self, UNUSED_widget, UNUSED_event):
    method searching (line 176) | def searching (self):
    method on_activate (line 179) | def on_activate (self, UNUSED_entry):
    method grab_focus (line 182) | def grab_focus (self):
    method set_drop_down_menu (line 185) | def set_drop_down_menu (self, menu):
    method on_icon_press (line 198) | def on_icon_press (self, UNUSED, icon_position, event):

FILE: applet.py
  class NewPrinterNotification (line 74) | class NewPrinterNotification(dbus.service.Object):
    method __init__ (line 80) | def __init__ (self, system_bus, session_bus):
    method GetReady (line 89) | def GetReady (self):
    method on_notification_closed (line 104) | def on_notification_closed (self, notification):
    method timeout_ready (line 107) | def timeout_ready (self):
    method NewPrinter (line 118) | def NewPrinter (self, status, name, mfg, mdl, des, cmd):
    method print_test_page (line 234) | def print_test_page (self, notification, action, name):
    method configure (line 240) | def configure (self, notification, action, name):
    method get_newprinterdialog_interface (line 245) | def get_newprinterdialog_interface (self):
    method ignore_dbus_replies (line 253) | def ignore_dbus_replies (self, *args):
    method find_driver (line 256) | def find_driver (self, notification, action, name, devid = ""):
    method setup_printer (line 265) | def setup_printer (self, notification, action, uri, devid = ""):
    method install_driver (line 274) | def install_driver (self, notification, action, missing_pkgs):
    method collect_exit_code (line 280) | def collect_exit_code (self, pid):
  function show_help (line 297) | def show_help ():
  function show_version (line 300) | def show_version ():
  function monitor_session (line 308) | def monitor_session (*args):
  function any_jobs (line 311) | def any_jobs ():
  class RunLoop (line 322) | class RunLoop:
    method __init__ (line 326) | def __init__ (self, session_bus, system_bus, loop):
    method remove_signal_receiver (line 344) | def remove_signal_receiver (self):
    method run (line 356) | def run (self):
    method __del__ (line 359) | def __del__ (self):
    method handle_dbus_signal (line 364) | def handle_dbus_signal (self, *args):
    method check_for_jobs (line 369) | def check_for_jobs (self, *args):

FILE: asyncconn.py
  class SemanticOperations (line 30) | class SemanticOperations(object):
    method __init__ (line 31) | def __init__ (self):
    method _begin_operation (line 34) | def _begin_operation (self, operation):
    method _end_operation (line 37) | def _end_operation (self):
    method current_operation (line 40) | def current_operation (self):
  class _AsyncMethodCall (line 50) | class _AsyncMethodCall:
    method __init__ (line 51) | def __init__ (self, fn, reply_handler, error_handler, auth_handler):
    method __del__ (line 59) | def __del__ (self):
    method destroy (line 62) | def destroy (self):
    method run (line 75) | def run (self, *args, **kwds):
    method reply_handler (line 85) | def reply_handler (self, *args):
    method error_handler (line 91) | def error_handler (self, *args):
    method auth_handler (line 97) | def auth_handler (self, *args):
  class Connection (line 108) | class Connection(SemanticOperations):
    method __init__ (line 109) | def __init__ (self, reply_handler=None, error_handler=None,
    method __del__ (line 171) | def __del__ (self):
    method destroy (line 174) | def destroy (self):
    method _make_binding (line 188) | def _make_binding (self, fn):
    method _call_function (line 191) | def _call_function (self, fn, *args, **kwds):
    method _subst_reply_handler (line 199) | def _subst_reply_handler (self, methodcall, reply_handler, *args):
    method _subst_error_handler (line 209) | def _subst_error_handler (self, methodcall, error_handler, *args):
    method _subst_auth_handler (line 219) | def _subst_auth_handler (self, methodcall, auth_handler, prompt, metho...
    method set_auth_info (line 228) | def set_auth_info (self, password):
  class Test (line 237) | class Test:
    method __init__ (line 238) | def __init__ (self, quit):
    method __del__ (line 243) | def __del__ (self):
    method destroy (line 246) | def destroy (self):
    method getDevices (line 252) | def getDevices (self):
    method getDevices_reply (line 256) | def getDevices_reply (self, conn, result):
    method getDevices_error (line 260) | def getDevices_error (self, conn, exc):

FILE: asyncipp.py
  class _IPPConnectionThread (line 47) | class _IPPConnectionThread(threading.Thread):
    method __init__ (line 48) | def __init__ (self, myqueue, conn, reply_handler=None, error_handler=N...
    method __del__ (line 67) | def __del__ (self):
    method set_auth_info (line 70) | def set_auth_info (self, password):
    method run (line 73) | def run (self):
    method stop (line 172) | def stop (self):
    method _auth (line 176) | def _auth (self, prompt, conn=None, method=None, resource=None):
    method _reply (line 194) | def _reply (self, result):
    method _error (line 205) | def _error (self, exc):
  class IPPConnection (line 221) | class IPPConnection:
    method __init__ (line 236) | def __init__ (self, reply_handler=None, error_handler=None,
    method __del__ (line 264) | def __del__ (self):
    method destroy (line 267) | def destroy (self):
    method _reap_thread (line 277) | def _reap_thread (self):
    method set_auth_info (line 285) | def set_auth_info (self, password):
    method reconnect (line 289) | def reconnect (self, user, reply_handler=None, error_handler=None):
    method _make_binding (line 294) | def _make_binding (self, fn):
    method _call_function (line 297) | def _call_function (self, fn, *args, **kwds):
  class _IPPAuthOperation (line 320) | class _IPPAuthOperation:
    method __init__ (line 321) | def __init__ (self, reply_handler, error_handler, conn,
    method __del__ (line 340) | def __del__ (self):
    method _destroy (line 343) | def _destroy (self):
    method error_handler (line 351) | def error_handler (self, conn, exc):
    method auth_handler (line 434) | def auth_handler (self, prompt, conn, method=None, resource=None):
    method submit_task (line 499) | def submit_task (self):
    method _on_auth_dialog_response (line 509) | def _on_auth_dialog_response (self, dialog, response):
    method _reconnect_reply (line 541) | def _reconnect_reply (self, conn, result):
    method _reconnect_error (line 549) | def _reconnect_error (self, conn, exc):
    method _on_retry_server_error_response (line 588) | def _on_retry_server_error_response (self, dialog, response):
    method _error (line 600) | def _error (self, exc):
  class IPPAuthConnection (line 613) | class IPPAuthConnection(IPPConnection):
    method __init__ (line 614) | def __init__ (self, reply_handler=None, error_handler=None,
    method destroy (line 638) | def destroy (self):
    method _call_function (line 642) | def _call_function (self, fn, *args, **kwds):
  class UI (line 665) | class UI:
    method __init__ (line 666) | def __init__ (self):
    method destroy (line 681) | def destroy (self, window):
    method connect_clicked (line 689) | def connect_clicked (self, button):
    method connected (line 696) | def connected (self, conn, result):
    method connect_failed (line 700) | def connect_failed (self, conn, exc):
    method get_devices (line 705) | def get_devices (self, button):
    method get_devices_reply (line 711) | def get_devices_reply (self, conn, result):
    method get_devices_error (line 719) | def get_devices_error (self, conn, exc):

FILE: asyncpk1.py
  class _PK1AsyncMethodCall (line 59) | class _PK1AsyncMethodCall:
    method __init__ (line 60) | def __init__ (self, bus, conn, pk_method_name, pk_args,
    method __del__ (line 76) | def __del__ (self):
    method call (line 79) | def call (self):
    method _destroy (line 94) | def _destroy (self):
    method _pk_reply_handler (line 108) | def _pk_reply_handler (self, error, *args):
    method _pk_error_handler (line 130) | def _pk_error_handler (self, exc):
    method call_fallback_fn (line 154) | def call_fallback_fn (self):
    method _ipp_reply_handler (line 161) | def _ipp_reply_handler (self, conn, *args):
    method _ipp_error_handler (line 170) | def _ipp_error_handler (self, conn, *args):
  class _WriteToTmpFile (line 182) | class _WriteToTmpFile:
    method __init__ (line 183) | def __init__ (self, kwds, reply_handler, error_handler):
    method __del__ (line 195) | def __del__ (self):
    method get_filename (line 202) | def get_filename (self):
    method reply_handler (line 205) | def reply_handler (self, conn, none):
    method error_handler (line 226) | def error_handler (self, conn, exc):
  class PK1Connection (line 232) | class PK1Connection:
    method __init__ (line 233) | def __init__(self, reply_handler=None, error_handler=None,
    method __del__ (line 294) | def __del__ (self):
    method _make_binding (line 297) | def _make_binding (self, fn):
    method destroy (line 307) | def destroy (self):
    method _coerce (line 314) | def _coerce (self, typ, val):
    method _args_kwds_to_tuple (line 317) | def _args_kwds_to_tuple (self, types, params, args, kwds):
    method _call_with_pk (line 381) | def _call_with_pk (self, use_pycups, pk_method_name, pk_args,
    method _nothing_to_unpack (line 402) | def _nothing_to_unpack (self):
    method getDevices (line 405) | def getDevices (self, *args, **kwds):
    method _unpack_getDevices_reply (line 442) | def _unpack_getDevices_reply (self, dbusdict):
    method cancelJob (line 476) | def cancelJob (self, *args, **kwds):
    method setJobHoldUntil (line 488) | def setJobHoldUntil (self, *args, **kwds):
    method restartJob (line 500) | def restartJob (self, *args, **kwds):
    method getFile (line 511) | def getFile (self, *args, **kwds):
  class UI (line 585) | class UI:
    method __init__ (line 586) | def __init__ (self):
    method __del__ (line 618) | def __del__ (self):
    method destroy (line 621) | def destroy (self, window):
    method button_clicked (line 631) | def button_clicked (self, button):
    method connected (line 638) | def connected (self, conn, result):
    method connection_error (line 645) | def connection_error (self, conn, error):
    method fetch_clicked (line 649) | def fetch_clicked (self, button):
    method got_devices (line 654) | def got_devices (self, conn, devices):
    method get_devices_error (line 661) | def get_devices_error (self, conn, exc):
    method cancel_clicked (line 668) | def cancel_clicked (self, button):
    method job_canceled (line 674) | def job_canceled (self, conn, none):
    method cancel_job_error (line 681) | def cancel_job_error (self, conn, exc):
    method get_file_clicked (line 688) | def get_file_clicked (self, button):
    method got_file (line 694) | def got_file (self, conn, none):
    method get_file_error (line 701) | def get_file_error (self, conn, exc):
    method harmless_clicked (line 708) | def harmless_clicked (self, button):
    method got_jobs (line 712) | def got_jobs (self, conn, result):
    method get_jobs_error (line 718) | def get_jobs_error (self, exc):

FILE: authconn.py
  class AuthDialog (line 38) | class AuthDialog(Gtk.Dialog):
    method __init__ (line 43) | def __init__ (self, title=None, parent=None,
    method set_prompt (line 100) | def set_prompt (self, prompt):
    method set_auth_info (line 107) | def set_auth_info (self, auth_info):
    method get_auth_info (line 111) | def get_auth_info (self):
    method get_remember_password (line 114) | def get_remember_password (self):
    method field_grab_focus (line 120) | def field_grab_focus (self, field):
  class _AuthInfoCache (line 127) | class _AuthInfoCache:
    method __init__ (line 128) | def __init__ (self):
    method cache_auth_info (line 131) | def cache_auth_info (self, data, host=None, port=None):
    method lookup_auth_info (line 137) | def lookup_auth_info (self, host=None, port=None):
    method remove_auth_info (line 146) | def remove_auth_info (self, host=None, port=None):
  class Connection (line 157) | class Connection:
    method __init__ (line 158) | def __init__ (self, parent=None, try_as_root=True, lock=False,
    method _begin_operation (line 181) | def _begin_operation (self, operation):
    method _end_operation (line 185) | def _end_operation (self):
    method _get_prompt_allowed (line 189) | def _get_prompt_allowed (self, ):
    method _set_prompt_allowed (line 192) | def _set_prompt_allowed (self, allowed):
    method _set_lock (line 195) | def _set_lock (self, whether):
    method _connect (line 198) | def _connect (self, allow_pk=True):
    method _using_polkit (line 228) | def _using_polkit (self):
    method _make_binding (line 231) | def _make_binding (self, fname, fn):
    method _authloop (line 234) | def _authloop (self, fname, fn, *args, **kwds):
    method _ask_retry_server_error (line 304) | def _ask_retry_server_error (self, message):
    method _on_retry_server_error_response (line 331) | def _on_retry_server_error_response (self, dialog, response):
    method _failed (line 336) | def _failed (self, forbidden=False):
    method _password_callback (line 340) | def _password_callback (self, prompt):
    method _perform_authentication (line 349) | def _perform_authentication (self):
    method _show_not_authorized_dialog (line 451) | def _show_not_authorized_dialog (self):
    method _on_not_authorized_dialog_response (line 471) | def _on_not_authorized_dialog_response (self, dialog, response):
    method _perform_authentication_with_dialog (line 475) | def _perform_authentication_with_dialog (self):
    method _on_authentication_response (line 505) | def _on_authentication_response (self, dialog, response):

FILE: check-device-ids.py
  function got_device (line 125) | def got_device (dev):
  function driver_uri_to_filename (line 200) | def driver_uri_to_filename (uri):
  function driver_uri_to_pkg (line 224) | def driver_uri_to_pkg (uri):

FILE: cupshelpers/__init__.py
  function _no_debug (line 30) | def _no_debug (x):
  function _debugprint (line 34) | def _debugprint (x):
  function set_debugprint_fn (line 37) | def set_debugprint_fn (debugprint):

FILE: cupshelpers/cupshelpers.py
  class Printer (line 28) | class Printer:
    method __init__ (line 31) | def __init__(self, name, connection, **kw):
    method __del__ (line 57) | def __del__ (self):
    method __repr__ (line 61) | def __repr__ (self):
    method _expand_flags (line 64) | def _expand_flags(self):
    method update (line 83) | def update(self, **kw):
    method getAttributes (line 111) | def getAttributes(self):
    method getServer (line 179) | def getServer(self):
    method getPPD (line 194) | def getPPD(self):
    method setOption (line 218) | def setOption(self, name, value):
    method unsetOption (line 234) | def unsetOption(self, name):
    method setEnabled (line 243) | def setEnabled(self, on, reason=None):
    method setAccepting (line 260) | def setAccepting(self, on, reason=None):
    method setShared (line 277) | def setShared(self,on):
    method setErrorPolicy (line 286) | def setErrorPolicy (self, policy):
    method setOperationPolicy (line 295) | def setOperationPolicy(self, policy):
    method setJobSheets (line 304) | def setJobSheets(self, start, end):
    method setAccess (line 315) | def setAccess(self, allow, except_users):
    method jobsQueued (line 338) | def jobsQueued(self, only_tests=False, limit=None):
    method jobsPreserved (line 375) | def jobsPreserved(self, limit=None):
    method testsQueued (line 410) | def testsQueued(self, limit=None):
    method setAsDefault (line 418) | def setAsDefault(self):
  function getPrinters (line 464) | def getPrinters(connection):
  function parseDeviceID (line 482) | def parseDeviceID (id):
  class Device (line 511) | class Device:
    method __init__ (line 516) | def __init__(self, uri, **kw):
    method __repr__ (line 542) | def __repr__ (self):
    method __lt__ (line 545) | def __lt__(self, other):
  class _GetDevicesCall (line 641) | class _GetDevicesCall(object):
    method call (line 642) | def call (self, connection, kwds):
    method _reply_handler (line 652) | def _reply_handler (self, connection, devices):
  function getDevices (line 664) | def getDevices(connection, **kw):
  function activateNewPrinter (line 676) | def activateNewPrinter(connection, name):
  function copyPPDOptions (line 694) | def copyPPDOptions(ppd1, ppd2):
  function setPPDPageSize (line 726) | def setPPDPageSize(ppd, language):
  function missingExecutables (line 749) | def missingExecutables(ppd):
  function missingPackagesAndExecutables (line 880) | def missingPackagesAndExecutables(ppd):
  function _main (line 892) | def _main():

FILE: cupshelpers/installdriver.py
  class PrinterDriversInstaller (line 27) | class PrinterDriversInstaller(dbus.service.Object):
    method __init__ (line 32) | def __init__ (self, bus):
    method InstallDrivers (line 41) | def InstallDrivers (self, mfg, mdl, cmd,
  function client_test (line 58) | def client_test():

FILE: cupshelpers/openprinting.py
  function _normalize_space (line 32) | def _normalize_space (text):
  class _QueryThread (line 41) | class _QueryThread (threading.Thread):
    method __init__ (line 42) | def __init__ (self, parent, parameters, callback, user_data=None):
    method __del__ (line 53) | def __del__ (self):
    method run (line 56) | def run (self):
  class OpenPrinting (line 83) | class OpenPrinting:
    method __init__ (line 84) | def __init__(self, language=None):
    method __del__ (line 108) | def __del__ (self):
    method cancelOperation (line 111) | def cancelOperation(self, handle):
    method webQuery (line 123) | def webQuery(self, parameters, callback, user_data=None):
    method searchPrinters (line 139) | def searchPrinters(self, searchterm, callback, user_data=None):
    method listDrivers (line 199) | def listDrivers(self, model, callback, user_data=None, extra_options=N...
  function _simple_gui (line 403) | def _simple_gui ():

FILE: cupshelpers/ppds.py
  function ppdMakeModelSplit (line 119) | def ppdMakeModelSplit (ppd_make_and_model):
  function normalize (line 251) | def normalize (strin):
  function _singleton (line 302) | def _singleton (x):
  class PPDs (line 309) | class PPDs:
    method __init__ (line 336) | def __init__ (self, ppds, language=None, xml_dir=None):
    method getMakes (line 411) | def getMakes (self):
    method getModels (line 427) | def getModels (self, make):
    method getInfoFromModel (line 445) | def getInfoFromModel (self, make, model):
    method getInfoFromPPDName (line 459) | def getInfoFromPPDName (self, ppdname):
    method getStatusFromFit (line 466) | def getStatusFromFit (self, fit):
    method orderPPDNamesByPreference (line 469) | def orderPPDNamesByPreference (self, ppdnamelist=None,
    method getPPDNamesFromDeviceID (line 539) | def getPPDNamesFromDeviceID (self, mfg, mdl, description="",
    method getPPDNameFromDeviceID (line 808) | def getPPDNameFromDeviceID (self, mfg, mdl, description="",
    method _findBestMatchPPDs (line 873) | def _findBestMatchPPDs (self, mdls, mdl):
    method _getPPDNameFromCommandSet (line 994) | def _getPPDNameFromCommandSet (self, commandsets=None):
    method _init_makes (line 1034) | def _init_makes (self):
    method _init_ids (line 1143) | def _init_ids (self):
  function _show_help (line 1175) | def _show_help():

FILE: cupshelpers/xmldriverprefs.py
  function PreferredDrivers (line 28) | def PreferredDrivers (filename):
  class DeviceIDMatch (line 32) | class DeviceIDMatch:
    method __init__ (line 36) | def __init__ (self):
    method add_field (line 39) | def add_field (self, field, pattern):
    method match (line 42) | def match (self, deviceid):
  class DriverType (line 70) | class DriverType:
    method __init__ (line 81) | def __init__ (self, name):
    method add_ppd_name (line 94) | def add_ppd_name (self, pattern):
    method add_attribute (line 119) | def add_attribute (self, name, pattern):
    method add_deviceid_match (line 126) | def add_deviceid_match (self, deviceid_match):
    method add_fit (line 132) | def add_fit (self, text):
    method set_packagehint (line 141) | def set_packagehint (self, hint):
    method get_name (line 144) | def get_name (self):
    method __repr__ (line 150) | def __repr__ (self):
    method match (line 153) | def match (self, ppd_name, attributes, fit):
    method get_packagehint (line 213) | def get_packagehint (self):
  class DriverTypes (line 216) | class DriverTypes:
    method __init__ (line 221) | def __init__ (self):
    method load (line 224) | def load (self, drivertypes):
    method match (line 254) | def match (self, ppdname, ppddict, fit):
    method filter (line 266) | def filter (self, pattern):
    method get_ordered_ppdnames (line 275) | def get_ordered_ppdnames (self, drivertypes, ppdsdict, fit):
  class PrinterType (line 316) | class PrinterType:
    method __init__ (line 323) | def __init__ (self):
    method add_make_and_model (line 330) | def add_make_and_model (self, pattern):
    method add_deviceid_match (line 336) | def add_deviceid_match (self, deviceid_match):
    method add_drivertype_pattern (line 342) | def add_drivertype_pattern (self, name):
    method get_drivertype_patterns (line 348) | def get_drivertype_patterns (self):
    method add_avoidtype_pattern (line 354) | def add_avoidtype_pattern (self, name):
    method get_avoidtype_patterns (line 360) | def get_avoidtype_patterns (self):
    method add_blacklisted (line 366) | def add_blacklisted (self, name):
    method get_blacklist (line 372) | def get_blacklist (self):
    method match (line 378) | def match (self, make_and_model, deviceid):
  class PreferenceOrder (line 404) | class PreferenceOrder:
    method __init__ (line 409) | def __init__ (self):
    method load (line 412) | def load (self, preferreddrivers):
    method get_ordered_types (line 444) | def get_ordered_types (self, drivertypes, make_and_model, deviceid):
  function test (line 508) | def test (xml_path=None, attached=False, deviceid=None, debug=False):

FILE: cupspk.py
  class Connection (line 52) | class Connection:
    method __init__ (line 53) | def __init__(self, host, port, encryption):
    method _hack_subclass (line 70) | def _hack_subclass(self):
    method set_parent (line 84) | def set_parent(self, parent):
    method _get_cups_pk (line 88) | def _get_cups_pk(self):
    method _call_with_pk_and_fallback (line 100) | def _call_with_pk_and_fallback(self, use_fallback, pk_function_name, p...
    method _args_to_tuple (line 152) | def _args_to_tuple(self, types, *args):
    method _kwds_to_vars (line 198) | def _kwds_to_vars(self, names, **kwds):
    method getDevices (line 218) | def getDevices(self, *args, **kwds):
    method cancelJob (line 315) | def cancelJob(self, *args, **kwds):
    method setJobHoldUntil (line 327) | def setJobHoldUntil(self, *args, **kwds):
    method restartJob (line 336) | def restartJob(self, *args, **kwds):
    method getFile (line 345) | def getFile(self, *args, **kwds):
    method putFile (line 427) | def putFile(self, *args, **kwds):
    method addPrinter (line 481) | def addPrinter(self, *args, **kwds):
    method setPrinterDevice (line 508) | def setPrinterDevice(self, *args, **kwds):
    method setPrinterInfo (line 518) | def setPrinterInfo(self, *args, **kwds):
    method setPrinterLocation (line 528) | def setPrinterLocation(self, *args, **kwds):
    method setPrinterShared (line 538) | def setPrinterShared(self, *args, **kwds):
    method setPrinterJobSheets (line 548) | def setPrinterJobSheets(self, *args, **kwds):
    method setPrinterErrorPolicy (line 558) | def setPrinterErrorPolicy(self, *args, **kwds):
    method setPrinterOpPolicy (line 568) | def setPrinterOpPolicy(self, *args, **kwds):
    method setPrinterUsersAllowed (line 578) | def setPrinterUsersAllowed(self, *args, **kwds):
    method setPrinterUsersDenied (line 588) | def setPrinterUsersDenied(self, *args, **kwds):
    method addPrinterOptionDefault (line 597) | def addPrinterOptionDefault(self, *args, **kwds):
    method deletePrinterOptionDefault (line 615) | def deletePrinterOptionDefault(self, *args, **kwds):
    method deletePrinter (line 625) | def deletePrinter(self, *args, **kwds):
    method addPrinterToClass (line 636) | def addPrinterToClass(self, *args, **kwds):
    method deletePrinterFromClass (line 646) | def deletePrinterFromClass(self, *args, **kwds):
    method deleteClass (line 656) | def deleteClass(self, *args, **kwds):
    method setDefault (line 667) | def setDefault(self, *args, **kwds):
    method enablePrinter (line 678) | def enablePrinter(self, *args, **kwds):
    method disablePrinter (line 688) | def disablePrinter(self, *args, **kwds):
    method acceptJobs (line 698) | def acceptJobs(self, *args, **kwds):
    method rejectJobs (line 708) | def rejectJobs(self, *args, **kwds):
    method adminGetServerSettings (line 721) | def adminGetServerSettings(self, *args, **kwds):
    method adminSetServerSettings (line 740) | def adminSetServerSettings(self, *args, **kwds):

FILE: debug.py
  function debugprint (line 25) | def debugprint (x):
  function get_debugging (line 33) | def get_debugging ():
  function set_debugging (line 36) | def set_debugging (d):
  function fatalException (line 40) | def fatalException (exitcode=1):
  function nonfatalException (line 44) | def nonfatalException (type="non-fatal", end="Continuing anyway.."):

FILE: dnssdresolve.py
  class DNSSDHostNamesResolver (line 25) | class DNSSDHostNamesResolver:
    method __init__ (line 26) | def __init__ (self, devices):
    method __del__ (line 32) | def __del__ (self):
    method resolve (line 35) | def resolve (self, reply_handler):
    method _resolved (line 80) | def _resolved (self):
    method _reply (line 88) | def _reply (self, interface, protocol, name, stype, domain,
    method _error (line 100) | def _error (self, uri, error):
  class Device (line 105) | class Device:
    method __repr__ (line 106) | def __repr__ (self):
  class Test (line 117) | class Test:
    method __init__ (line 118) | def __init__ (self, loop, devices):
    method run (line 122) | def run (self):
    method reply (line 127) | def reply (self, *args):

FILE: errordialogs.py
  function show_dialog (line 30) | def show_dialog (title, text, type, parent=None):
  function show_info_dialog (line 40) | def show_info_dialog (title, text, parent=None):
  function show_error_dialog (line 43) | def show_error_dialog (title, text, parent=None):
  function show_IPP_Error (line 46) | def show_IPP_Error(exception, message, parent=None):
  function show_HTTP_Error (line 60) | def show_HTTP_Error(status, parent=None):

FILE: firewallsettings.py
  class FirewallD (line 41) | class FirewallD:
    method __init__ (line 42) | def __init__ (self):
    method _get_active_zone (line 64) | def _get_active_zone (self):
    method _get_fw_data (line 80) | def _get_fw_data (self, reply_handler=None, error_handler=None):
    method read (line 102) | def read (self, reply_handler=None, error_handler=None):
    method write (line 109) | def write (self):
    method add_service (line 117) | def add_service (self, service):
    method check_ipp_server_allowed (line 131) | def check_ipp_server_allowed (self):
    method check_samba_client_allowed (line 138) | def check_samba_client_allowed (self):
    method check_mdns_allowed (line 144) | def check_mdns_allowed (self):
  class SystemConfigFirewall (line 154) | class SystemConfigFirewall:
    method __init__ (line 158) | def __init__(self):
    method _get_fw_data (line 169) | def _get_fw_data (self, reply_handler=None, error_handler=None):
    method read (line 196) | def read (self, reply_handler=None, error_handler=None):
    method reply_handler (line 205) | def reply_handler (self, result):
    method error_handler (line 215) | def error_handler (self, exc):
    method write (line 222) | def write (self):
    method _check_any_allowed (line 228) | def _check_any_allowed (self, search):
    method add_service (line 235) | def add_service (self, service):
    method check_ipp_server_allowed (line 245) | def check_ipp_server_allowed (self):
    method check_samba_client_allowed (line 250) | def check_samba_client_allowed (self):
    method check_mdns_allowed (line 253) | def check_mdns_allowed (self):

FILE: gtkinklevel.py
  class GtkInkLevel (line 25) | class GtkInkLevel (Gtk.DrawingArea):
    method __init__ (line 26) | def __init__ (self, color, level=0):
    method set_level (line 38) | def set_level (self, level):
    method get_level (line 42) | def get_level (self):
    method draw (line 45) | def draw (self, widget, ctx):
  function adjust_level (line 118) | def adjust_level (level):

FILE: gui.py
  class GtkGUI (line 31) | class GtkGUI(GObject.GObject):
    method getWidgets (line 32) | def getWidgets(self, widgets, domain=None):
    method connect_signals (line 60) | def connect_signals (self):

FILE: install-printerdriver.py
  function progress (line 11) | def progress(progress, type, user_data):

FILE: installpackage.py
  class PackageKit (line 28) | class PackageKit:
    method __init__ (line 33) | def __init__ (self):
    method InstallPackageName (line 43) | def InstallPackageName (self, xid, timestamp, name):
    method InstallProvideFile (line 52) | def InstallProvideFile (self, xid, timestamp, filename):

FILE: jobviewer.py
  class ServiceGet (line 91) | class ServiceGet:
    method __init__ (line 94) | def __init__(self):
    method get_service (line 98) | def get_service(self):
  class ItemSearch (line 102) | class ItemSearch:
    method __init__ (line 105) | def __init__(self, service, attrs):
    method get_items (line 112) | def get_items(self):
  class PasswordStore (line 116) | class PasswordStore:
    method __init__ (line 117) | def __init__(self, attrs, name, secret):
    method on_password_stored (line 126) | def on_password_stored(self, source, result, unused):
  class PrinterURIIndex (line 130) | class PrinterURIIndex:
    method __init__ (line 131) | def __init__ (self, names=None):
    method _collect_names (line 139) | def _collect_names (self, connection=None):
    method add_printer (line 154) | def add_printer (self, printer, connection=None):
    method update_from_attrs (line 160) | def update_from_attrs (self, printer, attrs):
    method remove_printer (line 175) | def remove_printer (self, printer):
    method lookup (line 183) | def lookup (self, uri, connection=None):
    method all_printer_names (line 190) | def all_printer_names (self):
    method lookup_cached_by_name (line 194) | def lookup_cached_by_name (self, name):
    method _map_printer (line 202) | def _map_printer (self, uri=None, name=None, connection=None):
  class CancelJobsOperation (line 228) | class CancelJobsOperation(GObject.GObject):
    method __init__ (line 237) | def __init__ (self, parent, host, port, encryption, jobids, purge_job):
    method __del__ (line 283) | def __del__ (self):
    method do_destroy (line 286) | def do_destroy (self):
    method destroy (line 297) | def destroy (self):
    method on_job_cancel_prompt_delete (line 300) | def on_job_cancel_prompt_delete (self, dialog, event):
    method on_job_cancel_prompt_response (line 303) | def on_job_cancel_prompt_response (self, dialog, response):
    method _connect_failed (line 321) | def _connect_failed (self, connection, exc):
    method _connected (line 324) | def _connected (self, connection, result):
    method cancelJob_error (line 337) | def cancelJob_error (self, connection, exc):
    method cancelJob_finish (line 354) | def cancelJob_finish (self, connection, result):
  class JobViewer (line 371) | class JobViewer (GtkGUI):
    method __init__ (line 385) | def __init__(self, bus=None, loop=None,
    method cleanup (line 680) | def cleanup (self):
    method set_process_pending (line 712) | def set_process_pending (self, whether):
    method on_delete_event (line 715) | def on_delete_event(self, *args):
    method job_attributes_on_delete_event (line 726) | def job_attributes_on_delete_event(self, widget, event=None):
    method show_IPP_Error (line 733) | def show_IPP_Error(self, exception, message):
    method toggle_window_display (line 736) | def toggle_window_display(self, icon, force_show=False):
    method on_show_completed_jobs_clicked (line 768) | def on_show_completed_jobs_clicked(self, toggletoolbutton):
    method update_job_creation_times (line 777) | def update_job_creation_times(self):
    method print_error_dialog_response (line 835) | def print_error_dialog_response(self, dialog, response, jobid):
    method on_troubleshoot_quit (line 846) | def on_troubleshoot_quit(self, troubleshooter):
    method add_job (line 849) | def add_job (self, job, data, connection=None):
    method update_monitor (line 883) | def update_monitor (self):
    method update_job (line 888) | def update_job (self, job, data, connection=None):
    method get_authentication (line 990) | def get_authentication (self, job, device_uri, printer_uri,
    method display_auth_info_dialog (line 1093) | def display_auth_info_dialog (self, job, keyring_attrs=None):
    method auth_info_dialog_delete (line 1138) | def auth_info_dialog_delete (self, dialog, event):
    method auth_info_dialog_response (line 1141) | def auth_info_dialog_response (self, dialog, response):
    method set_statusicon_visibility (line 1205) | def set_statusicon_visibility (self):
    method on_treeview_popup_menu (line 1241) | def on_treeview_popup_menu (self, treeview):
    method on_treeview_button_release_event (line 1245) | def on_treeview_button_release_event(self, treeview, event):
    method update_sensitivity (line 1249) | def update_sensitivity (self, selection = None):
    method on_selection_changed (line 1344) | def on_selection_changed (self, selection):
    method show_treeview_popup_menu (line 1347) | def show_treeview_popup_menu (self, treeview, event, event_button):
    method on_icon_popupmenu (line 1352) | def on_icon_popupmenu(self, icon, button, time):
    method on_icon_hide_activate (line 1355) | def on_icon_hide_activate(self, menuitem):
    method on_icon_configure_printers_activate (line 1359) | def on_icon_configure_printers_activate(self, menuitem):
    method poll_subprocess (line 1369) | def poll_subprocess(self, process):
    method on_icon_quit_activate (line 1373) | def on_icon_quit_activate (self, menuitem):
    method on_job_cancel_activate (line 1378) | def on_job_cancel_activate(self, menuitem):
    method on_job_delete_activate (line 1381) | def on_job_delete_activate(self, menuitem):
    method on_job_cancel_activate2 (line 1384) | def on_job_cancel_activate2(self, purge_job):
    method on_canceljobs_finished (line 1392) | def on_canceljobs_finished (self, canceljobsoperation):
    method on_canceljobs_error (line 1398) | def on_canceljobs_error (self, canceljobsoperation, jobid, exc):
    method on_job_hold_activate (line 1410) | def on_job_hold_activate(self, menuitem):
    method on_job_release_activate (line 1436) | def on_job_release_activate(self, menuitem):
    method on_job_reprint_activate (line 1462) | def on_job_reprint_activate(self, menuitem):
    method on_job_retrieve_activate (line 1481) | def on_job_retrieve_activate(self, menuitem):
    method _submenu_connect_hack (line 1551) | def _submenu_connect_hack (self, item, callback, *args):
    method on_job_move_activate (line 1561) | def on_job_move_activate(self, menuitem, job_printer_uri):
    method on_job_authenticate_activate (line 1580) | def on_job_authenticate_activate(self, menuitem):
    method on_refresh_clicked (line 1608) | def on_refresh_clicked(self, toolbutton):
    method on_job_attributes_activate (line 1615) | def on_job_attributes_activate(self, menuitem):
    method update_job_attributes_viewer (line 1647) | def update_job_attributes_viewer(self, jobid, conn=None):
    method job_is_active (line 1678) | def job_is_active (self, jobdata):
    method add_state_reason_emblem (line 1686) | def add_state_reason_emblem (self, pixbuf, printer=None):
    method get_icon_pixbuf (line 1729) | def get_icon_pixbuf (self, have_jobs=None):
    method set_statusicon_tooltip (line 1753) | def set_statusicon_tooltip (self, tooltip=None):
    method update_status (line 1768) | def update_status (self, have_jobs=None):
    method notify_printer_state_reason_if_important (line 1832) | def notify_printer_state_reason_if_important (self, reason):
    method notify_printer_state_reason (line 1871) | def notify_printer_state_reason (self, reason):
    method on_state_reason_notification_closed (line 1899) | def on_state_reason_notification_closed (self, notification, reason=No...
    method notify_completed_job (line 1905) | def notify_completed_job (self, jobid):
    method on_completed_job_notification_closed (line 1955) | def on_completed_job_notification_closed (self, notification, reason=N...
    method on_refresh (line 1961) | def on_refresh (self, mon):
    method job_added (line 1968) | def job_added (self, mon, jobid, eventname, event, jobdata):
    method job_event (line 2009) | def job_event (self, mon, jobid, eventname, event, jobdata):
    method job_removed (line 2159) | def job_removed (self, mon, jobid, eventname, event):
    method state_reason_added (line 2191) | def state_reason_added (self, mon, reason):
    method state_reason_removed (line 2218) | def state_reason_removed (self, mon, reason):
    method still_connecting (line 2256) | def still_connecting (self, mon, reason):
    method now_connected (line 2262) | def now_connected (self, mon, printer):
    method printer_added (line 2309) | def printer_added (self, mon, printer):
    method printer_event (line 2312) | def printer_event (self, mon, printer, eventname, event):
    method printer_removed (line 2315) | def printer_removed (self, mon, printer):
    method _set_job_job_number_text (line 2319) | def _set_job_job_number_text (self, column, cell, model, iter, *data):
    method _set_job_user_text (line 2322) | def _set_job_user_text (self, column, cell, model, iter, *data):
    method _set_job_document_text (line 2332) | def _set_job_document_text (self, column, cell, model, iter, *data):
    method _set_job_printer_text (line 2341) | def _set_job_printer_text (self, column, cell, model, iter, *data):
    method _set_job_size_text (line 2354) | def _set_job_size_text (self, column, cell, model, iter, *data):
    method _find_job_state_text (line 2366) | def _find_job_state_text (self, job):
    method _set_job_status_icon (line 2449) | def _set_job_status_icon (self, column, cell, model, iter, *data):
    method _set_job_status_text (line 2485) | def _set_job_status_text (self, column, cell, model, iter, *data):

FILE: killtimer.py
  class KillTimer (line 29) | class KillTimer:
    method __init__ (line 30) | def __init__ (self, timeout=30, killfunc=None):
    method _add_timeout (line 37) | def _add_timeout (self):
    method _kill (line 40) | def _kill (self):
    method add_hold (line 47) | def add_hold (self):
    method remove_hold (line 56) | def remove_hold (self):
    method alive (line 65) | def alive (self):

FILE: monitor.py
  function state_reason_is_harmless (line 39) | def state_reason_is_harmless (reason):
  function collect_printer_state_reasons (line 48) | def collect_printer_state_reasons (connection, ppdcache):
  class Monitor (line 67) | class Monitor(GObject.GObject):
    method __init__ (line 107) | def __init__(self, bus=None, my_jobs=True,
    method get_printers (line 157) | def get_printers (self):
    method get_jobs (line 160) | def get_jobs (self):
    method get_ppdcache (line 163) | def get_ppdcache (self):
    method cleanup (line 166) | def cleanup (self):
    method set_process_pending (line 194) | def set_process_pending (self, whether):
    method check_still_connecting (line 197) | def check_still_connecting(self, printer):
    method update_connecting_devices (line 216) | def update_connecting_devices(self, printer_jobs={}):
    method check_state_reasons (line 277) | def check_state_reasons(self, my_printers=set(), printer_jobs={}):
    method get_notifications (line 329) | def get_notifications(self):
    method refresh (line 504) | def refresh(self, which_jobs=None, refresh_all=True):
    method fetch_jobs (line 626) | def fetch_jobs (self, refresh_all):
    method sort_jobs_by_printer (line 732) | def sort_jobs_by_printer (self, jobs=None):
    method update_jobs (line 754) | def update_jobs(self, jobs):
    method update (line 759) | def update(self):
    method handle_dbus_signal (line 766) | def handle_dbus_signal(self, *args):
  class SignalWatcher (line 773) | class SignalWatcher:
    method __init__ (line 774) | def __init__ (self, monitor):
    method on_monitor_exited (line 791) | def on_monitor_exited (self, obj):
    method on_state_reason_added (line 794) | def on_state_reason_added (self, obj, reason):
    method on_state_reason_removed (line 797) | def on_state_reason_removed (self, obj, reason):
    method on_still_connecting (line 800) | def on_still_connecting (self, obj, reason):
    method on_now_connected (line 803) | def on_now_connected (self, obj, printer):
    method on_job_added (line 806) | def on_job_added (self, obj, jobid, eventname, event, jobdata):
    method on_job_event (line 809) | def on_job_event (self, obj, jobid, eventname, event, jobdata):
    method on_job_removed (line 812) | def on_job_removed (self, obj, jobid, eventname, event):
    method on_printer_added (line 815) | def on_printer_added (self, obj, name):
    method on_printer_event (line 818) | def on_printer_event (self, obj, name, eventname, event):
    method on_printer_removed (line 821) | def on_printer_removed (self, obj, name):
    method on_cups_connection_error (line 824) | def on_cups_connection_error (self, obj):
    method on_cups_ipp_error (line 827) | def on_cups_ipp_error (self, obj, err, errstring):

FILE: newprinter.py
  function validDeviceURI (line 76) | def validDeviceURI (uri):
  function moveClassMembers (line 85) | def moveClassMembers(treeview_from, treeview_to):
  function getCurrentClassMembers (line 99) | def getCurrentClassMembers(treeview):
  function checkNPName (line 109) | def checkNPName(printers, name):
  function ready (line 117) | def ready (win, cursor=None):
  function busy (line 127) | def busy (win):
  function on_delete_just_hide (line 130) | def on_delete_just_hide (widget, event):
  function _singleton (line 134) | def _singleton (x):
  function download_gpg_fingerprint (line 141) | def download_gpg_fingerprint(url):
  class NewPrinterGUI (line 173) | class NewPrinterGUI(GtkGUI):
    method __init__ (line 218) | def __init__(self):
    method __del__ (line 510) | def __del__ (self):
    method do_destroy (line 513) | def do_destroy (self):
    method inc_spinner_task (line 527) | def inc_spinner_task (self):
    method dec_spinner_task (line 534) | def dec_spinner_task (self):
    method show_IPP_Error (line 540) | def show_IPP_Error (self, exception, message):
    method option_changed (line 545) | def option_changed(self, option):
    method setDataButtonState (line 559) | def setDataButtonState(self):
    method makeNameUnique (line 562) | def makeNameUnique(self, name):
    method destroy (line 576) | def destroy (self):
    method init (line 579) | def init(self, dialog_mode, device_uri=None, name=None, ppd=None,
    method _validInitParameters (line 690) | def _validInitParameters (self):
    method _initialiseClassMode (line 697) | def _initialiseClassMode (self):
    method _initialisePrinterMode (line 706) | def _initialisePrinterMode (self):
    method _initialiseDeviceMode (line 716) | def _initialiseDeviceMode (self):
    method _initialisePrinterWithURIMode (line 721) | def _initialisePrinterWithURIMode (self):
    method _initialiseDownloadDriverMode (line 735) | def _initialiseDownloadDriverMode (self):
    method _initialisePPDMode (line 742) | def _initialisePPDMode (self):
    method _initialiseWidgetsForMode (line 768) | def _initialiseWidgetsForMode (self, mode_name):
    method _initialiseDeviceFromURI (line 778) | def _initialiseDeviceFromURI (self):
    method _initialiseAutoVariables (line 782) | def _initialiseAutoVariables (self):
    method change_ppd_got_devs (line 787) | def change_ppd_got_devs (self, conn, result):
    method on_ppdsloader_finished_next (line 812) | def on_ppdsloader_finished_next (self, ppdsloader):
    method _getPPDs_reply (line 836) | def _getPPDs_reply (self, ppdsloader):
    method fillNewClassMembers (line 862) | def fillNewClassMembers(self):
    method on_btnNCAddMember_clicked (line 876) | def on_btnNCAddMember_clicked(self, button):
    method on_btnNCDelMember_clicked (line 882) | def on_btnNCDelMember_clicked(self, button):
    method on_tvNCMembers_cursor_changed (line 888) | def on_tvNCMembers_cursor_changed(self, widget):
    method on_tvNCNotMembers_cursor_changed (line 896) | def on_tvNCNotMembers_cursor_changed(self, widget):
    method on_NPCancel (line 906) | def on_NPCancel(self, widget, event=None):
    method on_btnNPBack_clicked (line 935) | def on_btnNPBack_clicked(self, widget):
    method on_btnNPForward_clicked (line 938) | def on_btnNPForward_clicked(self, widget):
    method installdriverpackage (line 941) | def installdriverpackage (self, driver):
    method do_installdriverpackage (line 981) | def do_installdriverpackage(self, name, repo, keyid):
    method _getDriverInstallationInfo (line 1039) | def _getDriverInstallationInfo (self, driver):
    method _installdialog_response (line 1088) | def _installdialog_response (self, dialog, response):
    method nextNPTab (line 1091) | def nextNPTab(self, step=1):
    method _getPagesOrderForDialogMode (line 1192) | def _getPagesOrderForDialogMode (self):
    method _handlePrinterInstallationMode (line 1335) | def _handlePrinterInstallationMode (self, step):
    method _handlePrinterInstallationStage (line 1370) | def _handlePrinterInstallationStage (self, page_nr, step):
    method _installSMBBackendIfNeeded (line 1404) | def _installSMBBackendIfNeeded (self):
    method _selectDeviceForInstallation (line 1417) | def _selectDeviceForInstallation (self, uri):
    method _handleDriverInstallation (line 1497) | def _handleDriverInstallation (self):
    method _installHPScannerFilesIfNeeded (line 1523) | def _installHPScannerFilesIfNeeded (self):
    method _loadPPDsForDevice (line 1536) | def _loadPPDsForDevice (self, devid, uri):
    method _installPrinterFromDeviceID (line 1547) | def _installPrinterFromDeviceID (self, devid, page_nr, step):
    method _installPrinterOrSearchForDriver (line 1648) | def _installPrinterOrSearchForDriver (self, devid, ppdname, status, pa...
    method _searchdialog_response (line 1727) | def _searchdialog_response (self, dialog, response):
    method opreq_id_search_done (line 1743) | def opreq_id_search_done (self, opreq, printers, drivers):
    method opreq_id_search_error (line 1795) | def opreq_id_search_error (self, opreq, status, err):
    method _installSelectedDriverFromOpenPrinting (line 1801) | def _installSelectedDriverFromOpenPrinting(self):
    method setNPButtons (line 1829) | def setNPButtons(self):
    method _is_driver_license_accepted (line 1960) | def _is_driver_license_accepted(self):
    method on_entNPName_changed (line 1973) | def on_entNPName_changed(self, widget):
    method fetchDevices (line 1989) | def fetchDevices(self, network=False, current_uri=None):
    method error_getting_devices (line 2014) | def error_getting_devices (self, conn, exc):
    method local_devices_reply (line 2022) | def local_devices_reply (self, conn, result, current_uri):
    method network_devices_reply (line 2032) | def network_devices_reply (self, conn, result, current_uri):
    method dnssd_resolve_reply (line 2060) | def dnssd_resolve_reply (self, current_uri, devices):
    method get_hpfax_device_id (line 2065) | def get_hpfax_device_id(self, faxuri):
    method get_hplip_scan_type_for_uri (line 2101) | def get_hplip_scan_type_for_uri(self, uri):
    method get_hplip_uri_for_network_printer (line 2127) | def get_hplip_uri_for_network_printer(self, host, mode):
    method getNetworkPrinterMakeModel (line 2149) | def getNetworkPrinterMakeModel(self, host=None, device=None):
    method fillDeviceTab (line 2232) | def fillDeviceTab(self, current_uri=None):
    method on_firewall_read (line 2274) | def on_firewall_read (self, data):
    method adjust_firewall_response (line 2306) | def adjust_firewall_response (self, dialog, response):
    method start_fetching_devices (line 2316) | def start_fetching_devices (self):
    method add_devices (line 2322) | def add_devices (self, devices, current_uri, no_more=False):
    method install_python3_smbc_if_needed (line 2485) | def install_python3_smbc_if_needed (self):
    method browse_smb_hosts (line 2515) | def browse_smb_hosts(self):
    method smb_select_function (line 2587) | def smb_select_function (self, selection, model, path, path_selected, ...
    method smbbrowser_cell_share (line 2592) | def smbbrowser_cell_share (self, column, cell, model, iter, data):
    method smbbrowser_cell_comment (line 2599) | def smbbrowser_cell_comment (self, column, cell, model, iter, data):
    method on_tvSMBBrowser_row_activated (line 2606) | def on_tvSMBBrowser_row_activated (self, view, path, column):
    method on_tvSMBBrowser_row_expanded (line 2621) | def on_tvSMBBrowser_row_expanded (self, view, iter, path):
    method set_btnSMBVerify_sensitivity (line 2719) | def set_btnSMBVerify_sensitivity (self, on):
    method on_entSMBURI_changed (line 2725) | def on_entSMBURI_changed (self, ent):
    method on_tvSMBBrowser_cursor_changed (line 2744) | def on_tvSMBBrowser_cursor_changed(self, widget):
    method on_btnSMBBrowse_clicked (line 2758) | def on_btnSMBBrowse_clicked(self, button):
    method on_btnSMBBrowseOk_clicked (line 2798) | def on_btnSMBBrowseOk_clicked(self, button):
    method on_btnSMBBrowseCancel_clicked (line 2828) | def on_btnSMBBrowseCancel_clicked(self, widget, *args):
    method on_btnSMBBrowseRefresh_clicked (line 2831) | def on_btnSMBBrowseRefresh_clicked(self, button):
    method on_rbtnSMBAuthSet_toggled (line 2834) | def on_rbtnSMBAuthSet_toggled(self, widget):
    method on_btnSMBVerify_clicked (line 2837) | def on_btnSMBVerify_clicked(self, button):
    method entry_changed (line 2914) | def entry_changed(self, entry, allowed_chars):
    method on_entNPTDevice_changed (line 2925) | def on_entNPTDevice_changed(self, ent):
    method on_entNPTJetDirectHostname_changed (line 2930) | def on_entNPTJetDirectHostname_changed(self, ent):
    method on_entNPTJetDirectPort_changed (line 2935) | def on_entNPTJetDirectPort_changed(self, ent):
    method on_expNPDeviceURIs_expanded (line 2939) | def on_expNPDeviceURIs_expanded (self, widget, UNUSED):
    method device_row_separator_fn (line 2955) | def device_row_separator_fn (self, model, iter, data):
    method device_row_activated (line 2958) | def device_row_activated (self, view, path, column):
    method check_firewall (line 2964) | def check_firewall (self):
    method device_row_expanded (line 3007) | def device_row_expanded (self, view, iter, path):
    method device_select_function (line 3016) | def device_select_function (self, selection, model, path, *UNUSED):
    method on_tvNPDevices_cursor_changed (line 3029) | def on_tvNPDevices_cursor_changed(self, widget):
    method on_tvNPDeviceURIs_cursor_changed (line 3233) | def on_tvNPDeviceURIs_cursor_changed(self, widget):
    method on_entNPTLpdHost_changed (line 3398) | def on_entNPTLpdHost_changed(self, ent):
    method on_entNPTLpdQueue_changed (line 3403) | def on_entNPTLpdQueue_changed(self, ent):
    method on_btnNPTLpdProbe_clicked (line 3406) | def on_btnNPTLpdProbe_clicked(self, button):
    method on_entNPTNetworkHostname_changed (line 3440) | def on_entNPTNetworkHostname_changed(self, ent):
    method on_btnNetworkFind_clicked (line 3462) | def on_btnNetworkFind_clicked(self, button):
    method found_network_printer_callback (line 3481) | def found_network_printer_callback (self, new_device):
    method getDeviceURI (line 3527) | def getDeviceURI(self):
    method on_rbtnNPFoomatic_toggled (line 3585) | def on_rbtnNPFoomatic_toggled(self, widget):
    method on_filechooserPPD_selection_changed (line 3625) | def on_filechooserPPD_selection_changed(self, widget):
    method on_btnNPDownloadableDriverSearch_clicked (line 3628) | def on_btnNPDownloadableDriverSearch_clicked(self, widget):
    method opreq_user_search_done (line 3654) | def opreq_user_search_done (self, opreq, printers, drivers):
    method opreq_user_search_error (line 3706) | def opreq_user_search_error (self, opreq, status, err):
    method on_cmbNPDownloadableDriverFoundPrinters_changed (line 3711) | def on_cmbNPDownloadableDriverFoundPrinters_changed(self, widget):
    method fillDownloadableDrivers (line 3724) | def fillDownloadableDrivers(self):
    method on_rbtnNPDownloadLicense_toggled (line 3802) | def on_rbtnNPDownloadLicense_toggled(self, widget):
    method fillMakeList (line 3807) | def fillMakeList(self):
    method on_tvNPMakes_cursor_changed (line 3857) | def on_tvNPMakes_cursor_changed(self, tvNPMakes):
    method fillModelList (line 3869) | def fillModelList(self):
    method fillDriverList (line 3901) | def fillDriverList(self, pmake, pmodel):
    method on_NPDrivers_query_tooltip (line 3998) | def on_NPDrivers_query_tooltip(self, tv, x, y, keyboard_mode, tooltip):
    method on_tvNPModels_cursor_changed (line 4019) | def on_tvNPModels_cursor_changed(self, widget):
    method on_tvNPDrivers_cursor_changed (line 4034) | def on_tvNPDrivers_cursor_changed(self, widget):
    method on_tvNPDownloadableDrivers_cursor_changed (line 4037) | def on_tvNPDownloadableDrivers_cursor_changed(self, widget):
    method getNPPPD (line 4155) | def getNPPPD(self):
    method fillNPInstallableOptions (line 4256) | def fillNPInstallableOptions(self):
    method on_btnNPApply_clicked (line 4310) | def on_btnNPApply_clicked(self, widget):
  function show_help (line 4498) | def show_help():
  function on_signal (line 4537) | def on_signal (*args):

FILE: options.py
  class IPPResolution (line 31) | class IPPResolution(tuple):
    method __new__ (line 32) | def __new__ (cls, values):
    method __init__ (line 57) | def __init__ (self, values):
    method __str__ (line 60) | def __str__ (self):
  function OptionWidget (line 65) | def OptionWidget(name, v, s, on_change):
  class OptionInterface (line 108) | class OptionInterface:
    method get_default (line 109) | def get_default(self):
    method get_current_value (line 112) | def get_current_value(self):
    method is_changed (line 115) | def is_changed(self):
  class OptionAlwaysShown (line 118) | class OptionAlwaysShown(OptionInterface):
    method __init__ (line 124) | def __init__(self, name, ipp_type, system_default,
    method get_default (line 161) | def get_default(self):
    method set_default (line 164) | def set_default(self, system_default):
    method reinit (line 170) | def reinit(self, original_value, supported=None):
    method set_widget_value (line 237) | def set_widget_value(self, ipp_value):
    method get_widget_value (line 263) | def get_widget_value(self):
    method get_current_value (line 297) | def get_current_value(self):
    method is_changed (line 300) | def is_changed(self):
    method reset (line 322) | def reset(self):
    method changed (line 327) | def changed(self):
  class OptionAlwaysShownSpecial (line 331) | class OptionAlwaysShownSpecial(OptionAlwaysShown):
    method __init__ (line 332) | def __init__(self, name, ipp_type, system_default,
    method show_special_choice (line 342) | def show_special_choice (self):
    method hide_special_choice (line 353) | def hide_special_choice (self):
    method reinit (line 362) | def reinit(self, original_value, supported=None):
    method reset (line 370) | def reset(self):
    method changed (line 374) | def changed(self):
  class Option (line 379) | class Option(OptionInterface):
    method __init__ (line 383) | def __init__(self, name, value, supported, on_change):
    method get_current_value (line 396) | def get_current_value(self):
    method is_changed (line 399) | def is_changed(self):
    method changed (line 403) | def changed(self, widget, *args):
  class OptionSelectOne (line 408) | class OptionSelectOne(Option):
    method __init__ (line 410) | def __init__(self, name, value, supported, on_change):
    method get_current_value (line 430) | def get_current_value(self):
  class OptionSelectOneResolution (line 435) | class OptionSelectOneResolution(OptionSelectOne):
    method __init__ (line 436) | def __init__(self, name, value, supported, on_change):
    method string (line 448) | def string(self, value):
    method value (line 452) | def value(self, string):
    method get_current_value (line 457) | def get_current_value(self):
  class OptionSelectOneNumber (line 462) | class OptionSelectOneNumber(OptionSelectOne):
    method get_current_value (line 464) | def get_current_value(self):
  class OptionSelectMany (line 469) | class OptionSelectMany(Option):
    method __init__ (line 471) | def __init__(self, name, value, supported, on_change):
    method get_current_value (line 484) | def get_current_value(self):
  class OptionNumeric (line 490) | class OptionNumeric(Option):
    method __init__ (line 491) | def __init__(self, name, value, supported, on_change):
    method get_current_value (line 513) | def get_current_value(self):
  class OptionText (line 520) | class OptionText(Option):
    method __init__ (line 521) | def __init__(self, name, value, supported, on_change):
    method get_current_value (line 528) | def get_current_value(self):

FILE: optionwidgets.py
  function OptionWidget (line 28) | def OptionWidget(option, ppd, gui, tab_label=None):
  class Option (line 47) | class Option:
    method __init__ (line 48) | def __init__(self, option, ppd, gui, tab_label=None):
    method enable (line 79) | def enable(self, enabled=True):
    method disable (line 83) | def disable(self):
    method is_enabled (line 86) | def is_enabled(self):
    method get_current_value (line 89) | def get_current_value(self):
    method is_changed (line 92) | def is_changed(self):
    method writeback (line 95) | def writeback(self):
    method checkConflicts (line 100) | def checkConflicts(self, update_others=True):
    method on_change (line 163) | def on_change(self, widget):
    method on_btnConflict_clicked (line 166) | def on_btnConflict_clicked(self, button):
  class OptionBool (line 180) | class OptionBool(Option):
    method __init__ (line 182) | def __init__(self, option, ppd, gui, tab_label=None):
    method get_current_value (line 198) | def get_current_value(self):
  class OptionPickOne (line 203) | class OptionPickOne(Option):
    method __init__ (line 206) | def __init__(self, option, ppd, gui, tab_label=None):
    method get_current_value (line 229) | def get_current_value(self):
  class OptionPickMany (line 234) | class OptionPickMany(OptionPickOne):
    method __init__ (line 237) | def __init__(self, option, ppd, gui, tab_label=None):

FILE: ppdcache.py
  class PPDCache (line 33) | class PPDCache:
    method __init__ (line 34) | def __init__ (self, host=None, port=None, encryption=None):
    method __del__ (line 46) | def __del__ (self):
    method fetch_ppd (line 51) | def fetch_ppd (self, name, callback, check_uptodate=True):
    method _connect (line 98) | def _connect (self, callback=None):
    method _got_ppd (line 105) | def _got_ppd (self, connection, name, result, callback):
    method _got_ppd3 (line 123) | def _got_ppd3 (self, connection, name, result, callback):
    method _connected (line 163) | def _connected (self, connection, exc):
    method _schedule_callback (line 176) | def _schedule_callback (self, callback, name, result, exc):
  function signal (line 193) | def signal (name, result, exc):

FILE: ppdippstr.py
  class TranslationDict (line 34) | class TranslationDict:
    method __init__ (line 37) | def __init__ (self, d):
    method get (line 40) | def get (self, str):
  function init (line 43) | def init ():

FILE: ppdsloader.py
  class PPDsLoader (line 36) | class PPDsLoader(GObject.GObject):
    method __init__ (line 56) | def __init__ (self, device_id=None, parent=None, device_uri=None,
    method run (line 97) | def run (self):
    method __del__ (line 114) | def __del__ (self):
    method destroy (line 117) | def destroy (self):
    method get_installed_files (line 129) | def get_installed_files (self):
    method get_ppds (line 132) | def get_ppds (self):
    method get_ppdsmatch_result (line 135) | def get_ppdsmatch_result (self):
    method get_error (line 138) | def get_error (self):
    method _dialog_response (line 142) | def _dialog_response (self, dialog, response):
    method _query_cups (line 147) | def _query_cups (self):
    method _cups_connect_reply (line 158) | def _cups_connect_reply (self, conn, UNUSED):
    method _cups_reply (line 163) | def _cups_reply (self, conn, result):
    method _cups_error (line 205) | def _cups_error (self, conn, exc):
    method _query_packagekit (line 216) | def _query_packagekit (self):
    method _packagekit_reply (line 237) | def _packagekit_reply (self):
    method _packagekit_error (line 244) | def _packagekit_error (self, exc):
    method _query_jockey (line 250) | def _query_jockey (self):
    method _jockey_reply (line 262) | def _jockey_reply (self, conn, result):
    method _jockey_error (line 271) | def _jockey_error (self, exc):
  class Foo (line 287) | class Foo:
    method __init__ (line 288) | def __init__ (self):
    method go (line 297) | def go (self, button):
    method ppds_loaded (line 303) | def ppds_loaded (self, ppdsloader):

FILE: printerproperties.py
  function CUPS_server_hostname (line 53) | def CUPS_server_hostname ():
  function on_delete_just_hide (line 59) | def on_delete_just_hide (widget, event):
  class PrinterPropertiesDialog (line 63) | class PrinterPropertiesDialog(GtkGUI):
    method __init__ (line 79) | def __init__(self):
    method __del__ (line 508) | def __del__ (self):
    method _connect (line 512) | def _connect (self, collection, obj, name, handler):
    method _disconnect (line 517) | def _disconnect (self, collection=None):
    method do_destroy (line 530) | def do_destroy (self):
    method destroy (line 535) | def destroy (self):
    method set_monitor (line 543) | def set_monitor (self, monitor):
    method show (line 556) | def show (self, name, host=None, encryption=None, parent=None):
    method printer_properties_response (line 607) | def printer_properties_response (self, dialog, response):
    method on_delete (line 656) | def on_delete(self, dialog, event):
    method on_printer_changed (line 659) | def on_printer_changed(self, widget):
    method option_changed (line 696) | def option_changed(self, option):
    method getPUsers (line 716) | def getPUsers(self):
    method setPUsers (line 725) | def setPUsers(self, users):
    method checkPUsersChanged (line 735) | def checkPUsersChanged(self):
    method on_btnPAddUser_clicked (line 749) | def on_btnPAddUser_clicked(self, button):
    method on_btnPDelUser_clicked (line 756) | def on_btnPDelUser_clicked(self, button):
    method on_entPUser_changed (line 765) | def on_entPUser_changed(self, widget):
    method on_tvPUsers_cursor_changed (line 768) | def on_tvPUsers_cursor_changed(self, widget):
    method on_job_option_reset (line 777) | def on_job_option_reset(self, button):
    method on_job_option_changed (line 789) | def on_job_option_changed(self, widget):
    method draw_other_job_options (line 806) | def draw_other_job_options (self, editable=True):
    method add_job_option (line 832) | def add_job_option(self, name, value = "", supported = "", is_new=True,
    method on_btnJOOtherRemove_clicked (line 853) | def on_btnJOOtherRemove_clicked(self, button):
    method on_btnNewJobOption_clicked (line 865) | def on_btnNewJobOption_clicked(self, button):
    method on_entNewJobOption_changed (line 873) | def on_entNewJobOption_changed(self, widget):
    method on_entNewJobOption_activate (line 878) | def on_entNewJobOption_activate(self, widget):
    method setDataButtonState (line 882) | def setDataButtonState(self):
    method save_printer (line 987) | def save_printer(self, printer, saveall=False, parent=None):
    method getPrinterSettings (line 1125) | def getPrinterSettings(self):
    method on_tvPrinterProperties_selection_changed (line 1131) | def on_tvPrinterProperties_selection_changed (self, selection):
    method on_tvPrinterProperties_cursor_changed (line 1146) | def on_tvPrinterProperties_cursor_changed (self, treeview):
    method printTestPage (line 1157) | def printTestPage (self):
    method on_btnPrintTestPage_clicked (line 1160) | def on_btnPrintTestPage_clicked(self, button):
    method maintenance_command (line 1220) | def maintenance_command (self, command):
    method on_btnSelfTest_clicked (line 1254) | def on_btnSelfTest_clicked(self, button):
    method on_btnCleanHeads_clicked (line 1257) | def on_btnCleanHeads_clicked(self, button):
    method fillComboBox (line 1260) | def fillComboBox(self, combobox, values, value, translationdict=None):
    method load (line 1277) | def load (self, name, host=None, encryption=None, parent=None):
    method updatePrinterPropertiesTreeView (line 1481) | def updatePrinterPropertiesTreeView (self):
    method updateMarkerLevels (line 1494) | def updateMarkerLevels (self):
    method on_btnRefreshMarkerLevels_clicked (line 1590) | def on_btnRefreshMarkerLevels_clicked (self, button):
    method updateStateReasons (line 1593) | def updateStateReasons (self):
    method set_printer_state_reason_icon (line 1620) | def set_printer_state_reason_icon (self, column, cell, model, iter, *d...
    method set_printer_state_reason_text (line 1629) | def set_printer_state_reason_text (self, column, cell, model, iter, *d...
    method updatePrinterProperties (line 1632) | def updatePrinterProperties(self):
    method fillPrinterOptions (line 1680) | def fillPrinterOptions(self, name, editable):
    method fillClassMembers (line 1793) | def fillClassMembers(self, editable):
    method on_btnClassAddMember_clicked (line 1822) | def on_btnClassAddMember_clicked(self, button):
    method on_btnClassDelMember_clicked (line 1831) | def on_btnClassDelMember_clicked(self, button):
    method sensitise_new_printer_widgets (line 1840) | def sensitise_new_printer_widgets (self, sensitive=True):
    method desensitise_new_printer_widgets (line 1849) | def desensitise_new_printer_widgets (self):
    method on_btnSelectDevice_clicked (line 1853) | def on_btnSelectDevice_clicked(self, button):
    method on_btnChangePPD_clicked (line 1866) | def on_btnChangePPD_clicked(self, button):
    method on_printer_modified (line 1880) | def on_printer_modified (self, obj, name, ppd_has_changed):
    method on_printer_not_modified (line 1894) | def on_printer_not_modified (self, obj):
    method on_printer_event (line 1898) | def on_printer_event (self, mon, printer, eventname, event):
    method on_printer_removed (line 1901) | def on_printer_removed (self, mon, printer):
    method on_state_reason_added (line 1909) | def on_state_reason_added (self, mon, reason):
    method on_state_reason_removed (line 1918) | def on_state_reason_removed (self, mon, reason):
    method on_cups_connection_error (line 1927) | def on_cups_connection_error (self, mon):
  function on_dialog_closed (line 1943) | def on_dialog_closed (obj):

FILE: probe_printer.py
  class pysmb (line 40) | class pysmb:
    class AuthContext (line 41) | class AuthContext:
  function wordsep (line 44) | def wordsep (line):
  function open_socket (line 93) | def open_socket(hostname, port):
  class LpdServer (line 123) | class LpdServer:
    method __init__ (line 124) | def __init__(self, hostname):
    method probe_queue (line 129) | def probe_queue(self,name, result):
    method get_possible_queue_names (line 165) | def get_possible_queue_names (self):
    method destroy (line 177) | def destroy(self):
    method probe (line 181) | def probe(self):
  class BackgroundSmbAuthContext (line 201) | class BackgroundSmbAuthContext(pysmb.AuthContext):
    method __init__ (line 205) | def __init__ (self, *args, **kwargs):
    method _do_perform_authentication (line 209) | def _do_perform_authentication (self):
    method perform_authentication (line 216) | def perform_authentication (self):
  class PrinterFinder (line 229) | class PrinterFinder:
    method __init__ (line 230) | def __init__ (self):
    method find (line 233) | def find (self, hostname, callback_fn):
    method cancel (line 238) | def cancel (self):
    method _do_find (line 242) | def _do_find (self):
    method _new_device (line 262) | def _new_device (self, uri, info, location = None):
    method _probe_snmp (line 272) | def _probe_snmp (self):
    method _probe_lpd (line 332) | def _probe_lpd (self):
    method _probe_hplip (line 357) | def _probe_hplip (self):
    method _probe_smb (line 395) | def _probe_smb (self):
    method _probe_jetdirect (line 438) | def _probe_jetdirect (self):
    method _probe_ipp (line 455) | def _probe_ipp (self):
  function display (line 507) | def display (device):

FILE: pysmb.py
  class _None (line 34) | class _None(RuntimeError):
  class AuthContext (line 48) | class AuthContext:
    method __init__ (line 49) | def __init__ (self, parent=None, workgroup='', user='', passwd=''):
    method perform_authentication (line 61) | def perform_authentication (self):
    method initial_authentication (line 163) | def initial_authentication (self):
    method failed (line 170) | def failed (self, exc=None):
    method callback (line 182) | def callback (self, server, share, workgroup, user, password):

FILE: scp-dbus-service.py
  class FetchedPPDs (line 61) | class FetchedPPDs(GObject.GObject):
    method __init__ (line 68) | def __init__ (self, cupsconn, language):
    method is_ready (line 74) | def is_ready (self):
    method get_ppds (line 77) | def get_ppds (self):
    method run (line 80) | def run (self):
    method _cups_error (line 86) | def _cups_error (self, conn, exc):
    method _cups_getppds_reply (line 90) | def _cups_getppds_reply (self, conn, result):
  class GetBestDriversRequest (line 95) | class GetBestDriversRequest:
    method __init__ (line 96) | def __init__ (self, device_id, device_make_and_model, device_uri,
    method __del__ (line 129) | def __del__ (self):
    method _disconnect_signals (line 132) | def _disconnect_signals (self):
    method _ppds_error (line 136) | def _ppds_error (self, fetchedppds, exc):
    method _ppds_ready (line 140) | def _ppds_ready (self, fetchedppds):
    method _destroy_dialog (line 211) | def _destroy_dialog (self):
    method on_driver_download_checked (line 218) | def on_driver_download_checked(self, obj, installed_files):
    method on_dialog_canceled (line 230) | def on_dialog_canceled(self, obj):
  class GroupPhysicalDevicesRequest (line 235) | class GroupPhysicalDevicesRequest:
    method __init__ (line 236) | def __init__ (self, devices, reply_handler, error_handler):
    method __del__ (line 261) | def __del__ (self):
    method _group (line 264) | def _group (self, resolved_devices=None):
  class ConfigPrintingNewPrinterDialog (line 288) | class ConfigPrintingNewPrinterDialog(dbus.service.Object):
    method __init__ (line 289) | def __init__ (self, bus, path, cupsconn):
    method __del__ (line 306) | def __del__ (self):
    method NewPrinterFromDevice (line 312) | def NewPrinterFromDevice(self, xid, device_uri, device_id):
    method DownloadDriverForDeviceID (line 319) | def DownloadDriverForDeviceID(self, xid, device_id):
    method ChangePPD (line 325) | def ChangePPD(self, xid, name, device_id):
    method _change_ppd_got_ppd (line 332) | def _change_ppd_got_ppd(self, name, ppd, exc):
    method _change_ppd_with_dev (line 338) | def _change_ppd_with_dev (self, conn, result):
    method _do_change_ppd (line 342) | def _do_change_ppd(self, conn, exc=None):
    method DialogCanceled (line 348) | def DialogCanceled(self):
    method PrinterAdded (line 353) | def PrinterAdded(self, name):
    method PrinterModified (line 358) | def PrinterModified(self, name, ppd_has_changed):
    method DriverDownloadChecked (line 363) | def DriverDownloadChecked(self, installed_files):
    method on_dialog_canceled (line 366) | def on_dialog_canceled(self, obj):
    method on_printer_added (line 373) | def on_printer_added(self, obj, name):
    method on_printer_modified (line 380) | def on_printer_modified(self, obj, name, ppd_has_changed):
    method on_driver_download_checked (line 387) | def on_driver_download_checked(self, obj, installed_files):
    method remove_handles (line 394) | def remove_handles (self):
  class ConfigPrintingPrinterPropertiesDialog (line 398) | class ConfigPrintingPrinterPropertiesDialog(dbus.service.Object):
    method __init__ (line 399) | def __init__ (self, bus, path, xid, name):
    method PrintTestPage (line 412) | def PrintTestPage (self):
    method Finished (line 418) | def Finished (self):
    method on_dialog_closed (line 421) | def on_dialog_closed (self, dialog):
  class ConfigPrintingJobApplet (line 428) | class ConfigPrintingJobApplet(dbus.service.Object):
    method __init__ (line 429) | def __init__ (self, bus, path):
    method __del__ (line 443) | def __del__ (self):
    method Quit (line 448) | def Quit(self):
    method Finished (line 453) | def Finished(self):
    method on_jobapplet_finished (line 456) | def on_jobapplet_finished (self, jobapplet):
  class ConfigPrinting (line 463) | class ConfigPrinting(dbus.service.Object):
    method __init__ (line 464) | def __init__ (self):
    method destroy (line 477) | def destroy (self):
    method NewPrinterDialog (line 482) | def NewPrinterDialog(self):
    method PrinterPropertiesDialog (line 492) | def PrinterPropertiesDialog(self, xid, name):
    method JobApplet (line 501) | def JobApplet(self):
    method GetBestDrivers (line 513) | def GetBestDrivers(self, device_id, device_make_and_model, device_uri,
    method MissingExecutables (line 521) | def MissingExecutables(self, ppd_filename):
    method GroupPhysicalDevices (line 528) | def GroupPhysicalDevices(self, devices, reply_handler, error_handler):
  function _client_demo (line 531) | def _client_demo ():

FILE: serversettings.py
  class _UnobtrusiveButton (line 48) | class _UnobtrusiveButton(Gtk.Button):
    method __init__ (line 49) | def __init__ (self, **args):
  class ServerSettings (line 59) | class ServerSettings(GtkGUI):
    method __init__ (line 69) | def __init__ (self, host=None, encryption=None, parent=None):
    method get_dialog (line 126) | def get_dialog (self):
    method problems_clicked (line 129) | def problems_clicked (self, button):
    method _fillAdvanced (line 132) | def _fillAdvanced(self):
    method _fillBasic (line 198) | def _fillBasic(self):
    method on_server_changed (line 243) | def on_server_changed(self, widget):
    method _connect (line 256) | def _connect (self, widget, signal, handler, reason=None):
    method _disconnect (line 262) | def _disconnect (self, reason=None):
    method on_treeview_selection_changed (line 268) | def on_treeview_selection_changed (self, selection):
    method on_add_clicked (line 271) | def on_add_clicked (self, button):
    method on_browse_poll_edited (line 283) | def on_browse_poll_edited (self, cell, path, newvalue):
    method on_browse_poll_edit_cancel (line 339) | def on_browse_poll_edit_cancel (self, cell):
    method on_remove_clicked (line 349) | def on_remove_clicked (self, button):
    method on_response (line 359) | def on_response (self, dialog, response):
    method _reconnect (line 371) | def _reconnect (self):
    method saveAdvanced (line 388) | def saveAdvanced (self):
    method saveBasic (line 516) | def saveBasic (self):
  function quit (line 590) | def quit (*args):
  function problems (line 593) | def problems (obj):

FILE: smburi.py
  function urlquote (line 25) | def urlquote (x):
  class SMBURI (line 32) | class SMBURI:
    method __init__ (line 33) | def __init__ (self,
    method _construct (line 48) | def _construct (self, group, host, share, user='', password=''):
    method get_uri (line 64) | def get_uri (self):
    method sanitize_uri (line 67) | def sanitize_uri (self):
    method separate (line 71) | def separate (self):

FILE: statereason.py
  class StateReason (line 28) | class StateReason:
    method __init__ (line 39) | def __init__(self, printer, reason, ppdcache=None):
    method _got_ppd (line 48) | def _got_ppd (self, name, result, exc):
    method get_printer (line 51) | def get_printer (self):
    method get_level (line 54) | def get_level (self):
    method get_reason (line 81) | def get_reason (self):
    method __repr__ (line 94) | def __repr__ (self):
    method get_description (line 107) | def get_description (self):
    method get_tuple (line 169) | def get_tuple (self):
    method __eq__ (line 172) | def __eq__(self, other):
    method __lt__ (line 177) | def __lt__(self, other):

FILE: system-config-printer.py
  function show_help (line 60) | def show_help():
  function CUPS_server_hostname (line 120) | def CUPS_server_hostname ():
  class ServiceStart (line 126) | class ServiceStart:
    method _get_iface (line 128) | def _get_iface (self, iface):
    method can_start (line 134) | def can_start (self):
    method start (line 142) | def start(self, reply_handler, error_handler):
  class SysVServiceStart (line 147) | class SysVServiceStart(ServiceStart):
    method _start (line 152) | def _start(self, proxy, reply_handler, error_handler):
  class SystemDServiceStart (line 157) | class SystemDServiceStart(ServiceStart):
    method _start (line 163) | def _start(self, proxy, reply_handler, error_handler):
  class GUI (line 170) | class GUI(GtkGUI):
    method __init__ (line 181) | def __init__(self):
    method display_properties_dialog_for (line 549) | def display_properties_dialog_for (self, queue):
    method setup_toolbar_for_search_entry (line 566) | def setup_toolbar_for_search_entry (self):
    method on_search_entry_search (line 581) | def on_search_entry_search (self, UNUSED, text):
    method on_filter_criterion_changed (line 585) | def on_filter_criterion_changed (self, UNUSED, selected_action):
    method dests_iconview_item_activated (line 589) | def dests_iconview_item_activated (self, iconview, path):
    method on_properties_dialog_closed (line 617) | def on_properties_dialog_closed (self, obj):
    method dests_iconview_selection_changed (line 620) | def dests_iconview_selection_changed (self, iconview):
    method dests_iconview_popup_menu (line 692) | def dests_iconview_popup_menu (self, iconview):
    method dests_iconview_button_press_event (line 696) | def dests_iconview_button_press_event (self, iconview, event):
    method dests_iconview_key_press_event (line 715) | def dests_iconview_key_press_event (self, iconview, event):
    method dests_iconview_drag_data_get (line 734) | def dests_iconview_drag_data_get (self, iconview, context,
    method dests_iconview_set_accessible_names (line 749) | def dests_iconview_set_accessible_names (self):
    method on_server_settings_activate (line 755) | def on_server_settings_activate (self, menuitem):
    method setConnected (line 768) | def setConnected(self):
    method polkit_permission_changed (line 816) | def polkit_permission_changed (self, widget, UNUSED):
    method getServers (line 843) | def getServers(self):
    method populateList (line 849) | def populateList(self, prompt_allowed=True):
    method on_connect_servername_changed (line 1148) | def on_connect_servername_changed(self, widget):
    method on_connect_activate (line 1151) | def on_connect_activate(self, widget):
    method update_connecting_pbar (line 1201) | def update_connecting_pbar (self):
    method on_connectingdialog_delete (line 1214) | def on_connectingdialog_delete (self, widget, event):
    method on_cancel_connect_clicked (line 1218) | def on_cancel_connect_clicked(self, widget):
    method connect (line 1227) | def connect(self, parent=None):
    method reconnect (line 1302) | def reconnect (self):
    method on_btnCancelConnect_clicked (line 1320) | def on_btnCancelConnect_clicked(self, widget):
    method on_btnRefresh_clicked (line 1326) | def on_btnRefresh_clicked(self, button):
    method set_system_or_user_default_printer (line 1338) | def set_system_or_user_default_printer (self, name):
    method set_default_printer (line 1359) | def set_default_printer (self, name):
    method on_quit_activate (line 1394) | def on_quit_activate(self, widget, event=None):
    method is_rename_possible (line 1412) | def is_rename_possible (self, name):
    method rename_confirmed_by_user (line 1422) | def rename_confirmed_by_user (self, name):
    method on_rename_activate (line 1444) | def on_rename_activate(self, *UNUSED):
    method printer_name_edit_start (line 1479) | def printer_name_edit_start (self, cell, editable, path):
    method printer_name_editing (line 1495) | def printer_name_editing (self, entry):
    method printer_name_editing_done (line 1504) | def printer_name_editing_done (self, entry, cell, name):
    method printer_name_edit_cancel (line 1518) | def printer_name_edit_cancel (self, cell):
    method rename_printer (line 1527) | def rename_printer (self, old_name, new_name):
    method duplicate_printer (line 1643) | def duplicate_printer (self, new_name):
    method on_duplicate_activate (line 1653) | def on_duplicate_activate(self, *UNUSED):
    method on_entDuplicateName_changed (line 1684) | def on_entDuplicateName_changed(self, widget):
    method on_delete_activate (line 1698) | def on_delete_activate(self, *UNUSED):
    method delete_selected_printer_queues (line 1701) | def delete_selected_printer_queues (self):
    method on_enabled_activate (line 1749) | def on_enabled_activate(self, toggle_action):
    method on_shared_activate (line 1778) | def on_shared_activate(self, menuitem):
    method advise_publish (line 1827) | def advise_publish(self):
    method on_set_as_default_activate (line 1837) | def on_set_as_default_activate(self, *UNUSED):
    method on_edit_activate (line 1849) | def on_edit_activate (self, *UNUSED):
    method on_create_class_activate (line 1853) | def on_create_class_activate (self, UNUSED):
    method on_view_print_queue_activate (line 1879) | def on_view_print_queue_activate (self, *UNUSED):
    method on_jobviewer_exit (line 1899) | def on_jobviewer_exit (self, viewer):
    method on_view_discovered_printers_activate (line 1908) | def on_view_discovered_printers_activate (self, UNUSED):
    method on_troubleshoot_activate (line 1911) | def on_troubleshoot_activate(self, widget):
    method on_troubleshoot_quit (line 1915) | def on_troubleshoot_quit(self, troubleshooter):
    method sensitise_main_window_widgets (line 1918) | def sensitise_main_window_widgets (self, sensitive=True):
    method desensitise_main_window_widgets (line 1945) | def desensitise_main_window_widgets (self):
    method on_about_activate (line 1949) | def on_about_activate(self, widget):
    method on_problems_button_clicked (line 1959) | def on_problems_button_clicked (self, serversettings):
    method sensitise_new_printer_widgets (line 1968) | def sensitise_new_printer_widgets(self, sensitive=True):
    method desensitise_new_printer_widgets (line 1975) | def desensitise_new_printer_widgets(self):
    method on_new_printer_activate (line 1979) | def on_new_printer_activate(self, widget, *UNUSED):
    method on_new_class_activate (line 1991) | def on_new_class_activate(self, widget, *UNUSED):
    method on_new_printer_not_added (line 2000) | def on_new_printer_not_added (self, obj):
    method on_new_printer_added (line 2003) | def on_new_printer_added (self, obj, name):
    method on_start_service_clicked (line 2069) | def on_start_service_clicked (self, button):
    method on_start_service_reply (line 2074) | def on_start_service_reply (self, *args):
    method service_started_try (line 2077) | def service_started_try (self):
    method service_started_retry (line 2087) | def service_started_retry (self):
    method checkDriverExists (line 2098) | def checkDriverExists(self, parent, name, ppd=None):
    method on_printer_modified (line 2167) | def on_printer_modified (self, obj, name, ppd_has_changed):
    method defer_refresh (line 2197) | def defer_refresh (self):
    method printer_added_or_removed (line 2214) | def printer_added_or_removed (self):
    method printer_added (line 2219) | def printer_added (self, mon, printer):
    method printer_event (line 2222) | def printer_event (self, mon, printer, eventname, event):
    method printer_removed (line 2228) | def printer_removed (self, mon, printer):
    method cups_connection_error (line 2231) | def cups_connection_error (self, mon):
    method cups_connection_recovered (line 2236) | def cups_connection_recovered (self, mon):
  function main (line 2240) | def main(show_jobs):

FILE: test/test-cups-driver.py
  class TimedOut (line 39) | class TimedOut(Exception):
    method __init__ (line 40) | def __init__ (self):
  class MissingExecutables (line 43) | class MissingExecutables(Exception):
    method __init__ (line 44) | def __init__ (self):
  class Driver (line 47) | class Driver:
    method __init__ (line 48) | def __init__ (self, driver):
    method _alarm (line 54) | def _alarm (self, sig, stack):
    method list (line 57) | def list (self):
    method cat (line 86) | def cat (self, name):

FILE: test_PhysicalDevice.py
  function test_ordering (line 30) | def test_ordering():

FILE: test_ppds.py
  function _singleton (line 41) | def _singleton (x):
  function test_ppds (line 49) | def test_ppds():

FILE: timedops.py
  class OperationCanceled (line 39) | class OperationCanceled(RuntimeError):
  class Timed (line 42) | class Timed:
    method run (line 43) | def run (self):
    method cancel (line 46) | def cancel (self):
  class TimedSubprocess (line 49) | class TimedSubprocess(Timed):
    method __init__ (line 50) | def __init__ (self, timeout=60000, parent=None, show_dialog=True,
    method run (line 71) | def run (self):
    method do_timeout (line 92) | def do_timeout (self):
    method watcher (line 97) | def watcher (self, source, condition):
    method show_wait_window (line 110) | def show_wait_window (self):
    method wait_window_response (line 128) | def wait_window_response (self, dialog, response):
    method cancel (line 132) | def cancel (self):
  class OperationThread (line 140) | class OperationThread(threading.Thread):
    method __init__ (line 141) | def __init__ (self, target=None, args=(), kwargs={}):
    method run (line 150) | def run (self):
    method collect_result (line 159) | def collect_result (self):
  class TimedOperation (line 169) | class TimedOperation(Timed):
    method __init__ (line 170) | def __init__ (self, target, args=(), kwargs={}, parent=None,
    method run (line 186) | def run (self):
    method _check_thread (line 214) | def _check_thread (self):
    method _wait_window_response (line 233) | def _wait_window_response (self, dialog, response):
    method cancel (line 237) | def cancel (self):

FILE: troubleshoot/CheckLocalServerPublishing.py
  class CheckLocalServerPublishing (line 25) | class CheckLocalServerPublishing(Question):
    method __init__ (line 26) | def __init__ (self, troubleshooter):
    method display (line 40) | def display (self):
    method collect_answer (line 71) | def collect_answer (self):
    method cancel_operation (line 77) | def cancel_operation (self):
    method timedop (line 80) | def timedop (self, *args, **kwargs):

FILE: troubleshoot/CheckNetworkServerSanity.py
  class CheckNetworkServerSanity (line 38) | class CheckNetworkServerSanity(Question):
    method __init__ (line 39) | def __init__ (self, troubleshooter):
    method display (line 43) | def display (self):
    method collect_answer (line 200) | def collect_answer (self):
    method cancel_operation (line 203) | def cancel_operation (self):

FILE: troubleshoot/CheckPPDSanity.py
  class CheckPPDSanity (line 34) | class CheckPPDSanity(Question):
    method __init__ (line 35) | def __init__ (self, troubleshooter):
    method display (line 58) | def display (self):
    method connect_signals (line 151) | def connect_signals (self, handle):
    method disconnect_signals (line 155) | def disconnect_signals (self):
    method collect_answer (line 158) | def collect_answer (self):
    method cancel_operation (line 161) | def cancel_operation (self):
    method install_clicked (line 164) | def install_clicked (self, button):

FILE: troubleshoot/CheckPrinterSanity.py
  class CheckPrinterSanity (line 32) | class CheckPrinterSanity(Question):
    method __init__ (line 33) | def __init__ (self, troubleshooter):
    method display (line 38) | def display (self):
    method collect_answer (line 136) | def collect_answer (self):

FILE: troubleshoot/CheckSELinux.py
  class CheckSELinux (line 30) | class CheckSELinux(Question):
    method __init__ (line 31) | def __init__ (self, troubleshooter):
    method display (line 35) | def display (self):
    method collect_answer (line 77) | def collect_answer (self):
    method cancel_operation (line 80) | def cancel_operation (self):

FILE: troubleshoot/CheckUSBPermissions.py
  class CheckUSBPermissions (line 31) | class CheckUSBPermissions(Question):
    method __init__ (line 32) | def __init__ (self, troubleshooter):
    method display (line 36) | def display (self):
    method collect_answer (line 169) | def collect_answer (self):
    method cancel_operation (line 172) | def cancel_operation (self):

FILE: troubleshoot/ChooseNetworkPrinter.py
  class ChooseNetworkPrinter (line 28) | class ChooseNetworkPrinter(Question):
    method __init__ (line 29) | def __init__ (self, troubleshooter):
    method display (line 58) | def display (self):
    method connect_signals (line 125) | def connect_signals (self, handler):
    method disconnect_signals (line 128) | def disconnect_signals (self):
    method can_click_forward (line 131) | def can_click_forward (self):
    method collect_answer (line 137) | def collect_answer (self):
    method cancel_operation (line 165) | def cancel_operation (self):

FILE: troubleshoot/ChoosePrinter.py
  class NoPrinter (line 24) | class NoPrinter:
  class ChoosePrinter (line 33) | class ChoosePrinter(Question):
    method __init__ (line 34) | def __init__ (self, troubleshooter):
    method display (line 64) | def display (self):
    method connect_signals (line 117) | def connect_signals (self, handler):
    method disconnect_signals (line 120) | def disconnect_signals (self):
    method can_click_forward (line 123) | def can_click_forward (self):
    method collect_answer (line 129) | def collect_answer (self):
    method cancel_operation (line 152) | def cancel_operation (self):
    method timedop (line 155) | def timedop (self, *args, **kwargs):

FILE: troubleshoot/DeviceListed.py
  class NoDevice (line 24) | class NoDevice:
  class DeviceListed (line 33) | class DeviceListed(Question):
    method __init__ (line 34) | def __init__ (self, troubleshooter):
    method display (line 64) | def display (self):
    method connect_signals (line 129) | def connect_signals (self, handler):
    method disconnect_signals (line 132) | def disconnect_signals (self):
    method can_click_forward (line 135) | def can_click_forward (self):
    method collect_answer (line 141) | def collect_answer (self):
    method cancel_operation (line 170) | def cancel_operation (self):

FILE: troubleshoot/ErrorLogCheckpoint.py
  class ErrorLogCheckpoint (line 37) | class ErrorLogCheckpoint(Question):
    method __init__ (line 38) | def __init__ (self, troubleshooter):
    method __del__ (line 59) | def __del__ (self):
    method display (line 77) | def display (self):
    method connect_signals (line 120) | def connect_signals (self, handler):
    method disconnect_signals (line 124) | def disconnect_signals (self):
    method collect_answer (line 127) | def collect_answer (self):
    method can_click_forward (line 176) | def can_click_forward (self):
    method enable_clicked (line 179) | def enable_clicked (self, button, handler):
    method cancel_operation (line 244) | def cancel_operation (self):

FILE: troubleshoot/ErrorLogFetch.py
  class ErrorLogFetch (line 38) | class ErrorLogFetch(Question):
    method __init__ (line 39) | def __init__ (self, troubleshooter):
    method display (line 52) | def display (self):
    method collect_answer (line 163) | def collect_answer (self):
    method cancel_operation (line 168) | def cancel_operation (self):

FILE: troubleshoot/ErrorLogParse.py
  class ErrorLogParse (line 26) | class ErrorLogParse(Question):
    method __init__ (line 30) | def __init__ (self, troubleshooter):
    method display (line 42) | def display (self):

FILE: troubleshoot/LocalOrRemote.py
  class LocalOrRemote (line 23) | class LocalOrRemote(Multichoice):
    method __init__ (line 24) | def __init__ (self, troubleshooter):
    method display (line 33) | def display (self):

FILE: troubleshoot/Locale.py
  class Locale (line 28) | class Locale(Question):
    method __init__ (line 29) | def __init__ (self, troubleshooter):
    method display (line 54) | def display (self):
    method collect_answer (line 121) | def collect_answer (self):

FILE: troubleshoot/NetworkCUPSPrinterShared.py
  class NetworkCUPSPrinterShared (line 25) | class NetworkCUPSPrinterShared(Question):
    method __init__ (line 26) | def __init__ (self, troubleshooter):
    method display (line 33) | def display (self):
    method can_click_forward (line 72) | def can_click_forward (self):
    method collect_answer (line 75) | def collect_answer (self):
    method cancel_operation (line 78) | def cancel_operation (self):

FILE: troubleshoot/PrintTestPage.py
  class PrintTestPage (line 42) | class PrintTestPage(Question):
    method __init__ (line 51) | def __init__ (self, troubleshooter):
    method display (line 128) | def display (self):
    method connect_signals (line 218) | def connect_signals (self, handler):
    method disconnect_signals (line 256) | def disconnect_signals (self):
    method collect_answer (line 286) | def collect_answer (self):
    method cancel_operation (line 336) | def cancel_operation (self):
    method handle_dbus_signal (line 345) | def handle_dbus_signal (self, *args):
    method update_job (line 350) | def update_job (self, jobid, job_dict):
    method print_clicked (line 369) | def print_clicked (self, widget):
    method cancel_clicked (line 436) | def cancel_clicked (self, widget):
    method test_toggled (line 460) | def test_toggled (self, cell, path):
    method update_jobs_list (line 466) | def update_jobs_list (self):

FILE: troubleshoot/PrinterStateReasons.py
  class PrinterStateReasons (line 31) | class PrinterStateReasons(Question):
    method __init__ (line 32) | def __init__ (self, troubleshooter):
    method display (line 44) | def display (self):
    method collect_answer (line 115) | def collect_answer (self):
    method cancel_operation (line 122) | def cancel_operation (self):

FILE: troubleshoot/QueueNotEnabled.py
  class QueueNotEnabled (line 26) | class QueueNotEnabled(Question):
    method __init__ (line 27) | def __init__ (self, troubleshooter):
    method display (line 37) | def display (self):
    method can_click_forward (line 81) | def can_click_forward (self):

FILE: troubleshoot/QueueRejectingJobs.py
  class QueueRejectingJobs (line 26) | class QueueRejectingJobs(Question):
    method __init__ (line 27) | def __init__ (self, troubleshooter):
    method display (line 45) | def display (self):
    method can_click_forward (line 80) | def can_click_forward (self):

FILE: troubleshoot/RemoteAddress.py
  class RemoteAddress (line 25) | class RemoteAddress(Question):
    method __init__ (line 26) | def __init__ (self, troubleshooter):
    method display (line 53) | def display (self):
    method collect_answer (line 60) | def collect_answer (self):

FILE: troubleshoot/SchedulerNotRunning.py
  class SchedulerNotRunning (line 25) | class SchedulerNotRunning(Question):
    method __init__ (line 26) | def __init__ (self, troubleshooter):
    method display (line 36) | def display (self):
    method can_click_forward (line 55) | def can_click_forward (self):
    method collect_answer (line 58) | def collect_answer (self):
    method cancel_operation (line 61) | def cancel_operation (self):

FILE: troubleshoot/ServerFirewalled.py
  class ServerFirewalled (line 25) | class ServerFirewalled(Question):
    method __init__ (line 26) | def __init__ (self, troubleshooter):
    method display (line 37) | def display (self):
    method can_click_forward (line 52) | def can_click_forward (self):

FILE: troubleshoot/Shrug.py
  class Shrug (line 25) | class Shrug(Question):
    method __init__ (line 26) | def __init__ (self, troubleshooter):
    method display (line 57) | def display (self):
    method connect_signals (line 61) | def connect_signals (self, handler):
    method disconnect_signals (line 64) | def disconnect_signals (self):
    method on_save_clicked (line 67) | def on_save_clicked (self, button):

FILE: troubleshoot/VerifyPackages.py
  class VerifyPackages (line 29) | class VerifyPackages(Question):
    method __init__ (line 30) | def __init__ (self, troubleshooter):
    method display (line 34) | def display (self):
    method collect_answer (line 72) | def collect_answer (self):
    method cancel_operation (line 75) | def cancel_operation (self):

FILE: troubleshoot/Welcome.py
  class AuthConnFactory (line 28) | class AuthConnFactory:
    method __init__ (line 29) | def __init__ (self, parent):
    method get_connection (line 32) | def get_connection (self):
  class Welcome (line 35) | class Welcome(Question):
    method __init__ (line 36) | def __init__ (self, troubleshooter):
    method collect_answer (line 59) | def collect_answer (self):
    method cancel_operation (line 68) | def cancel_operation (self):

FILE: troubleshoot/__init__.py
  class Troubleshooter (line 47) | class Troubleshooter:
    method __init__ (line 48) | def __init__ (self, quitfn=None, parent=None):
    method quit (line 114) | def quit (self, *args):
    method get_window (line 137) | def get_window (self):
    method no_more_questions (line 142) | def no_more_questions (self, question):
    method new_page (line 151) | def new_page (self, widget, question):
    method is_moving_backwards (line 169) | def is_moving_backwards (self):
    method answers_as_text (line 172) | def answers_as_text (self):
    method busy (line 186) | def busy (self):
    method ready (line 196) | def ready (self):
    method _set_back_forward_buttons (line 204) | def _set_back_forward_buttons (self, *args):
    method _on_back_clicked (line 220) | def _on_back_clicked (self, widget):
    method _on_forward_clicked (line 251) | def _on_forward_clicked (self, widget):
    method _dump_answers (line 283) | def _dump_answers (self):
    method _report_traceback (line 286) | def _report_traceback (self):
    method _display (line 300) | def _display (self, question):
    method _can_click_forward (line 310) | def _can_click_forward (self, question):
    method _collect_answer (line 317) | def _collect_answer (self, question):
  function run (line 358) | def run (quitfn=None, parent=None):

FILE: troubleshoot/base.py
  class Question (line 40) | class Question:
    method __init__ (line 41) | def __init__ (self, troubleshooter, name=None):
    method display (line 46) | def display (self):
    method connect_signals (line 51) | def connect_signals (self, handler):
    method disconnect_signals (line 54) | def disconnect_signals (self):
    method can_click_forward (line 57) | def can_click_forward (self):
    method collect_answer (line 60) | def collect_answer (self):
    method cancel_operation (line 63) | def cancel_operation (self):
    method initial_vbox (line 67) | def initial_vbox (self, title='', text=''):
  class Multichoice (line 83) | class Multichoice(Question):
    method __init__ (line 84) | def __init__ (self, troubleshooter, question_tag, question_title,
    method collect_answer (line 105) | def collect_answer (self):

FILE: udev/udev-configure-printer.c
  function ipp_op_t (line 77) | ipp_op_t
  function ipp_status_t (line 83) | ipp_status_t
  function ipp_tag_t (line 89) | ipp_tag_t
  function ipp_tag_t (line 95) | ipp_tag_t
  function ippGetInteger (line 101) | int
  function ipp_attribute_t (line 116) | ipp_attribute_t	*
  function ipp_attribute_t (line 124) | ipp_attribute_t *
  type device_uris (line 134) | struct device_uris
  type usb_uri_map_entry (line 140) | struct usb_uri_map_entry
  type usb_uri_map (line 151) | struct usb_uri_map
  type device_id (line 160) | struct device_id
  function device_uri_type (line 175) | static int
  function add_device_uri (line 189) | static void
  function free_device_uris (line 239) | static void
  function add_usb_uri_mapping (line 248) | static void
  type usb_uri_map (line 275) | struct usb_uri_map
  type usb_uri_map (line 279) | struct usb_uri_map
  type flock (line 280) | struct flock
  type stat (line 281) | struct stat
  type usb_uri_map (line 301) | struct usb_uri_map
  type device_uris (line 346) | struct device_uris
  function write_usb_uri_map (line 382) | static void
  function free_usb_uri_map (line 433) | static void
  function clear_device_id (line 451) | static void
  function parse_device_id (line 460) | static void
  function device_file_filter (line 529) | int
  type udev (line 536) | struct udev
  type udev_device (line 536) | struct udev_device
  type udev_enumerate (line 538) | struct udev_enumerate
  type udev_list_entry (line 539) | struct udev_list_entry
  type udev_device (line 567) | struct udev_device
  type udev_device (line 587) | struct udev_device
  type libusb_device (line 595) | struct libusb_device
  type libusb_device_handle (line 596) | struct libusb_device_handle
  type libusb_device_descriptor (line 597) | struct libusb_device_descriptor
  type libusb_config_descriptor (line 598) | struct libusb_config_descriptor
  type libusb_interface (line 599) | struct libusb_interface
  type libusb_interface_descriptor (line 600) | struct libusb_interface_descriptor
  type udev (line 741) | struct udev
  type usb_uri_map (line 742) | struct usb_uri_map
  type device_id (line 743) | struct device_id
  type usb_uri_map_entry (line 747) | struct usb_uri_map_entry
  type udev_device (line 748) | struct udev_device
  type dirent (line 755) | struct dirent
  function device_id_from_bluetooth (line 860) | static void
  type udev (line 890) | struct udev
  type udev_enumerate (line 895) | struct udev_enumerate
  type udev_list_entry (line 896) | struct udev_list_entry
  type udev_device (line 897) | struct udev_device
  function ipp_t (line 971) | static ipp_t *
  function find_matching_device_uris (line 995) | static int
  function for_each_matching_queue (line 1354) | static size_t
  function enable_queue (line 1549) | static void
  function gboolean (line 1580) | static gboolean
  function do_add (line 1612) | static int
  function remove_queue (line 1741) | static void
  function disable_queue (line 1773) | static void
  function device_exists (line 1811) | static int                          /* 0 if not found, 1 if found*/
  function do_remove (line 1828) | static int
  function main (line 1902) | int

FILE: userdefault.py
  class UserDefaultPrinter (line 24) | class UserDefaultPrinter:
    method __init__ (line 25) | def __init__ (self):
    method clear (line 39) | def clear (self):
    method get (line 54) | def get (self):
    method set (line 75) | def set (self, default):
    method __repr__ (line 87) | def __repr__ (self):
  class UserDefaultPrompt (line 90) | class UserDefaultPrompt:
    method __init__ (line 91) | def __init__ (self,
    method on_toggled (line 152) | def on_toggled (self, button):
    method on_response (line 156) | def on_response (self, dialog, response_id):

FILE: xml/validate.py
  class Validator (line 30) | class Validator:
    method __init__ (line 31) | def __init__ (self, filename):
    method validate (line 34) | def validate (self):
Copy disabled (too large) Download .json
Condensed preview — 217 files, each showing path, character count, and a content snippet. Download the .json file for the full structured content (10,488K chars).
[
  {
    "path": ".gitattributes",
    "chars": 53,
    "preview": "ChangeLog merge=merge-changelog\npo/*.po merge=binary\n"
  },
  {
    "path": ".github/dependabot.yml",
    "chars": 185,
    "preview": "---\n\nversion: 2\n\nupdates:\n  - package-ecosystem: github-actions\n    directory: /\n    schedule:\n      interval: monthly\n "
  },
  {
    "path": ".github/workflows/differential-shellcheck.yml",
    "chars": 581,
    "preview": "name: Differential ShellCheck\non:\n  pull_request:\n    branches: [master]\n\npermissions:\n  contents: read\n\njobs:\n  lint:\n "
  },
  {
    "path": ".gitignore",
    "chars": 776,
    "preview": "Makefile.in\nMakefile\n/configure\n/config.status\n/config.log\n/autom4te.cache\n/missing\n/compile\n/depcomp\n/INSTALL\n/ChangeLo"
  },
  {
    "path": ".pylintrc",
    "chars": 34,
    "preview": "[VARIABLES]\nadditional-builtins=_\n"
  },
  {
    "path": "ABOUT-NLS",
    "chars": 67,
    "preview": "<https://www.gnu.org/software/gettext/manual/html_node/Users.html>\n"
  },
  {
    "path": "AUTHORS",
    "chars": 64,
    "preview": "Florian Festi <ffesti@redhat.com>\nTim Waugh <twaugh@redhat.com>\n"
  },
  {
    "path": "COPYING",
    "chars": 18092,
    "preview": "                    GNU GENERAL PUBLIC LICENSE\n                       Version 2, June 1991\n\n Copyright (C) 1989, 1991 Fr"
  },
  {
    "path": "ChangeLog-OLD",
    "chars": 256807,
    "preview": "2009-08-11  Tim Waugh  <twaugh@redhat.com>\n\n\t* cupshelpers/cupshelpers.py (missingPackagesAndExecutables):\n\tAccept a fil"
  },
  {
    "path": "HIG.py",
    "chars": 57,
    "preview": "PAD_SMALL = 3\nPAD_NORMAL = 6\nPAD_BIG = 12\nPAD_LARGE = 18\n"
  },
  {
    "path": "Makefile.am",
    "chars": 11595,
    "preview": "SUBDIRS=. po\n\nEXPORT_MODULES=\t\t\t\t\t\\\n\tcupshelpers/__init__.py\t\t\t\\\n\tcupshelpers/cupshelpers.py\t\t\\\n\tcupshelpers/installdriv"
  },
  {
    "path": "NEWS",
    "chars": 5294,
    "preview": "1.5.19 changes\n--------------\n- Fix `debugprint()` call in options.py (Issue #291)\n- Fix exit value if the device is alr"
  },
  {
    "path": "OpenPrintingRequest.py",
    "chars": 6976,
    "preview": "#!/usr/bin/python\n\n## system-config-printer\n\n## Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Red H"
  },
  {
    "path": "PhysicalDevice.py",
    "chars": 16582,
    "preview": "#!/usr/bin/python3\n\n## Copyright (C) 2008, 2009, 2010, 2012, 2014 Red Hat, Inc.\n## Authors:\n##  Tim Waugh <twaugh@redhat"
  },
  {
    "path": "README.md",
    "chars": 5000,
    "preview": "# system-config-printer\n\nIt uses IPP to configure a CUPS server. Additionally it provides dBUS interface\nfor several ope"
  },
  {
    "path": "SearchCriterion.py",
    "chars": 1348,
    "preview": "## Copyright (C) 2008 Rui Matos <tiagomatos@gmail.com>\n\n## This program is free software; you can redistribute it and/or"
  },
  {
    "path": "ToolbarSearchEntry.py",
    "chars": 7131,
    "preview": "## This code was translated to python from the original C version in\n## Rhythmbox. The original authors are:\n\n## Copyrig"
  },
  {
    "path": "aclocal.m4",
    "chars": 77540,
    "preview": "# generated automatically by aclocal 1.18.1 -*- Autoconf -*-\n\n# Copyright (C) 1996-2025 Free Software Foundation, Inc.\n\n"
  },
  {
    "path": "applet.py",
    "chars": 17232,
    "preview": "#!/usr/bin/python3\n\n## Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Red Hat, Inc.\n## Author: Tim Waugh <"
  },
  {
    "path": "asyncconn.py",
    "chars": 9828,
    "preview": "#!/usr/bin/python3\n\n## Copyright (C) 2007, 2008, 2009, 2010, 2012, 2013 Red Hat, Inc.\n## Copyright (C) 2008 Novell, Inc."
  },
  {
    "path": "asyncipp.py",
    "chars": 26757,
    "preview": "#!/usr/bin/python3\n\n## Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2015 Red Hat, Inc.\n## Copyright (C) 2008 "
  },
  {
    "path": "asyncpk1.py",
    "chars": 26481,
    "preview": "#!/usr/bin/python3\n\n## Copyright (C) 2007, 2008, 2009, 2010, 2012, 2013, 2014 Red Hat, Inc.\n## Copyright (C) 2008 Novell"
  },
  {
    "path": "authconn.py",
    "chars": 19302,
    "preview": "#!/usr/bin/python3\n\n## Copyright (C) 2007, 2008, 2009, 2010, 2011, 2013, 2014 Red Hat, Inc.\n## Author: Tim Waugh <twaugh"
  },
  {
    "path": "bootstrap",
    "chars": 433,
    "preview": "#!/bin/sh\nautopoint --force\naclocal -I m4\nautomake --foreign --copy --add-missing\nautoconf\n\n# If this is a git repositor"
  },
  {
    "path": "check-device-ids.py",
    "chars": 11431,
    "preview": "#!/usr/bin/python3\n\n## check-device-ids\n\n## Copyright (C) 2010, 2011, 2012, 2013 Red Hat, Inc.\n## Authors:\n##  Tim Waugh"
  },
  {
    "path": "config.guess",
    "chars": 49794,
    "preview": "#! /bin/sh\n# Attempt to guess a canonical system name.\n#   Copyright 1992-2022 Free Software Foundation, Inc.\n\n# shellch"
  },
  {
    "path": "config.py.in",
    "chars": 1189,
    "preview": "## system-config-printer\n\n## Copyright (C) 2006, 2007, 2008, 2014 Red Hat, Inc.\n## Copyright (C) 2006, 2007 Florian Fest"
  },
  {
    "path": "config.rpath",
    "chars": 18574,
    "preview": "#! /bin/sh\n# Output a system dependent set of variables, describing how to set the\n# run time search path of shared libr"
  },
  {
    "path": "config.sub",
    "chars": 35406,
    "preview": "#! /bin/sh\n# Configuration validation subroutine script.\n#   Copyright 1992-2022 Free Software Foundation, Inc.\n\n# shell"
  },
  {
    "path": "configure.ac",
    "chars": 3821,
    "preview": "AC_INIT([system-config-printer],[1.5.18])\nAC_CONFIG_SRCDIR(system-config-printer.py)\nAM_INIT_AUTOMAKE([dist-xz dist-bzip"
  },
  {
    "path": "cupshelpers/__init__.py",
    "chars": 1828,
    "preview": "## system-config-printer\n\n## Copyright (C) 2008, 2011 Red Hat, Inc.\n## Authors:\n##  Tim Waugh <twaugh@redhat.com>\n\n## Th"
  },
  {
    "path": "cupshelpers/config.py.in",
    "chars": 957,
    "preview": "## system-config-printer\n\n## Copyright (C) 2006, 2007, 2010 Red Hat, Inc.\n## Authors:\n##  Florian Festi <ffesti@redhat.c"
  },
  {
    "path": "cupshelpers/cupshelpers.py",
    "chars": 30317,
    "preview": "## system-config-printer\n\n## Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Red Hat, Inc.\n## A"
  },
  {
    "path": "cupshelpers/installdriver.py",
    "chars": 2723,
    "preview": "#!/usr/bin/python3\n\n## system-config-printer\n\n## Copyright (C) 2010 Red Hat, Inc.\n## Author: Tim Waugh <twaugh@redhat.co"
  },
  {
    "path": "cupshelpers/openprinting.py",
    "chars": 19167,
    "preview": "#!/usr/bin/python3\n\n## system-config-printer\n\n## Copyright (C) 2008, 2011, 2014 Red Hat, Inc.\n## Copyright (C) 2008 Till"
  },
  {
    "path": "cupshelpers/ppds.py",
    "chars": 44162,
    "preview": "#!/usr/bin/python3\n\n## system-config-printer\n\n## Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2014, 2015 Red Hat, I"
  },
  {
    "path": "cupshelpers/xmldriverprefs.py",
    "chars": 20109,
    "preview": "#!/usr/bin/python3\n\n## system-config-printer\n\n## Copyright (C) 2006, 2007, 2008, 2009, 2010 Red Hat, Inc.\n## Copyright ("
  },
  {
    "path": "cupspk.py",
    "chars": 28138,
    "preview": "# vim: set ts=4 sw=4 et: coding=UTF-8\n#\n# Copyright (C) 2008, 2013 Novell, Inc.\n# Copyright (C) 2008, 2009, 2010, 2012, "
  },
  {
    "path": "dbus/com.redhat.NewPrinterNotification.conf",
    "chars": 792,
    "preview": "<!DOCTYPE busconfig PUBLIC\n \"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN\"\n \"http://www.freedesktop.org/standards"
  },
  {
    "path": "dbus/com.redhat.PrinterDriversInstaller.conf",
    "chars": 799,
    "preview": "<!DOCTYPE busconfig PUBLIC\n \"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN\"\n \"http://www.freedesktop.org/standards"
  },
  {
    "path": "dbus/org.fedoraproject.Config.Printing.service.in",
    "chars": 86,
    "preview": "[D-BUS Service]\nName=org.fedoraproject.Config.Printing\nExec=@bindir@/scp-dbus-service\n"
  },
  {
    "path": "dbus/org.fedoraproject.Config.Printing.xml",
    "chars": 9743,
    "preview": "<!DOCTYPE node PUBLIC\n \"-//freedesktop//DTD D-BUS Object Introspection 1.0//EN\"\n \"http://www.freedesktop.org/standards/d"
  },
  {
    "path": "dbus/scp-dbus-service.in",
    "chars": 80,
    "preview": "#!/bin/sh\nprefix=@prefix@\nexec @datarootdir@/@PACKAGE@/scp-dbus-service.py \"$@\"\n"
  },
  {
    "path": "debug.py",
    "chars": 1659,
    "preview": "#!/usr/bin/python3\n\n## Copyright (C) 2008, 2010 Red Hat, Inc.\n## Authors:\n##  Tim Waugh <twaugh@redhat.com>\n\n## This pro"
  },
  {
    "path": "dnssdresolve.py",
    "chars": 4776,
    "preview": "#!/usr/bin/python3\n\n## Copyright (C) 2010, 2011, 2012, 2013, 2014 Red Hat, Inc.\n## Authors:\n##  Tim Waugh <twaugh@redhat"
  },
  {
    "path": "errordialogs.py",
    "chars": 3197,
    "preview": "#!/usr/bin/python3\n\n## system-config-printer\n\n## Copyright (C) 2006, 2007, 2008, 2010, 2013 Red Hat, Inc.\n## Authors:\n##"
  },
  {
    "path": "firewallsettings.py",
    "chars": 9081,
    "preview": "#!/usr/bin/python3\n\n## system-config-printer\n\n## Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2015 Red Hat, Inc.\n##"
  },
  {
    "path": "gitlog-to-changelog",
    "chars": 5181,
    "preview": "#!/usr/bin/perl\n# Convert git log output to ChangeLog format.\n\nmy $VERSION = '2009-06-04 08:53'; # UTC\n# The definition "
  },
  {
    "path": "gtkinklevel.py",
    "chars": 4822,
    "preview": "#!/usr/bin/python3\n\n## Copyright (C) 2009, 2010, 2012 Red Hat, Inc.\n## Authors:\n##  Tim Waugh <twaugh@redhat.com>\n\n## Th"
  },
  {
    "path": "gui.py",
    "chars": 2180,
    "preview": "#!/usr/bin/python3\n\n## system-config-printer\n\n## Copyright (C) 2006, 2007, 2008, 2009, 2010, 2012 Red Hat, Inc.\n## Autho"
  },
  {
    "path": "install-printerdriver.in",
    "chars": 85,
    "preview": "#!/bin/sh\nprefix=@prefix@\nexec @datarootdir@/@PACKAGE@/install-printerdriver.py \"$@\"\n"
  },
  {
    "path": "install-printerdriver.py",
    "chars": 5473,
    "preview": "#!/usr/bin/python3\n\nimport gi\ngi.require_version('PackageKitGlib', '1.0')\nfrom gi.repository import GLib, PackageKitGlib"
  },
  {
    "path": "install-sh",
    "chars": 14675,
    "preview": "#!/bin/sh\n# install - install a program, script, or datafile\n\nscriptversion=2013-12-25.23; # UTC\n\n# This originates from"
  },
  {
    "path": "installpackage.py",
    "chars": 2248,
    "preview": "#!/usr/bin/python3\n\n## system-config-printer\n\n## Copyright (C) 2008, 2009, 2014 Red Hat, Inc.\n## Copyright (C) 2008, 200"
  },
  {
    "path": "jobviewer.py",
    "chars": 98899,
    "preview": "\n## Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Red Hat, Inc.\n## Authors:\n##  Tim Waugh <twaugh@r"
  },
  {
    "path": "killtimer.py",
    "chars": 2134,
    "preview": "#!/usr/bin/python3\n\n## system-config-printer\n\n## Copyright (C) 2010, 2011, 2012, 2013, 2014 Red Hat, Inc.\n## Authors:\n##"
  },
  {
    "path": "man/system-config-printer.xml",
    "chars": 4423,
    "preview": "<?xml version='1.0'?> <!-- -*- xml -*- -->\n<!DOCTYPE book PUBLIC \"-//OASIS//DTD DocBook XML V4.1.2//EN\"\n \"http://www.oas"
  },
  {
    "path": "mkinstalldirs",
    "chars": 3538,
    "preview": "#! /bin/sh\n# mkinstalldirs --- make directory hierarchy\n\nscriptversion=2009-04-28.21; # UTC\n\n# Original author: Noah Fri"
  },
  {
    "path": "monitor.py",
    "chars": 33137,
    "preview": "#!/usr/bin/python3\n\n## Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2014 Red Hat, Inc.\n## Author: Tim Waugh <twaugh"
  },
  {
    "path": "newprinter.py",
    "chars": 182639,
    "preview": "#!/usr/bin/python3\n\n## system-config-printer\n\n## Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 201"
  },
  {
    "path": "options.py",
    "chars": 19432,
    "preview": "## system-config-printer\n\n## Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Red Hat, Inc.\n## Authors:\n##  Tim Wa"
  },
  {
    "path": "optionwidgets.py",
    "chars": 9104,
    "preview": "## system-config-printer\n\n## Copyright (C) 2006, 2007, 2008, 2009, 2014 Red Hat, Inc.\n## Copyright (C) 2006 Florian Fest"
  },
  {
    "path": "po/ChangeLog",
    "chars": 478,
    "preview": "2006-06-19  gettextize  <bug-gnu-gettext@gnu.org>\n\n\t* Makefile.in.in: New file, from gettext-0.14.5.\n\t* boldquot.sed: Ne"
  },
  {
    "path": "po/LINGUAS",
    "chars": 220,
    "preview": "ar\nas\nast\nbg\nbn_IN\nbn\nbr\nbs\nca\ncs\ncy\nda\nde\nel\nen_GB\nes\net\nfa\nfi\nfr\nfur\ngu\nhe\nhi\nhr\nhu\nid\nis\nit\nja\nka\nkn\nko\nlt\nlv\nmai\nml\n"
  },
  {
    "path": "po/Makefile.in.in",
    "chars": 19159,
    "preview": "# Makefile for PO directory in any package using GNU gettext.\n# Copyright (C) 1995-2000 Ulrich Drepper <drepper@gnu.ai.m"
  },
  {
    "path": "po/Makevars",
    "chars": 2428,
    "preview": "# Makefile variables for PO directory in any package using GNU gettext.\n\n# Usually the message domain is the same as the"
  },
  {
    "path": "po/POTFILES.in",
    "chars": 1517,
    "preview": "# List of source files which contain translatable strings.\n# Please keep this file sorted alphabetically.\n\napplet.py\nasy"
  },
  {
    "path": "po/Rules-quot",
    "chars": 2395,
    "preview": "# Special Makefile rules for English message catalogs with quotation marks.\n#\n# Copyright (C) 2001-2017 Free Software Fo"
  },
  {
    "path": "po/ar.po",
    "chars": 95849,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/as.po",
    "chars": 99153,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/ast.po",
    "chars": 81906,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/bg.po",
    "chars": 100531,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/bn.po",
    "chars": 103208,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/bn_IN.po",
    "chars": 101526,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/boldquot.sed",
    "chars": 177,
    "preview": "s/\"\\([^\"]*\\)\"/“\\1”/g\ns/`\\([^`']*\\)'/‘\\1’/g\ns/ '\\([^`']*\\)' / ‘\\1’ /g\ns/ '\\([^`']*\\)'$/ ‘\\1’/g\ns/^'\\([^`']*\\)' /‘\\1’ /g\ns"
  },
  {
    "path": "po/br.po",
    "chars": 99486,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/bs.po",
    "chars": 80531,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/ca.po",
    "chars": 106529,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/cs.po",
    "chars": 101253,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/cy.po",
    "chars": 76893,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/da.po",
    "chars": 102584,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/de.po",
    "chars": 106204,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/el.po",
    "chars": 104873,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/en@boldquot.header",
    "chars": 1338,
    "preview": "# All this catalog \"translates\" are quotation characters.\n# The msgids must be ASCII and therefore cannot contain real q"
  },
  {
    "path": "po/en@quot.header",
    "chars": 1204,
    "preview": "# All this catalog \"translates\" are quotation characters.\n# The msgids must be ASCII and therefore cannot contain real q"
  },
  {
    "path": "po/en_GB.po",
    "chars": 99488,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/es.po",
    "chars": 106252,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/et.po",
    "chars": 98244,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/fa.po",
    "chars": 81598,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/fi.po",
    "chars": 101743,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/fr.po",
    "chars": 108468,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/fur.po",
    "chars": 103451,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/gu.po",
    "chars": 98613,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/he.po",
    "chars": 96774,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/hi.po",
    "chars": 97568,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/hr.po",
    "chars": 82557,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/hu.po",
    "chars": 104343,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/id.po",
    "chars": 102412,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/insert-header.sin",
    "chars": 906,
    "preview": "# Sed script that inserts the file called HEADER before the header entry.\n#\n# Copyright (C) 2001 Free Software Foundatio"
  },
  {
    "path": "po/is.po",
    "chars": 79746,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/it.po",
    "chars": 105925,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/ja.po",
    "chars": 90133,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/ka.po",
    "chars": 101504,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/kab.po",
    "chars": 77390,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/kk.po",
    "chars": 102149,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/kn.po",
    "chars": 100858,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/ko.po",
    "chars": 90621,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/lo.po",
    "chars": 76561,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/lt.po",
    "chars": 96767,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/lv.po",
    "chars": 98634,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/mai.po",
    "chars": 77490,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/ml.po",
    "chars": 104145,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/mr.po",
    "chars": 98117,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/ms.po",
    "chars": 77546,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/nb.po",
    "chars": 101073,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/nds.po",
    "chars": 77891,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/nl.po",
    "chars": 105244,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/nn.po",
    "chars": 100607,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/oc.po",
    "chars": 106465,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/or.po",
    "chars": 100356,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/pa.po",
    "chars": 96299,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/pl.po",
    "chars": 104285,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/pt.po",
    "chars": 104715,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/pt_BR.po",
    "chars": 109060,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/quot.sed",
    "chars": 129,
    "preview": "s/\"\\([^\"]*\\)\"/“\\1”/g\ns/`\\([^`']*\\)'/‘\\1’/g\ns/ '\\([^`']*\\)' / ‘\\1’ /g\ns/ '\\([^`']*\\)'$/ ‘\\1’/g\ns/^'\\([^`']*\\)' /‘\\1’ /g\ns"
  },
  {
    "path": "po/remove-potcdate.sin",
    "chars": 720,
    "preview": "# Sed script that removes the POT-Creation-Date line in the header entry\n# from a POT file.\n#\n# Copyright (C) 2002 Free "
  },
  {
    "path": "po/ro.po",
    "chars": 105704,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/ru.po",
    "chars": 104431,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/si.po",
    "chars": 77151,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/sk.po",
    "chars": 102638,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/sl.po",
    "chars": 102784,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/sr.po",
    "chars": 99792,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/sr@latin.po",
    "chars": 98906,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/sv.po",
    "chars": 102203,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/system-config-printer.pot",
    "chars": 76546,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/ta.po",
    "chars": 100564,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/te.po",
    "chars": 99889,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/th.po",
    "chars": 90964,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/tr.po",
    "chars": 102047,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/uk.po",
    "chars": 103063,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/vi.po",
    "chars": 85205,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/zh_CN.po",
    "chars": 87170,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/zh_Hans.po",
    "chars": 85636,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/zh_TW.po",
    "chars": 87620,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "ppdcache.py",
    "chars": 7754,
    "preview": "#!/usr/bin/python3\n\n## Copyright (C) 2010, 2011, 2012, 2013, 2014 Red Hat, Inc.\n## Authors:\n##  Tim Waugh <twaugh@redhat"
  },
  {
    "path": "ppdippstr.py",
    "chars": 16583,
    "preview": "#!/usr/bin/python3\n\n## system-config-printer\n\n## Copyright (C) 2008, 2009, 2010 Red Hat, Inc.\n## Authors:\n##  Tim Waugh "
  },
  {
    "path": "ppdsloader.py",
    "chars": 11241,
    "preview": "#!/usr/bin/python3\n\n## system-config-printer\n\n## Copyright (C) 2010, 2011, 2012, 2013, 2014 Red Hat, Inc.\n## Author: Tim"
  },
  {
    "path": "print-applet.desktop.in",
    "chars": 245,
    "preview": "[Desktop Entry]\nName=Print Queue Applet\nComment=System tray icon for managing print jobs\nExec=system-config-printer-appl"
  },
  {
    "path": "printerproperties.py",
    "chars": 79994,
    "preview": "#!/usr/bin/python3\n\n## system-config-printer\n\n## Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Red "
  },
  {
    "path": "probe_printer.py",
    "chars": 16198,
    "preview": "## system-config-printer\n\n## Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2014 Red Hat, Inc.\n## Copyright (C)"
  },
  {
    "path": "profile-ppds.py",
    "chars": 345,
    "preview": "#!/usr/bin/python3\nimport cups\nimport cupshelpers\nimport hotshot\nimport hotshot.stats\n\nppds = cupshelpers.ppds.PPDs (cup"
  },
  {
    "path": "pyproject.toml",
    "chars": 830,
    "preview": "[build-system]\nrequires = [\"setuptools>=61.0\"]\nbuild-backend = \"setuptools.build_meta\"\n\n[project]\nname = \"cupshelpers\"\nv"
  },
  {
    "path": "pysmb.py",
    "chars": 6971,
    "preview": "#!/usr/bin/python3\n\n## system-config-printer\n## CUPS backend\n \n## Copyright (C) 2002, 2003, 2006, 2007, 2008, 2010, 2012"
  },
  {
    "path": "scp-dbus-service.py",
    "chars": 22753,
    "preview": "#!/usr/bin/python3\n\n## system-config-printer\n\n## Copyright (C) 2010, 2011, 2012, 2013, 2014 Red Hat, Inc.\n## Authors:\n##"
  },
  {
    "path": "serversettings.py",
    "chars": 22354,
    "preview": "#!/usr/bin/python3\n\n## system-config-printer\n\n## Copyright (C) 2008, 2009, 2010, 2011, 2012, 2013, 2014 Red Hat, Inc.\n##"
  },
  {
    "path": "setup.py",
    "chars": 1082,
    "preview": "## system-config-printer\n\n## Copyright (C) 2008 Red Hat, Inc.\n## Copyright (C) 2008 Tim Waugh <twaugh@redhat.com>\n\n## Th"
  },
  {
    "path": "smburi.py",
    "chars": 3299,
    "preview": "#!/usr/bin/python3\n\n## system-config-printer\n\n## Copyright (C) 2006, 2007, 2008, 2009, 2011, 2012 Red Hat, Inc.\n## Copyr"
  },
  {
    "path": "statereason.py",
    "chars": 6994,
    "preview": "#!/usr/bin/python3\n\n## Copyright (C) 2007, 2008, 2009, 2010, 2012, 2013, 2014 Red Hat, Inc.\n## Authors:\n##  Tim Waugh <t"
  },
  {
    "path": "system-config-printer-applet.in",
    "chars": 70,
    "preview": "#!/bin/sh\nprefix=@prefix@\nexec @datarootdir@/@PACKAGE@/applet.py \"$@\"\n"
  },
  {
    "path": "system-config-printer.appdata.xml.in",
    "chars": 1656,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<component type=\"desktop\">\n  <id>system-config-printer.desktop</id>\n  <metadata_l"
  },
  {
    "path": "system-config-printer.desktop.in",
    "chars": 260,
    "preview": "[Desktop Entry]\nName=Print Settings\nGenericName=Print Settings\nX-GNOME-FullName=Print Settings\nComment=Configure printer"
  },
  {
    "path": "system-config-printer.in",
    "chars": 85,
    "preview": "#!/bin/sh\nprefix=@prefix@\nexec @datarootdir@/@PACKAGE@/system-config-printer.py \"$@\"\n"
  },
  {
    "path": "system-config-printer.py",
    "chars": 88924,
    "preview": "#!/usr/bin/python3\n\n## system-config-printer\n\n## Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 201"
  },
  {
    "path": "test/test-cups-driver.py",
    "chars": 5155,
    "preview": "#!/usr/bin/python3\n# -*- python -*-\n\n## Copyright (C) 2008, 2014 Red Hat, Inc.\n## Copyright (C) 2008 Tim Waugh <twaugh@r"
  },
  {
    "path": "test_PhysicalDevice.py",
    "chars": 3574,
    "preview": "#!/usr/bin/python3\n\n## Copyright (C) 2015 Red Hat, Inc.\n## Authors:\n##  Tim Waugh <twaugh@redhat.com>\n\n## This program i"
  },
  {
    "path": "test_ppds.py",
    "chars": 7173,
    "preview": "#!/usr/bin/python3\n\n## system-config-printer\n\n## Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2014, 2015 Red Hat, I"
  },
  {
    "path": "timedops.py",
    "chars": 8405,
    "preview": "#!/usr/bin/python3\n\n## Copyright (C) 2008, 2009, 2010, 2012, 2014 Red Hat, Inc.\n## Authors:\n##  Tim Waugh <twaugh@redhat"
  },
  {
    "path": "troubleshoot/CheckLocalServerPublishing.py",
    "chars": 3177,
    "preview": "#!/usr/bin/python3\n\n## Printing troubleshooter\n\n## Copyright (C) 2008 Red Hat, Inc.\n## Copyright (C) 2008 Tim Waugh <twa"
  },
  {
    "path": "troubleshoot/CheckNetworkServerSanity.py",
    "chars": 8124,
    "preview": "#!/usr/bin/python3\n\n## Printing troubleshooter\n\n## Copyright (C) 2008, 2009, 2010, 2011, 2014 Red Hat, Inc.\n## Authors:\n"
  },
  {
    "path": "troubleshoot/CheckPPDSanity.py",
    "chars": 6541,
    "preview": "#!/usr/bin/python3\n\n## Printing troubleshooter\n\n## Copyright (C) 2008, 2009, 2010, 2014 Red Hat, Inc.\n## Authors:\n##  Ti"
  },
  {
    "path": "troubleshoot/CheckPrinterSanity.py",
    "chars": 5727,
    "preview": "#!/usr/bin/python3\n\n## Printing troubleshooter\n\n## Copyright (C) 2008, 2009, 2010, 2012, 2014 Red Hat, Inc.\n## Authors:\n"
  },
  {
    "path": "troubleshoot/CheckSELinux.py",
    "chars": 2830,
    "preview": "#!/usr/bin/python3\n\n## Printing troubleshooter\n\n## Copyright (C) 2010, 2014 Red Hat, Inc.\n## Copyright (C) 2010 Jiri Pop"
  },
  {
    "path": "troubleshoot/CheckUSBPermissions.py",
    "chars": 6129,
    "preview": "#!/usr/bin/python3\n\n## Printing troubleshooter\n\n## Copyright (C) 2008, 2009, 2010, 2014 Red Hat, Inc.\n## Authors:\n##  Ti"
  },
  {
    "path": "troubleshoot/ChooseNetworkPrinter.py",
    "chars": 6200,
    "preview": "#!/usr/bin/python3\n\n## Printing troubleshooter\n\n## Copyright (C) 2008, 2009, 2011, 2012 Red Hat, Inc.\n## Author: Tim Wau"
  },
  {
    "path": "troubleshoot/ChoosePrinter.py",
    "chars": 5877,
    "preview": "#!/usr/bin/python3\n\n## Printing troubleshooter\n\n## Copyright (C) 2008, 2012 Red Hat, Inc.\n## Copyright (C) 2008 Tim Waug"
  },
  {
    "path": "troubleshoot/DeviceListed.py",
    "chars": 6711,
    "preview": "#!/usr/bin/python3\n\n## Printing troubleshooter\n\n## Copyright (C) 2008, 2012 Red Hat, Inc.\n## Copyright (C) 2008 Tim Waug"
  },
  {
    "path": "troubleshoot/ErrorLogCheckpoint.py",
    "chars": 9132,
    "preview": "#!/usr/bin/python3\n\n## Printing troubleshooter\n\n## Copyright (C) 2008, 2009, 2014 Red Hat, Inc.\n## Author: Tim Waugh <tw"
  },
  {
    "path": "troubleshoot/ErrorLogFetch.py",
    "chars": 6477,
    "preview": "#!/usr/bin/python3\n\n## Printing troubleshooter\n\n## Copyright (C) 2008, 2010, 2014 Red Hat, Inc.\n## Authors:\n##  Tim Waug"
  },
  {
    "path": "troubleshoot/ErrorLogParse.py",
    "chars": 2285,
    "preview": "#!/usr/bin/python3\n\n## Printing troubleshooter\n\n## Copyright (C) 2008, 2012, 2014 Red Hat, Inc.\n## Copyright (C) 2008 Ti"
  },
  {
    "path": "troubleshoot/LocalOrRemote.py",
    "chars": 1493,
    "preview": "#!/usr/bin/python3\n\n## Printing troubleshooter\n\n## Copyright (C) 2008 Red Hat, Inc.\n## Copyright (C) 2008 Tim Waugh <twa"
  },
  {
    "path": "troubleshoot/Locale.py",
    "chars": 4778,
    "preview": "#!/usr/bin/python3\n\n## Printing troubleshooter\n\n## Copyright (C) 2008, 2012 Red Hat, Inc.\n## Copyright (C) 2008, 2012 Ti"
  },
  {
    "path": "troubleshoot/NetworkCUPSPrinterShared.py",
    "chars": 2940,
    "preview": "#!/usr/bin/python3\n\n## Printing troubleshooter\n\n## Copyright (C) 2008, 2009 Red Hat, Inc.\n## Copyright (C) 2008, 2009 Ti"
  },
  {
    "path": "troubleshoot/PrintTestPage.py",
    "chars": 20618,
    "preview": "#!/usr/bin/python3\n\n## Printing troubleshooter\n\n## Copyright (C) 2008, 2009, 2010, 2012 Red Hat, Inc.\n## Authors:\n##  Ti"
  },
  {
    "path": "troubleshoot/PrinterStateReasons.py",
    "chars": 4461,
    "preview": "#!/usr/bin/python3\n\n## Printing troubleshooter\n\n## Copyright (C) 2008, 2009, 2010, 2011 Red Hat, Inc.\n## Authors:\n##  Ti"
  },
  {
    "path": "troubleshoot/QueueNotEnabled.py",
    "chars": 2904,
    "preview": "#!/usr/bin/python3\n\n## Printing troubleshooter\n\n## Copyright (C) 2008, 2009 Red Hat, Inc.\n## Copyright (C) 2008, 2009 Ti"
  },
  {
    "path": "troubleshoot/QueueRejectingJobs.py",
    "chars": 2976,
    "preview": "#!/usr/bin/python3\n\n## Printing troubleshooter\n\n## Copyright (C) 2008, 2009 Red Hat, Inc.\n## Copyright (C) 2008, 2009 Ti"
  },
  {
    "path": "troubleshoot/RemoteAddress.py",
    "chars": 2459,
    "preview": "#!/usr/bin/python3\n\n## Printing troubleshooter\n\n## Copyright (C) 2008 Red Hat, Inc.\n## Copyright (C) 2008 Tim Waugh <twa"
  },
  {
    "path": "troubleshoot/SchedulerNotRunning.py",
    "chars": 2283,
    "preview": "#!/usr/bin/python3\n\n## Printing troubleshooter\n\n## Copyright (C) 2008, 2009 Red Hat, Inc.\n## Copyright (C) 2008, 2009 Ti"
  },
  {
    "path": "troubleshoot/ServerFirewalled.py",
    "chars": 2174,
    "preview": "#!/usr/bin/python3\n\n## Printing troubleshooter\n\n## Copyright (C) 2008, 2009 Red Hat, Inc.\n## Copyright (C) 2008, 2009 Ti"
  },
  {
    "path": "troubleshoot/Shrug.py",
    "chars": 4315,
    "preview": "#!/usr/bin/python3\n\n## Printing troubleshooter\n\n## Copyright (C) 2008, 2009, 2010, 2011, 2012 Red Hat, Inc.\n## Author: T"
  },
  {
    "path": "troubleshoot/VerifyPackages.py",
    "chars": 2706,
    "preview": "#!/usr/bin/python3\n\n## Printing troubleshooter\n\n## Copyright (C) 2010, 2014 Red Hat, Inc.\n## Copyright (C) 2010 Jiri Pop"
  },
  {
    "path": "troubleshoot/Welcome.py",
    "chars": 2758,
    "preview": "#!/usr/bin/python3\n\n## Printing troubleshooter\n\n## Copyright (C) 2008, 2009 Red Hat, Inc.\n## Author: Tim Waugh <twaugh@r"
  },
  {
    "path": "troubleshoot/__init__.py",
    "chars": 12489,
    "preview": "#!/usr/bin/python3\n\n## Printing troubleshooter\n\n## Copyright (C) 2008, 2009, 2010, 2012 Red Hat, Inc.\n## Author: Tim Wau"
  },
  {
    "path": "troubleshoot/base.py",
    "chars": 3575,
    "preview": "#!/usr/bin/python3\n\n## Printing troubleshooter\n\n## Copyright (C) 2008, 2010, 2012 Red Hat, Inc.\n## Authors:\n##  Tim Waug"
  },
  {
    "path": "udev/.gitignore",
    "chars": 32,
    "preview": "/udev-configure-printer.service\n"
  },
  {
    "path": "udev/70-printers.rules",
    "chars": 845,
    "preview": "# UDEV rules for USB devices - ENV variables can be monitored\n# via 'sudo udevadm monitor --udev --subsystem-match=usb -"
  },
  {
    "path": "udev/configure-printer@.service.in",
    "chars": 150,
    "preview": "[Unit]\nDescription=Configure Plugged-In Printer\nRequires=cups.socket\nAfter=cups.socket\n\n[Service]\nExecStart=@udevdir@/ud"
  },
  {
    "path": "udev/udev-add-printer",
    "chars": 9112,
    "preview": "#!/usr/bin/python3 -sB\n\n## udev-add-printer\n\n## Copyright (C) 2009, 2010, 2014, 2015 Red Hat, Inc.\n## Author: Tim Waugh "
  },
  {
    "path": "udev/udev-configure-printer.c",
    "chars": 50514,
    "preview": "/* -*- Mode: C; c-file-style: \"gnu\" -*-\n * udev-configure-printer - a udev callout to configure print queues\n * Copyrigh"
  },
  {
    "path": "ui/AboutDialog.ui",
    "chars": 2562,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!-- Generated with glade 3.16.1 -->\n<interface>\n  <requires lib=\"gtk+\" version=\""
  }
]

// ... and 17 more files (download for full content)

About this extraction

This page contains the full source code of the OpenPrinting/system-config-printer GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 217 files (8.6 MB), approximately 2.3M tokens, and a symbol index with 1400 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!