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

List:       kde-bugs-dist
Subject:    [Bug 111643] Still camera not showed in media ioslave when plugged in
From:       Kevin Ottens <ervin () kde ! org>
Date:       2005-09-23 21:18:04
Message-ID: 20050923211804.14643.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=111643         
ervin kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From ervin kde org  2005-09-23 23:18 -------
SVN commit 463393 by ervin:

HAL spec for camera slightly changed between 0.4.x and 0.5.x.
(Forward port)

BUG:111643


 M  +7 -1      halbackend.cpp  


--- trunk/KDE/kdebase/kioslave/media/mediamanager/halbackend.cpp #463392:463393
 @ -246,8 +246,14  @
 
 	/* Camera handled by gphoto2*/
 	if (libhal_device_query_capability(m_halContext, udi, "camera", NULL) &&
+#ifdef HAL_0_4
 		libhal_device_property_exists(m_halContext, udi, "camera.libgphoto2_support", NULL) &&
-		libhal_device_get_property_bool(m_halContext, udi, "camera.libgphoto2_support", NULL))
+		libhal_device_get_property_bool(m_halContext, udi, "camera.libgphoto2_support", NULL)
+#else
+		libhal_device_property_exists(m_halContext, udi, "camera.libgphoto2.support", NULL) &&
+		libhal_device_get_property_bool(m_halContext, udi, "camera.libgphoto2.support", NULL)
+#endif
+	   )
 		{
 			/* Create medium */
 			Medium* medium = new Medium(udi, "");
[prev in list] [next in list] [prev in thread] [next in thread] 

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