Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
        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();
        }
Ejemplo n.º 3
0
        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 ();
        }
Ejemplo n.º 4
0
 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;
 }
Ejemplo n.º 5
0
	void HandleFullScreenViewDestroy (object sender, EventArgs args)
	{
		JumpTo (fsview.View.Item.Index);
		fsview = null;
	}
Ejemplo n.º 6
0
	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 ();
	}
Ejemplo n.º 7
0
	void HandleFullScreenViewDestroy (object sender, EventArgs args)
	{
		JumpTo (fsview.View.Item.Index);
		fsview = null;
		
		if (ViewMode == ModeType.PhotoView) {
			ColorDialog.SwitchViews (photo_view.View);
		}
	}
Ejemplo n.º 8
0
	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 ();
	}