elm_thumb_ethumb_client_connected ->

elm_thumb_ethumb_client_connected_get()

more consistent name.



SVN revision: 68001
This commit is contained in:
Carsten Haitzler 2012-02-16 05:58:23 +00:00
parent 1bdfd32580
commit 1b1489da31
5 changed files with 9 additions and 9 deletions

View 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>

View 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 ;

View 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 ;

View 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;
}

View 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'.