Good news (I hope).

Disregard the patches.
I looked at the code a bit more and added a "real" fix. (a pretty simple one, 
actually)
It was all because of that "modified_sourceslist" not being set to True.
I've commited the fix to the linked branch and proposed a merge.
With the fix, editing the sources in software-properties-gtk and then exiting 
will correctly display the update cache dialog.
This is a fix for Bug #1075537.

I tested this with the Software Center and, curiously, this also seems to fix 
this bug.
When editing the software sources from the Software Center, the Software Center 
"grabs" and hides the dialog and the update progress is shown in the Software 
Center.
After the cache update is complete, it executes update-apt-xapian-index 
correctly (though it takes a long time to finish) and, when done, it refreshes 
the Sofware Center.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/782953

Title:
  Software Center doesn't detect changes in sources until update-apt-
  xapian-index is ran by cron

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/782953/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to