Update ephoto to the new api changes.
SVN revision: 28847
This commit is contained in:
parent
c95a43ed5f
commit
68212d2937
|
@ -8,10 +8,12 @@
|
||||||
#include <Evas.h>
|
#include <Evas.h>
|
||||||
#include <Ewl.h>
|
#include <Ewl.h>
|
||||||
#include <fnmatch.h>
|
#include <fnmatch.h>
|
||||||
|
|
||||||
#ifdef BUILD_EXIF_SUPPORT
|
#ifdef BUILD_EXIF_SUPPORT
|
||||||
#include <libexif/exif-data.h>
|
#include <libexif/exif-data.h>
|
||||||
#include <libexif/exif-loader.h>
|
#include <libexif/exif-loader.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <libgen.h>
|
#include <libgen.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <sqlite3.h>
|
#include <sqlite3.h>
|
||||||
|
|
|
@ -49,8 +49,8 @@ Ewl_Widget *add_ltree(Ewl_Widget *c)
|
||||||
Ewl_View *view;
|
Ewl_View *view;
|
||||||
|
|
||||||
model = ewl_model_new();
|
model = ewl_model_new();
|
||||||
ewl_model_fetch_set(model, list_data_fetch);
|
ewl_model_data_fetch_set(model, list_data_fetch);
|
||||||
ewl_model_count_set(model, list_data_count);
|
ewl_model_data_count_set(model, list_data_count);
|
||||||
|
|
||||||
tree = ewl_tree2_new();
|
tree = ewl_tree2_new();
|
||||||
ewl_tree2_headers_visible_set(EWL_TREE2(tree), 0);
|
ewl_tree2_headers_visible_set(EWL_TREE2(tree), 0);
|
||||||
|
|
|
@ -143,6 +143,7 @@ void create_main_gui(void)
|
||||||
button = add_button(em->toolbar, NULL, PACKAGE_DATA_DIR "/images/get_exif.png", NULL, NULL);
|
button = add_button(em->toolbar, NULL, PACKAGE_DATA_DIR "/images/get_exif.png", NULL, NULL);
|
||||||
ewl_image_size_set(EWL_IMAGE(EWL_BUTTON(button)->image_object), 30, 30);
|
ewl_image_size_set(EWL_IMAGE(EWL_BUTTON(button)->image_object), 30, 30);
|
||||||
ewl_attach_tooltip_text_set(button, "You do not have libexif 0.6.13");
|
ewl_attach_tooltip_text_set(button, "You do not have libexif 0.6.13");
|
||||||
|
|
||||||
#ifdef BUILD_EXIF_SUPPORT
|
#ifdef BUILD_EXIF_SUPPORT
|
||||||
ewl_callback_append(button, EWL_CALLBACK_CLICKED, display_exif_dialog, NULL);
|
ewl_callback_append(button, EWL_CALLBACK_CLICKED, display_exif_dialog, NULL);
|
||||||
ewl_attach_tooltip_text_set(button, "View Exif Data");
|
ewl_attach_tooltip_text_set(button, "View Exif Data");
|
||||||
|
@ -233,8 +234,8 @@ static Ewl_Widget *add_atree(Ewl_Widget *c)
|
||||||
Ewl_View *view;
|
Ewl_View *view;
|
||||||
|
|
||||||
model = ewl_model_new();
|
model = ewl_model_new();
|
||||||
ewl_model_fetch_set(model, album_data_fetch);
|
ewl_model_data_fetch_set(model, album_data_fetch);
|
||||||
ewl_model_count_set(model, album_data_count);
|
ewl_model_data_count_set(model, album_data_count);
|
||||||
|
|
||||||
tree = ewl_tree2_new();
|
tree = ewl_tree2_new();
|
||||||
ewl_tree2_headers_visible_set(EWL_TREE2(tree), 0);
|
ewl_tree2_headers_visible_set(EWL_TREE2(tree), 0);
|
||||||
|
|
Loading…
Reference in New Issue