remove file extension checking
authorHyoyoung Chang <hyoyoung.chang@samsung.com>
Wed, 23 Mar 2011 10:10:11 +0000 (19:10 +0900)
committerHyoyoung Chang <hyoyoung.chang@samsung.com>
Wed, 23 Mar 2011 10:10:11 +0000 (19:10 +0900)
debian/changelog
src/xcnphandler.c

index 8158d07..9a73d31 100644 (file)
@@ -1,3 +1,11 @@
+cbhm (0.1.0-81) unstable; urgency=low
+
+  * remove image file extension checking
+  * Git: 165.213.180.234:slp/pkgs/c/cbhm
+  * Tag: cbhm_0.1.0-81
+
+ -- Hyoyoung Chang <hyoyoung.chang@samsung.com>  Wed, 23 Mar 2011 19:09:47 +0900
+
 cbhm (0.1.0-80) unstable; urgency=low
 
   * version up
index fe9b483..c4eaa52 100755 (executable)
@@ -267,7 +267,7 @@ int get_selection_content(void *data)
                unesc_len = 0;
 
        if (!strncmp(cbbuf, "file://", 7) && 
-               (strcasestr(cbbuf,".png") || strcasestr(cbbuf,".jpg") || strcasestr(cbbuf,".bmp")) &&
+               //(strcasestr(cbbuf,".png") || strcasestr(cbbuf,".jpg") || strcasestr(cbbuf,".bmp")) &&
                check_regular_file(cbbuf+7))
        {
                DTRACE("clipdrawer add path = %s\n", cbbuf+7);
@@ -286,7 +286,7 @@ int get_selection_content(void *data)
                1. does the file exist?
                2. dose the file wanted type? */
        if (!strncmp(unesc, "file://", 7) && 
-               (strcasestr(unesc,".png") || strcasestr(unesc,".jpg") || strcasestr(unesc,".bmp")) &&
+               //(strcasestr(unesc,".png") || strcasestr(unesc,".jpg") || strcasestr(unesc,".bmp")) &&
                check_regular_file(unesc+7))
        {
                DTRACE("clipdrawer add path = %s\n", unesc+7);