[PATCH] Cleanly exit on GTK and KDE UIs when using Ctrl-C

Bug #479548 reported by Removed by request
6
Affects Status Importance Assigned to Milestone
jockey (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

When running jockey-gtk from command line, exiting with ctrl-c will print a traceback. On jockey-kde, the application will refuse to exit properly and catch the exception later on which is bad.

Attached patch solves the problem for both.

Revision history for this message
Removed by request (removed1836289) wrote :
Changed in jockey (Ubuntu):
assignee: nobody → Adys (adys)
Changed in jockey (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Martin Pitt (pitti) wrote :

Committed to trunk r606 (in a more general fashion). Thanks!

Changed in jockey (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package jockey - 0.5.8-0ubuntu1

---------------
jockey (0.5.8-0ubuntu1) lucid; urgency=low

  * New upstream bug fix release:
    - Make Control-C work properly. Thanks Adys! (LP: #479548)
    - Read system vendor/product from sysfs, not from hal
    - OSLib: Add new method has_repositories(), as a foundation for fixing
      #442776
    - backend.py, new_used_available(): Skip check if no package repositories
      are available, to avoid writing an empty cache file and thus never
      showing Jockey notifications again once they become available.
      (LP: #442776)
    - Shutdown D-BUS backend on UI shutdown, to not start the next UI with
      potentially outdated information.
    - backend.py: Expose has_repositories() and update_repository_indexes() to
      clients.
    - ui.py: Download/update package indexes if they are missing.
      (LP: #439530)
  * jockey/oslib.py: Provide an apt implementation of has_repositories().
  * jockey/oslib.py: Provide an apt implementation of
    update_repository_indexes().
 -- Martin Pitt <email address hidden> Thu, 11 Mar 2010 17:48:11 +0100

Changed in jockey (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.