Banshee.Sources.Gui.SourceView.OnSourceRowInserted C# (CSharp) Method

OnSourceRowInserted() private method

private OnSourceRowInserted ( object o, Banshee.Sources.Gui.SourceRowEventArgs args ) : void
o object
args Banshee.Sources.Gui.SourceRowEventArgs
return void
        private void OnSourceRowInserted (object o, SourceRowEventArgs args)
        {
            args.Source.UserNotifyUpdated += OnSourceUserNotifyUpdated;

            if (args.Source.Parent != null && args.Source.Parent.AutoExpand == true) {
                Expand (args.ParentIter);
            }

            if (args.Source.Expanded || args.Source.AutoExpand == true) {
                Expand (args.Iter);
            }

            UpdateView ();

            if (args.Source.Properties.Get<bool> ("NotifyWhenAdded")) {
                args.Source.NotifyUser ();
            }
        }