appstream:software-center.git
6 years agoadd a new ensure_file_writeable utility for utils and use it for both the config...
Gary Lasker [Wed, 9 May 2012 19:02:43 +0000 (15:02 -0400)]
add a new ensure_file_writeable utility for utils and use it for both the config file and the log file

6 years agopep8 fix
Gary Lasker [Tue, 8 May 2012 04:44:53 +0000 (00:44 -0400)]
pep8 fix

6 years agodon't crash if an error is encountered when writing the config file (as this also...
Gary Lasker [Tue, 8 May 2012 04:43:37 +0000 (00:43 -0400)]
don't crash if an error is encountered when writing the config file (as this also blocks shutdown), add logging information for errors in both reading and writing the config file

6 years ago* lp:~mvo/software-center/whatsnew-leak-lp985389:
Gary Lasker [Mon, 30 Apr 2012 22:27:29 +0000 (18:27 -0400)]
* lp:~mvo/software-center/whatsnew-leak-lp985389:
  - search filter fix for the case when the "installed-only"
    filter leaks into subsequent searches (LP: #985389)

6 years agodebian/changelog: trunk is not used for uploads for now
Michael Vogt [Thu, 26 Apr 2012 08:32:44 +0000 (10:32 +0200)]
debian/changelog: trunk is not used for uploads for now

6 years agomerged from the 5.2 branch
Michael Vogt [Thu, 26 Apr 2012 08:31:27 +0000 (10:31 +0200)]
merged from the 5.2 branch

6 years agoreleasing version 5.2.1
Michael Vogt [Thu, 26 Apr 2012 08:31:00 +0000 (10:31 +0200)]
releasing version 5.2.1

6 years agomerged string addition lp:~gary-lasker/software-center/recommendations-opt-in-potfile...
Michael Vogt [Thu, 26 Apr 2012 07:32:29 +0000 (09:32 +0200)]
merged string addition lp:~gary-lasker/software-center/recommendations-opt-in-potfile-update in preparation for the LP: #986437 fix)

6 years agomerged from trunk
Michael Vogt [Thu, 26 Apr 2012 07:22:36 +0000 (09:22 +0200)]
merged from trunk

6 years agotrivial pyflakes fix
Gary Lasker [Thu, 26 Apr 2012 00:27:45 +0000 (20:27 -0400)]
trivial pyflakes fix

6 years ago* lp:~mvo/software-center/fix-clear-credentials-race:
Gary Lasker [Wed, 25 Apr 2012 22:11:43 +0000 (18:11 -0400)]
* lp:~mvo/software-center/fix-clear-credentials-race:
  - fix an incorrect use of the sso dbus backend, we now correctly
    wait until it emits a CredentialsCleared signal (LP: #986117)

6 years agodon't change the current opt-in text as we are not ready to merge the fix for bug...
Gary Lasker [Wed, 25 Apr 2012 21:34:49 +0000 (17:34 -0400)]
don't change the current opt-in text as we are not ready to merge the fix for bug 986437 yet, but add in the upcoming string so that an update of the .pot file will include it for the translators

6 years agomerge lp:~gary-lasker/software-center/recommendations-string-change-lp986437 to get...
Gary Lasker [Wed, 25 Apr 2012 20:30:09 +0000 (16:30 -0400)]
merge lp:~gary-lasker/software-center/recommendations-string-change-lp986437 to get the updated string

6 years agoadd FIXME to remove the unused string later
Gary Lasker [Wed, 25 Apr 2012 16:02:18 +0000 (12:02 -0400)]
add FIXME to remove the unused string later

6 years agoadd back the old string for transition purposes, just so the .pot file will contain...
Gary Lasker [Wed, 25 Apr 2012 15:19:49 +0000 (11:19 -0400)]
add back the old string for transition purposes, just so the .pot file will contain both and we will not break anybody's software-center if their update to the corresponding upcoming language pack is not sufficiently coordinated

6 years agomerge with trunk
Gary Lasker [Wed, 25 Apr 2012 14:59:53 +0000 (10:59 -0400)]
merge with trunk

6 years agosoftwarecenter/ui/gtk3/panes/softwarepane.py: remove dead code that is now in softwar...
Michael Vogt [Wed, 25 Apr 2012 08:45:02 +0000 (10:45 +0200)]
softwarecenter/ui/gtk3/panes/softwarepane.py: remove dead code that is now in softwarecenter/ui/gtk3/widgets/searchaid.py

6 years agopep8 fix
Michael Vogt [Wed, 25 Apr 2012 08:33:03 +0000 (10:33 +0200)]
pep8 fix

6 years agomerged lp:~mvo/software-center/workaround-gtk-regression-lp986186 after approval...
Michael Vogt [Wed, 25 Apr 2012 08:31:46 +0000 (10:31 +0200)]
merged lp:~mvo/software-center/workaround-gtk-regression-lp986186 after approval from Gary

6 years agosoftwarecenter/ui/gtk3/app.py: add comment for later
Michael Vogt [Wed, 25 Apr 2012 08:26:43 +0000 (10:26 +0200)]
softwarecenter/ui/gtk3/app.py: add comment for later

6 years agoensure we do not hang if sso does not send any signal
Michael Vogt [Wed, 25 Apr 2012 08:19:42 +0000 (10:19 +0200)]
ensure we do not hang if sso does not send any signal

6 years agorename clear_token_from_ubuntu_sso to clear_token_from_ubuntu_sso_sync to make clear...
Michael Vogt [Wed, 25 Apr 2012 08:15:28 +0000 (10:15 +0200)]
rename clear_token_from_ubuntu_sso to clear_token_from_ubuntu_sso_sync to make clear that it will wait until SSO is finished

6 years agomerge trunk to get pyflakes fix
Michael Vogt [Wed, 25 Apr 2012 08:09:11 +0000 (10:09 +0200)]
merge trunk to get pyflakes fix

6 years agopep8 fixes
Michael Vogt [Wed, 25 Apr 2012 08:05:59 +0000 (10:05 +0200)]
pep8 fixes

6 years agopartly workaround bug #986186 in gtk by disconnecting the cell_data_func before setti...
Michael Vogt [Tue, 24 Apr 2012 16:02:41 +0000 (18:02 +0200)]
partly workaround bug #986186 in gtk by disconnecting the cell_data_func before setting a new model. this is still substancially slower than oneiric, but now only in a order of 2x slower instead of 20x slower :/

6 years agotiny pyflakes fix
Gary Lasker [Tue, 24 Apr 2012 14:22:29 +0000 (10:22 -0400)]
tiny pyflakes fix

6 years ago* lp:~mvo/software-center/gwibber-utf8-lp985255:
Gary Lasker [Tue, 24 Apr 2012 14:20:47 +0000 (10:20 -0400)]
* lp:~mvo/software-center/gwibber-utf8-lp985255:
  - fix a utf8 crash in the gwibber integration (LP: #985255)

6 years ago* lp:~mvo/software-center/utf8-fixes:
Gary Lasker [Tue, 24 Apr 2012 14:16:06 +0000 (10:16 -0400)]
* lp:~mvo/software-center/utf8-fixes:
  - fix various utf8-related crashes (LP: #943500, LP: #922225,
    LP: #917755)

6 years agoreset filter in unset_current_category()
Michael Vogt [Mon, 23 Apr 2012 13:59:12 +0000 (15:59 +0200)]
reset filter in unset_current_category()

6 years agoadd new "AppFilter.reset()" to ensure that non-global states are reset properly
Michael Vogt [Mon, 23 Apr 2012 13:55:38 +0000 (15:55 +0200)]
add new "AppFilter.reset()" to ensure that non-global states are reset properly

6 years agosoftwarecenter/ui/gtk3/review_gui_helper.py: ensure that dgettext/version are both...
Michael Vogt [Mon, 23 Apr 2012 12:06:56 +0000 (14:06 +0200)]
softwarecenter/ui/gtk3/review_gui_helper.py: ensure that dgettext/version are both utf8()

6 years agoextra protection against another utf8() issue #922225
Michael Vogt [Mon, 23 Apr 2012 10:34:04 +0000 (12:34 +0200)]
extra protection against another utf8() issue #922225

6 years agosoftwarecenter/distro/Ubuntu.py: add utf8() around appname for LP: #943500
Michael Vogt [Mon, 23 Apr 2012 10:28:34 +0000 (12:28 +0200)]
softwarecenter/distro/Ubuntu.py: add utf8() around appname for LP: #943500

6 years agosoftwarecenter/ui/gtk3/review_gui_helper.py: fix utf8 issue with gwibber (LP: #985255)
Michael Vogt [Mon, 23 Apr 2012 10:10:23 +0000 (12:10 +0200)]
softwarecenter/ui/gtk3/review_gui_helper.py: fix utf8 issue with gwibber (LP: #985255)

6 years agomerge with trunk
Gary Lasker [Sat, 21 Apr 2012 00:50:20 +0000 (20:50 -0400)]
merge with trunk

6 years ago* lp:~gary-lasker/software-center/recommendations-sso-login-lp973612:
Gary Lasker [Fri, 20 Apr 2012 22:23:03 +0000 (18:23 -0400)]
* lp:~gary-lasker/software-center/recommendations-sso-login-lp973612:
  - fix bug where the recommendations opt-in panel is hidden if
    the user declines the SSO dialog after opting in (LP: #973612)
  - fix the user experience if the user has previously opted-in to
    recommendations and their SSO token is found have been removed
    or revoked or otherwise found to be invalid (LP: #967064)
  - improve the responsiveness of the spinner in the recommendations
    flow

6 years agofix clear_token_from_ubuntu_sso() to wait until SSO is actually finished
Michael Vogt [Fri, 20 Apr 2012 18:46:18 +0000 (20:46 +0200)]
fix clear_token_from_ubuntu_sso() to wait until SSO is actually finished

6 years agomerged lp:~gary-lasker/software-center/recommendations-sso-login-lp973612 with a...
Michael Vogt [Fri, 20 Apr 2012 09:41:25 +0000 (11:41 +0200)]
merged lp:~gary-lasker/software-center/recommendations-sso-login-lp973612 with a FIXME for the race condition when the network state changed between the API call and the check in the code

6 years agomerge with trunk
Gary Lasker [Thu, 19 Apr 2012 16:09:13 +0000 (12:09 -0400)]
merge with trunk

6 years agofix bug where an application will be added to the Unity launcher
Gary Lasker [Thu, 19 Apr 2012 15:31:17 +0000 (11:31 -0400)]
fix bug where an application will be added to the Unity launcher
in the case where the user cancels the installation auth dialog
(LP: #972710)

6 years ago* lp:~gary-lasker/software-center/add-to-launcher-after-auth-lp972710:
Gary Lasker [Thu, 19 Apr 2012 15:26:07 +0000 (11:26 -0400)]
* lp:~gary-lasker/software-center/add-to-launcher-after-auth-lp972710:
  - fix recommendations opt-in issue if the user declines the
    sso dialog (LP: #973612)

6 years agosuper-tiny tweak, the unity launcher objects should be simple objects, no need to...
Gary Lasker [Thu, 19 Apr 2012 15:20:45 +0000 (11:20 -0400)]
super-tiny tweak, the unity launcher objects should be simple objects, no need to be GObjects

6 years agounity launcher objects have no need to be GObjects
Gary Lasker [Thu, 19 Apr 2012 15:12:13 +0000 (11:12 -0400)]
unity launcher objects have no need to be GObjects

6 years agomerge from trunk
Gary Lasker [Thu, 19 Apr 2012 15:03:33 +0000 (11:03 -0400)]
merge from trunk

6 years agomerged lp:~gary-lasker/software-center/add-to-launcher-after-auth-lp972710 with small...
Michael Vogt [Thu, 19 Apr 2012 07:28:14 +0000 (09:28 +0200)]
merged lp:~gary-lasker/software-center/add-to-launcher-after-auth-lp972710 with small tweaks

6 years ago* lp:~mvo/software-center/lp927262:
Gary Lasker [Thu, 19 Apr 2012 05:47:12 +0000 (01:47 -0400)]
* lp:~mvo/software-center/lp927262:
  - fix crash when get_vadjustment() returns None (LP: #927262)

6 years ago* lp:~mvo/software-center/lp808455:
Gary Lasker [Thu, 19 Apr 2012 05:41:41 +0000 (01:41 -0400)]
* lp:~mvo/software-center/lp808455:
  - trivial fix for crash on downstream distros (LP: #808455)

6 years ago* lp:~mvo/software-center/fix-gmenu-searcher:
Gary Lasker [Thu, 19 Apr 2012 05:35:32 +0000 (01:35 -0400)]
* lp:~mvo/software-center/fix-gmenu-searcher:
  - fix the menu searcher for non-Unity configurations after
    the app-install-data-ubuntu file layout changed

6 years agopep8 cleanup
Gary Lasker [Wed, 18 Apr 2012 23:31:38 +0000 (19:31 -0400)]
pep8 cleanup

6 years agokeep a queue of items for the launcher, but don't actually fire the dbus add signal...
Gary Lasker [Wed, 18 Apr 2012 23:27:09 +0000 (19:27 -0400)]
keep a queue of items for the launcher, but don't actually fire the dbus add signal to the launcher until their installation actually begins (the first corresponding transactions-changed event for the package), this fixes the case where an item is added even if the auth dialog is cancelled

6 years agoensure to check if get_vadjustment() returned valid values
Michael Vogt [Wed, 18 Apr 2012 10:34:19 +0000 (12:34 +0200)]
ensure to check if get_vadjustment() returned valid values

6 years agosoftwarecenter/ui/gtk3/views/appdetailsview.py: fix crash if get_vadjustment() return...
Michael Vogt [Wed, 18 Apr 2012 10:31:00 +0000 (12:31 +0200)]
softwarecenter/ui/gtk3/views/appdetailsview.py: fix crash if get_vadjustment() returns None

6 years agoapt-xapian-index-plugin/software-center.py: ensure we don't pass ver.uri with None...
Michael Vogt [Wed, 18 Apr 2012 10:13:47 +0000 (12:13 +0200)]
apt-xapian-index-plugin/software-center.py: ensure we don't pass ver.uri with None down to distro.get_downloadable_icon_url()

6 years agoapt-xapian-index-plugin/software-center.py: only add url if we actually have it
Michael Vogt [Wed, 18 Apr 2012 10:11:37 +0000 (12:11 +0200)]
apt-xapian-index-plugin/software-center.py: only add url if we actually have it

6 years agoapt-xapian-index-plugin/software-center.py: do not crash if run on a unknown distro...
Michael Vogt [Wed, 18 Apr 2012 10:07:51 +0000 (12:07 +0200)]
apt-xapian-index-plugin/software-center.py: do not crash if run on a unknown distro, just do nothing

6 years agotrivial pep8 fix
Michael Vogt [Wed, 18 Apr 2012 08:53:29 +0000 (10:53 +0200)]
trivial pep8 fix

6 years agopep8 fixes
Michael Vogt [Wed, 18 Apr 2012 08:51:45 +0000 (10:51 +0200)]
pep8 fixes

6 years agoGREEN: retry search in the menu if there is a desktop file with ":" in it
Michael Vogt [Wed, 18 Apr 2012 08:46:49 +0000 (10:46 +0200)]
GREEN: retry search in the menu if there is a desktop file with ":" in it

6 years agoRED: add failing test for gedit menu search failure
Michael Vogt [Wed, 18 Apr 2012 08:44:00 +0000 (10:44 +0200)]
RED: add failing test for gedit menu search failure

6 years agomerged lp:~gary-lasker/software-center/recommendations-sso-login-lp973612 for latest...
Gary Lasker [Wed, 18 Apr 2012 01:37:17 +0000 (21:37 -0400)]
merged lp:~gary-lasker/software-center/recommendations-sso-login-lp973612 for latest updates

6 years agoreally fix the case on startup if there is no network connection
Gary Lasker [Wed, 18 Apr 2012 01:25:15 +0000 (21:25 -0400)]
really fix the case on startup if there is no network connection

6 years agorevert the whoami_error fix as we also get these in the case where the user's token...
Gary Lasker [Tue, 17 Apr 2012 21:56:51 +0000 (17:56 -0400)]
revert the whoami_error fix as we also get these in the case where the user's token has been revoked or invalidated on the server side (so we do need to fully opt-out in this case), also, handle an sso login-failed event

6 years agosoftwarecenter/backend/installbackend_impl/aptd.py: TRIVIAL add comment about cache...
Michael Vogt [Tue, 17 Apr 2012 13:16:30 +0000 (15:16 +0200)]
softwarecenter/backend/installbackend_impl/aptd.py: TRIVIAL add comment about cache being re-opened async

6 years agoif there is an error in the whois query, we can assume a network connectivity issue...
Gary Lasker [Mon, 16 Apr 2012 21:07:07 +0000 (17:07 -0400)]
if there is an error in the whois query, we can assume a network connectivity issue, so we simply hide the recommendations panel as we do for the case where we can't reach the recommendations server

6 years agolog when the user has cancelled the authorization dialog
Gary Lasker [Mon, 16 Apr 2012 20:51:09 +0000 (16:51 -0400)]
log when the user has cancelled the authorization dialog

6 years agologin-canceled is more appropriate for the case where the user has canceled the auth...
Gary Lasker [Mon, 16 Apr 2012 20:49:31 +0000 (16:49 -0400)]
login-canceled is more appropriate for the case where the user has canceled the auth dialog

6 years ago* lp:~mvo/software-center/lp981992:
Gary Lasker [Mon, 16 Apr 2012 19:19:08 +0000 (15:19 -0400)]
* lp:~mvo/software-center/lp981992:
  - fix a crash in the new a11y code if there is a row that has
    no data or is not yet preloaded (LP: #981992)

6 years ago* lp:~mvo/software-center/fix-crash-deb-file-size-calc:
Gary Lasker [Mon, 16 Apr 2012 18:58:19 +0000 (14:58 -0400)]
* lp:~mvo/software-center/fix-crash-deb-file-size-calc:
  - fix crash when installing a deb file that is not found in
    the current apt cache

6 years ago* lp:~mvo/software-center/lp977179:
Gary Lasker [Mon, 16 Apr 2012 18:35:58 +0000 (14:35 -0400)]
* lp:~mvo/software-center/lp977179:
  - make the review UI react correctly to conditions of network
    availability (LP: #977179)

6 years agosoftwarecenter/ui/gtk3/widgets/apptreeview.py: fix crash in the a11y for not yet...
Michael Vogt [Mon, 16 Apr 2012 09:38:51 +0000 (11:38 +0200)]
softwarecenter/ui/gtk3/widgets/apptreeview.py: fix crash in the a11y for not yet loaded rows

6 years agosoftwarecenter/db/pkginfo_impl/aptcache.py: if there is no version for the given...
Michael Vogt [Mon, 16 Apr 2012 09:22:12 +0000 (11:22 +0200)]
softwarecenter/db/pkginfo_impl/aptcache.py: if there is no version for the given pkg in the cache (e.g. because its a debfile) do not crash but ignore this pkg

6 years agoremove the word 'anonymous' from the opt-in text, as we require SSO login for recomme...
Gary Lasker [Mon, 16 Apr 2012 00:00:36 +0000 (20:00 -0400)]
remove the word 'anonymous' from the opt-in text, as we require SSO login for recommendations - NOTE this requires a string freeze exception

6 years agomerge lp:~gary-lasker/software-center/recommendations-sso-login-lp973612 that impleme...
Gary Lasker [Sun, 15 Apr 2012 23:55:37 +0000 (19:55 -0400)]
merge lp:~gary-lasker/software-center/recommendations-sso-login-lp973612 that implements the basis of the fix for this bug

6 years agomake the purpose of the fixme comment more clear
Gary Lasker [Sun, 15 Apr 2012 23:53:57 +0000 (19:53 -0400)]
make the purpose of the fixme comment more clear

6 years agopep8 fixes
Gary Lasker [Sun, 15 Apr 2012 23:37:01 +0000 (19:37 -0400)]
pep8 fixes

6 years agolog a warning instead of a scary error in the case where the Ubuntu SSO dialog is...
Gary Lasker [Sun, 15 Apr 2012 23:06:14 +0000 (19:06 -0400)]
log a warning instead of a scary error in the case where the Ubuntu SSO dialog is canceled by the user (this is a perfectly valid choice and should not be considered an error, seems to me), also, fire a login-failed signal for this case so that listeners can handle it

6 years agofix the delay before showing a spinner when checking the Ubuntu SSO status
Gary Lasker [Sun, 15 Apr 2012 22:53:19 +0000 (18:53 -0400)]
fix the delay before showing a spinner when checking the Ubuntu SSO status

6 years agohandle the case where the user has previously opted-in, but the SSO token has been...
Gary Lasker [Sun, 15 Apr 2012 22:36:38 +0000 (18:36 -0400)]
handle the case where the user has previously opted-in, but the SSO token has been found to be invalid or removed

6 years agoadd a SSO login flow specifically for recommendations opt-in, reuse the opt-in text...
Gary Lasker [Sun, 15 Apr 2012 22:20:31 +0000 (18:20 -0400)]
add a SSO login flow specifically for recommendations opt-in, reuse the opt-in text for the dialog so that we avoid a string freeze exception

6 years agoreleasing version 5.2
Michael Vogt [Fri, 13 Apr 2012 16:52:09 +0000 (18:52 +0200)]
releasing version 5.2

6 years agosoftwarecenter/ui/gtk3/app.py: pep8 fix
Michael Vogt [Fri, 13 Apr 2012 16:51:59 +0000 (18:51 +0200)]
softwarecenter/ui/gtk3/app.py: pep8 fix

6 years agotest/test_database.py: disabled sc.staging.ubuntu.com for now as it breaks the test...
Michael Vogt [Fri, 13 Apr 2012 16:32:26 +0000 (18:32 +0200)]
test/test_database.py: disabled sc.staging.ubuntu.com for now as it breaks the test, remove PkgStates.UPGRADABLE test as this is no longer used

6 years agomerged lp:~mvo/software-center/lp976525 after code-review approval from Gary (thanks...
Michael Vogt [Fri, 13 Apr 2012 16:19:20 +0000 (18:19 +0200)]
merged lp:~mvo/software-center/lp976525 after code-review approval from Gary (thanks for review)

6 years agosoftwarecenter/ui/gtk3/widgets/reviews.py: make the show/hide of elements that are...
Michael Vogt [Fri, 13 Apr 2012 16:01:42 +0000 (18:01 +0200)]
softwarecenter/ui/gtk3/widgets/reviews.py: make the show/hide of elements that are network sensitive work again, this means that when there is no network you wont see the "inapproprate" or "was this useful" bits

6 years ago - adds an explicit sys.exit() to ensure all gtk event
Gary Lasker [Fri, 13 Apr 2012 15:45:33 +0000 (11:45 -0400)]
  - adds an explicit sys.exit() to ensure all gtk event
* lp:~mvo/software-center/lp976169:
  - do not crash if apt-xapian-index is not installed
    (LP: #976337)
  - ignore xapian.DatabaseOpeningError here (happens when
    there is no a-x-i so we don't care) (LP: #976169)

6 years ago* lp:~mvo/software-center/lp914393:
Gary Lasker [Fri, 13 Apr 2012 15:38:05 +0000 (11:38 -0400)]
* lp:~mvo/software-center/lp914393:
  - adds a explicit sys.exit() to ensure all gtk event
    processing is stopped on application quit (LP: #914393)

6 years agosoftwarecenter/ui/gtk3/widgets/reviews.py: make the yes/no button sensitive/insensiti...
Michael Vogt [Fri, 13 Apr 2012 15:31:48 +0000 (17:31 +0200)]
softwarecenter/ui/gtk3/widgets/reviews.py: make the yes/no button sensitive/insensitive according to the network state

6 years ago* lp:~mvo/software-center/lp772549:
Gary Lasker [Fri, 13 Apr 2012 15:26:50 +0000 (11:26 -0400)]
* lp:~mvo/software-center/lp772549:
  - fix a bug that can result in a blank software center
    screen on startup (LP: #772549)

6 years agosoftwarecenter/ui/gtk3/widgets/reviews.py: do not hide the complain (that may actuall...
Michael Vogt [Fri, 13 Apr 2012 14:16:26 +0000 (16:16 +0200)]
softwarecenter/ui/gtk3/widgets/reviews.py: do not hide the complain (that may actually not be there and is also insufficient as there maybe "delete"/"edit" instead of "complain") but instead hide the entire flagbox (LP: #977179)

6 years agosoftwarecenter/db/application.py: comment "upgradable" state again as it means remova...
Michael Vogt [Fri, 13 Apr 2012 12:41:03 +0000 (14:41 +0200)]
softwarecenter/db/application.py: comment "upgradable" state again as it means removal is impossible

6 years agoutils/update-software-center-channels: do not crash if apt-xapian-index is not instal...
Michael Vogt [Fri, 13 Apr 2012 12:05:35 +0000 (14:05 +0200)]
utils/update-software-center-channels: do not crash if apt-xapian-index is not installed (LP: #976337)

6 years agoutils/update-software-center-channels: fix wrong indent level in compare_channels_in...
Michael Vogt [Fri, 13 Apr 2012 12:02:05 +0000 (14:02 +0200)]
utils/update-software-center-channels: fix wrong indent level in  compare_channels_in_db_to_cache()

6 years agoutils/update-software-center-channels: ignore xapian.DatabaseOpeningError here (happe...
Michael Vogt [Fri, 13 Apr 2012 12:01:44 +0000 (14:01 +0200)]
utils/update-software-center-channels: ignore xapian.DatabaseOpeningError here (happens when there is no a-x-i so we don't care)

6 years agomerged lp:~mvo/software-center/appview-tweaks after code-review approval from Gary
Michael Vogt [Fri, 13 Apr 2012 11:37:21 +0000 (13:37 +0200)]
merged lp:~mvo/software-center/appview-tweaks after code-review approval from Gary

6 years agosoftwarecenter/ui/gtk3/panes/availablepane.py: do not reseting the sort mode on categ...
Michael Vogt [Fri, 13 Apr 2012 11:30:48 +0000 (13:30 +0200)]
softwarecenter/ui/gtk3/panes/availablepane.py: do not reseting the sort mode on category change, that is a bit too much, thanks to Gary Lasker for spotting this

6 years agosoftwarecenter/ui/gtk3/app.py: explicitely sys.exit() after main_quit is called
Michael Vogt [Fri, 13 Apr 2012 09:53:43 +0000 (11:53 +0200)]
softwarecenter/ui/gtk3/app.py: explicitely sys.exit() after main_quit is called

6 years agosoftwarecenter/ui/gtk3/app.py: move the Gtk.main_quit() before the dbusController...
Michael Vogt [Fri, 13 Apr 2012 08:58:49 +0000 (10:58 +0200)]
softwarecenter/ui/gtk3/app.py: move the Gtk.main_quit() before the dbusController.stop and add exception handler for good measure

6 years agosoftwarecenter/ui/gtk3/app.py: use the same "close_app()" function when closing via...
Michael Vogt [Fri, 13 Apr 2012 08:43:18 +0000 (10:43 +0200)]
softwarecenter/ui/gtk3/app.py: use the same "close_app()" function when closing via menu/close and clicking on the window-close button

6 years agosoftwarecenter/ui/gtk3/app.py: manually ensure that the dbus controller is gone when...
Michael Vogt [Fri, 13 Apr 2012 08:36:54 +0000 (10:36 +0200)]
softwarecenter/ui/gtk3/app.py: manually ensure that the dbus controller is gone when the app is quit

6 years agosoftwarecenter/ui/gtk3/app.py: log when software-center tries to reconnect to the...
Michael Vogt [Fri, 13 Apr 2012 08:25:43 +0000 (10:25 +0200)]
softwarecenter/ui/gtk3/app.py: log when software-center tries to reconnect to the running instance and ensure that its actually returning "True"