projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ceecd67
)
photocam should reset its preload when a new file is loaded
author
zmike
<michael.blumenkrantz@gmail.com>
Thu, 7 Aug 2014 14:35:52 +0000
(10:35 -0400)
committer
zmike
<michael.blumenkrantz@gmail.com>
Thu, 7 Aug 2014 14:36:20 +0000
(10:36 -0400)
this prevents infinite busy animations
@fix
src/lib/elm_photocam.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_photocam.c
b/src/lib/elm_photocam.c
index
57e8137
..
88b02f1
100644
(file)
--- a/
src/lib/elm_photocam.c
+++ b/
src/lib/elm_photocam.c
@@
-1572,6
+1572,7
@@
_elm_photocam_file_set(Eo *obj, Elm_Photocam_Data *sd, const char *file)
free(sd->remote_data);
if (sd->remote) _elm_url_cancel(sd->remote);
sd->remote = NULL;
+ sd->preload_num = 0;
for (i = 0; i < sizeof (remote_uri) / sizeof (remote_uri[0]); ++i)
if (!strncmp(remote_uri[i], file, strlen(remote_uri[i])))