[totem/gnome-3-8] rotation: Don't check rotation for DVDs either



commit 08c176793c91ba46161f0155fe97201ec3e69663
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 b794003..a80c426 100644
--- a/src/plugins/rotation/totem-rotation-plugin.vala
+++ b/src/plugins/rotation/totem-rotation-plugin.vala
@@ -149,7 +149,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]