[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-player-dev
Subject:    [Player-dev] Re: CR: Bug fix for 8346 - "docking mode" block to
From:       Rusty Lynch <rusty.lynch () intel ! com>
Date:       2008-05-30 18:38:35
Message-ID: 1212172715.20325.53.camel () rusty-smokin
[Download RAW message or body]

Looks good.

On Fri, 2008-05-30 at 11:27 -0700, Prajwal Mohan wrote:
> Description
> ----------------------------------
> Currently if the gconf key "/system/usbc/mount_point" exists and the folder
> does not exist, the player will complain "Application disabled in docking
> mode" even if it not. The fix will check if the gconf key exists and also
> checks to see if the folder exists before attempting to figure out if the
> device is in docking mode. 
> 
> Files Modified
> ----------------------------------
> player/mid/src/app.py
> 
> Branches
> ---------------------------------
> HEAD
> 
> 
> Index: src/app.py
> ===================================================================
> RCS file: /cvsroot/player/mid/src/app.py,v
> retrieving revision 1.11
> diff -u -r1.11 app.py
> --- src/app.py	28 May 2008 05:43:48 -0000	1.11
> +++ src/app.py	30 May 2008 18:19:14 -0000
> @@ -279,7 +279,7 @@
>          # and expect to recieve SIGHUB signals when the USB client hotplug
>          # script needs to unmount the partition.
>          self.__media_dir =
> self.client.get_string('/system/usbc/mount_point')
> -        if self.__media_dir:
> +        if self.__media_dir and os.path.isdir(self.__media_dir):
>              try:
>                  # Attempt to create a helpful symbolic link from ~/media
>                  # to the real mountpoint...
> 

_______________________________________________
Player-dev mailing list
Player-dev@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/player-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic