discomfitor pushed a commit to branch master.

commit 02149c903cf28aaeec64e50e9b1b5b5ce38ecf97
Author: Ian Lee <[email protected]>
Date:   Tue May 7 11:17:02 2013 +0100

    patches to remove eukit and add device icon from D99
---
 configure.ac                    | 17 ++---------------
 src/bin/e_fm/e_fm_main_udisks.c |  2 +-
 2 files changed, 3 insertions(+), 16 deletions(-)

diff --git a/configure.ac b/configure.ac
index 1d6fecd..1212060 100644
--- a/configure.ac
+++ b/configure.ac
@@ -350,7 +350,6 @@ test "x${device_backend}" = "xeeze" || 
AC_DEFINE_UNQUOTED([HAVE_HAL],[1],[enable
 
 DBUS_MOUNT_CONFIG=1
 dbus_mount="dbus-1"
-udisks_mount="eukit >= $efl_version"
 
 AC_ARG_ENABLE([mount-udisks],
   AS_HELP_STRING([--enable-mount-udisks],[enable udisks mounting support 
@<:@default=enabled@:>@]),
@@ -360,22 +359,10 @@ AC_ARG_ENABLE([mount-udisks],
 AC_MSG_CHECKING([whether the UDISKS mounting support is enabled])
 AC_MSG_RESULT([${e_cv_want_mount_udisks}])
 
-if test "x$e_cv_want_mount_udisks" != "xno";then
-  PKG_CHECK_EXISTS([eukit >= ${efl_version}],
-    [],[
-      udisks_mount=
-      AC_MSG_NOTICE([udisks mounting disabled])
-    ])
-else
-  udisks_mount=
-  AC_MSG_NOTICE([udisks mounting disabled])
-fi
-
 
 if test "x${e_cv_want_mount_udisks}" = "xno" ; then
   DBUS_MOUNT_CONFIG=0
   dbus_mount=
-  udisks_mount=
 fi
 
 AC_ARG_ENABLE([mount-eeze],
@@ -414,8 +401,8 @@ fi
 AC_SUBST([EEZE_MOUNT_CONFIG])
 AC_SUBST([DBUS_MOUNT_CONFIG])
 AM_CONDITIONAL([HAVE_EEZE_MOUNT], [false])
-test -n "$udisks_mount" && AC_DEFINE_UNQUOTED([HAVE_UDISKS_MOUNT], [1], 
[enable Udisks mounting])
-AM_CONDITIONAL([HAVE_UDISKS_MOUNT], [test -n "$udisks_mount"])
+test -n "$dbus_mount" && AC_DEFINE_UNQUOTED([HAVE_UDISKS_MOUNT], [1], [enable 
Udisks mounting])
+AM_CONDITIONAL([HAVE_UDISKS_MOUNT], [test -n "$dbus_mount"])
 AM_CONDITIONAL([HAVE_EEZE_MOUNT], [test -n "$eeze_mount"])
 
 # doxygen program for documentation building
diff --git a/src/bin/e_fm/e_fm_main_udisks.c b/src/bin/e_fm/e_fm_main_udisks.c
index 1be01f8..f65515e 100644
--- a/src/bin/e_fm/e_fm_main_udisks.c
+++ b/src/bin/e_fm/e_fm_main_udisks.c
@@ -402,7 +402,7 @@ _e_fm_main_udisks_cb_store_prop(void *data, const 
Eldbus_Message *msg,
                   if (s->icon.drive)
                     eina_stringshare_del(s->icon.drive);
                   s->icon.drive = NULL;
-                  if (!icon[0])
+                  if (icon[0])
                     s->icon.drive = eina_stringshare_add(icon);
                   s->icon.volume = s->icon.drive;
                }

-- 

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may

Reply via email to