[shotwell/shotwell-0.30] slideshow: Suspend hiding the cursor



commit 0cb965dd76f491971f1c3342771a8395c75fc83f
Author: Jens Georg <mail jensge org>
Date:   Fri Oct 12 08:35:44 2018 +0000

    slideshow: Suspend hiding the cursor
    
    When showing the settings dialog, suspend hiding the cursor on the
    slideshow to make it easier to navigate back into the settings dialog
    
    Fixes #67
    
    
    (cherry picked from commit 8b3a8a8645fe1cfcba2744c730d933f71600a4c7)

 src/SlideshowPage.vala | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/SlideshowPage.vala b/src/SlideshowPage.vala
index 18fef7f3..da1306cc 100644
--- a/src/SlideshowPage.vala
+++ b/src/SlideshowPage.vala
@@ -362,6 +362,7 @@ class SlideshowPage : SinglePhotoPage {
         bool slideshow_playing = playing;
         playing = false;
         hide_toolbar();
+        suspend_cursor_hiding();
         
         if (settings_dialog.run() == Gtk.ResponseType.OK) {
             // sync with the config setting so it will persist
@@ -375,6 +376,7 @@ class SlideshowPage : SinglePhotoPage {
         }
         
         settings_dialog.destroy();
+        restore_cursor_hiding();
         playing = slideshow_playing;
         timer.start();
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]