Skip to content

Commit

Permalink
fix cpu spike, tooltips missing in library search results with gtk 2.…
Browse files Browse the repository at this point in the history
…16.2
  • Loading branch information
Scott Horowitz authored and bebarino committed Sep 21, 2009
1 parent 62c0691 commit fc7976a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ v1.6.3 - Pending
+ Bug: Fix album tracks in the info tab being out of order sometimes
+ Bug: Show songs with a missing date in info album listing
+ Bug: Library icons change after adding stream to playlist
+ Bug: Cpu spike, tooltips missing in library search results with gtk 2.16.2

v1.6.2 - April 13, 2009
+ Bug: Fix cli options (e.g. 'sonata play')
Expand Down
2 changes: 1 addition & 1 deletion sonata/library.py
Original file line number Diff line number Diff line change
Expand Up @@ -959,9 +959,9 @@ def on_library_query_tooltip(self, widget, x, y, keyboard_mode, tooltip):
self.libsearch_last_tooltip = new_tooltip
self.library.set_property('has-tooltip', False)
gobject.idle_add(self.library_search_tooltips_enable, widget, x, y, keyboard_mode, tooltip)
gobject.idle_add(widget.set_tooltip_markup, new_tooltip)
return

gobject.idle_add(widget.set_tooltip_markup, new_tooltip)
self.libsearch_last_tooltip = new_tooltip

return False #api says we should return True, but this doesn't work?
Expand Down
2 changes: 1 addition & 1 deletion sonata/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ def __init__(self, args, window=None, _sugar=False):
self.playlists_selection = self.playlists.get_selection()

playlistsactions = [
('savemenu', None, _('_New...'), '<Ctrl><Shift>s', None, self.playlists.on_playlist_save),
('savemenu', None, _('_New Playlist...'), '<Ctrl><Shift>s', None, self.playlists.on_playlist_save),
('renamemenu', None, _('_Rename...'), None, None, self.playlists.on_playlist_rename),
]

Expand Down

0 comments on commit fc7976a

Please sign in to comment.