elm_thumb_ethumb_client_connected ->
authorCarsten Haitzler <raster@rasterman.com>
Thu, 16 Feb 2012 05:58:23 +0000 (05:58 +0000)
committerCarsten Haitzler <raster@rasterman.com>
Thu, 16 Feb 2012 05:58:23 +0000 (05:58 +0000)
elm_thumb_ethumb_client_connected_get()

more consistent name.

SVN revision: 68001

src/lib/Elementary.h.in
src/lib/elm_icon.c
src/lib/elm_photo.c
src/lib/elm_thumb.c
src/lib/elm_thumb.h

index 46dd2b1..088164c 100644 (file)
@@ -244,7 +244,7 @@ EAPI extern Elm_Version *elm_version;
 #include <elm_spinner.h> // OK
 #include <elm_store.h> // XXX: needs docs
 #include <elm_table.h> // OK
-#include <elm_theme.h>
+#include <elm_theme.h> // OK
 #include <elm_thumb.h>
 #include <elm_toolbar.h>
 #include <elm_transit.h>
index 068e730..180711d 100644 (file)
@@ -700,7 +700,7 @@ elm_icon_thumb_set(Evas_Object *obj, const char *file, const char *group)
    eina_stringshare_replace(&wd->thumb.file.path, file);
    eina_stringshare_replace(&wd->thumb.file.key, group);
 
-   if (elm_thumb_ethumb_client_connected())
+   if (elm_thumb_ethumb_client_connected_get())
      {
         _icon_thumb_apply(wd);
         return ;
index 841b03a..001d59e 100644 (file)
@@ -591,7 +591,7 @@ elm_photo_thumb_set(const Evas_Object *obj, const char *file, const char *group)
    eina_stringshare_replace(&wd->thumb.file.path, file);
    eina_stringshare_replace(&wd->thumb.file.key, group);
 
-   if (elm_thumb_ethumb_client_connected())
+   if (elm_thumb_ethumb_client_connected_get())
      {
         _icon_thumb_apply(wd);
         return ;
index b40aa80..fee178d 100644 (file)
@@ -409,7 +409,7 @@ _thumb_show(Widget_Data *wd)
 {
    evas_object_show(wd->frame);
 
-   if (elm_thumb_ethumb_client_connected())
+   if (elm_thumb_ethumb_client_connected_get())
      {
         _thumb_apply(wd);
         return;
@@ -690,7 +690,7 @@ elm_thumb_ethumb_client_get(void)
 }
 
 EAPI Eina_Bool
-elm_thumb_ethumb_client_connected(void)
+elm_thumb_ethumb_client_connected_get(void)
 {
    return _elm_ethumb_connected;
 }
index d166867..e677a39 100644 (file)
@@ -7,7 +7,7 @@
  * A thumb object is used for displaying the thumbnail of an image or video.
  * You must have compiled Elementary with Ethumb_Client support and the DBus
  * service must be present and auto-activated in order to have thumbnails to
- * be generated.
+ * be generated. You must also have a Session bus, not System bus.
  *
  * Once the thumbnail object becomes visible, it will check if there is a
  * previously generated thumbnail image for the file set on it. If not, it
@@ -126,9 +126,9 @@ EAPI void                        elm_thumb_file_set(Evas_Object *obj, const char
 EAPI void                        elm_thumb_file_get(const Evas_Object *obj, const char **file, const char **key);
 
 /**
- * Get the path and key to the image or video generated by ethumb.
+ * Get the path and key to the image or video thumbnail generated by ethumb.
  *
- * One just need to make sure that the thumbnail was generated before getting
+ * One just needs to make sure that the thumbnail was generated before getting
  * its path; otherwise, the path will be NULL. One way to do that is by asking
  * for the path when/after the "generate,stop" smart callback is called.
  *
@@ -225,7 +225,7 @@ EAPI void                       *elm_thumb_ethumb_client_get(void);
  * @return EINA_TRUE if the client is connected to the server or EINA_FALSE
  * otherwise.
  */
-EAPI Eina_Bool                   elm_thumb_ethumb_client_connected(void);
+EAPI Eina_Bool                   elm_thumb_ethumb_client_connected_get(void);
 
 /**
  * Make the thumbnail 'editable'.