View | Details | Raw Unified
Collapse All | Expand All

(-) src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/NotificationAreaService.cs (-3 / +5 lines)
 Lines 276-285    Link Here 
        {
        {
            if (rating_menu_item.Visible) {
            if (rating_menu_item.Visible) {
                TrackInfo track = ServiceManager.PlayerEngine.CurrentTrack;
                TrackInfo track = ServiceManager.PlayerEngine.CurrentTrack;
                if (track is DatabaseTrackInfo) {
                if (track != null) {
                    (track as DatabaseTrackInfo).Refresh ();
                    if (track is DatabaseTrackInfo) {
                        (track as DatabaseTrackInfo).Refresh ();
                    }
                    rating_menu_item.Reset (track.Rating);
                }
                }
                rating_menu_item.Reset (track.Rating);
            }
            }
            menu.Popup (null, null, notif_area.PositionMenu, 3, Gtk.Global.CurrentEventTime);
            menu.Popup (null, null, notif_area.PositionMenu, 3, Gtk.Global.CurrentEventTime);
        }
        }