[totem] rotation: Don't check rotation for DVDs either



commit f56a084e58eadcf828b0d4a626b02748212cc59d
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Jul 26 11:52:15 2013 +0200

    rotation: Don't check rotation for DVDs either

 src/plugins/rotation/totem-rotation-plugin.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/rotation/totem-rotation-plugin.vala b/src/plugins/rotation/totem-rotation-plugin.vala
index a2b8315..1bc571e 100644
--- a/src/plugins/rotation/totem-rotation-plugin.vala
+++ b/src/plugins/rotation/totem-rotation-plugin.vala
@@ -157,7 +157,7 @@ class RotationPlugin: GLib.Object, Peas.Activatable
     private async void try_restore_state (string mrl)
     {
         var file = GLib.File.new_for_uri (mrl);
-        if (file.has_uri_scheme ("http"))
+        if (file.has_uri_scheme ("http") || file.has_uri_scheme ("dvd"))
           return;
         try {
             var file_info = yield file.query_info_async (GIO_ROTATION_FILE_ATTRIBUTE,


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