…support for GNOME 3 and Unity
Gnome 3 recommends using dconf to get and set values, as a result
gconftool-2 does not return a value in gnome3. Also GNOME_SESSION_ID
as a variable has been deprecated, so the detection of Gnome as a DE
has been changed accordingly.
Gnome 3 recommends using gsettings to get and set values, as a result
gconftool-2 does not return a value in gnome3. Also GNOME_SESSION_ID
as a variable has been deprecated, so the detection of Gnome as a DE
has been changed accordingly.
Gnome 3 recommends using gsettings to get and set values, as a result
gconftool-2 does not return a value in gnome3. Also GNOME_SESSION_ID
as a variable has been deprecated, so the detection of Gnome as a DE
has been changed accordingly.
When a track with a non valid total-tracks has multiple release matches
on Picard, picard tries to apply a linear combination of weights to
detect the best match. In the process it tried to typecast totaltracks
into and int.
This causes a ValueError when totaltracks is not castable into an int.
When multiple files were linked to the same track and the changes to
the items were saved, the parent album icon didn't update to reflect
the change.
This was because of a buggy item.save() function which led to an update
call to the update() method of files. The files on update did not recu-
rsively call their parent items to be updated too.
This ignores E501 (line too long), some indentation related errors and
configures gettext functions as known builtins, which makes the error
list for most files very short.
Messages in the generated UI files are ignored as well.
This reduces the number of warnings from ~2300 to ~200.
For example, for an artist dialog, loading into picard is not suitable.
Each child class of `SearchDialog` will provide an `accept_event` method,
which will call appropriate handler function for that event.
The accept button needs to be disabled to allow searching on pressing
return. If not disabled, the dialog closes on return. In commit a44c375,
focus out event of the table was used to disable the load button. This
doesn't works as the button will be disabled when user moves the mouse
towards the button (focus moves out of the table).
To avoid this, capture focus in event of `search_edit` widget.
Some noticeable points:
* Disable search action when query field (search box) is empty.
* Return also triggers accept event. To avoid this, each time focus moves
out of table, disable the accept button. This would allow searching
without the dialog getting closed.