private void HandleFullScreenViewDestroy(object sender, System.EventArgs args) { directory_view.Selection.Clear(); if (fsview.View.Item.IsValid) { directory_view.Selection.Add(fsview.View.Item.Index); } fsview = null; }
private void HandleViewFullscreen(object sender, System.EventArgs args) { if (fsview != null) { fsview.Destroy(); } fsview = new FSpot.FullScreenView(collection, window); fsview.Destroyed += HandleFullScreenViewDestroy; fsview.View.Item.Index = image_view.Item.Index; fsview.Show(); }
private void HandleViewFullscreen(object sender, System.EventArgs args) { if (fsview != null) fsview.Destroy (); fsview = new FSpot.FullScreenView (collection, Window); fsview.Destroyed += HandleFullScreenViewDestroy; fsview.View.Item.Index = image_view.Item.Index; fsview.Show (); }
private void HandleFullScreenViewDestroy(object sender, System.EventArgs args) { directory_view.Selection.Clear (); if (fsview.View.Item.IsValid) directory_view.Selection.Add (fsview.View.Item.Index); fsview = null; }
void HandleFullScreenViewDestroy (object sender, EventArgs args) { JumpTo (fsview.View.Item.Index); fsview = null; }
void HandleViewFullscreen (object sender, EventArgs args) { int active = (selection.Count > 0 ? SelectedIds() [0] : 0); if (fsview == null) { fsview = new FSpot.FullScreenView (query, main_window); fsview.Destroyed += HandleFullScreenViewDestroy; fsview.KeyPressEvent += HandleFullScreenViewKeyPressEvent; fsview.View.Item.Index = active; } else { // FIXME this needs to be another mode like PhotoView and IconView mode. fsview.View.Item.Index = active; } fsview.Show (); }
void HandleFullScreenViewDestroy (object sender, EventArgs args) { JumpTo (fsview.View.Item.Index); fsview = null; if (ViewMode == ModeType.PhotoView) { ColorDialog.SwitchViews (photo_view.View); } }
void HandleViewFullscreen (object sender, EventArgs args) { int active = Math.Max (ActiveIndex (), 0); if (fsview == null) { fsview = new FSpot.FullScreenView (query); fsview.Destroyed += HandleFullScreenViewDestroy; fsview.View.Item.Index = active; ColorDialog.SwitchViews (fsview.View); } else { // FIXME this needs to be another mode like PhotoView and IconView mode. fsview.View.Item.Index = active; } fsview.Show (); }