resize item default size, bugfix update content
authorHyoyoung Chang <hyoyoung.chang@samsung.com>
Thu, 6 Jan 2011 11:43:06 +0000 (20:43 +0900)
committerHyoyoung Chang <hyoyoung.chang@samsung.com>
Thu, 6 Jan 2011 11:43:06 +0000 (20:43 +0900)
src/clipdrawer.c
src/common.h
src/xcnphandler.c

index 62a93ca..5891d42 100644 (file)
@@ -365,10 +365,10 @@ static void _grid_click_paste(void *data, Evas_Object *obj, void *event_info)
 void _grid_del(const void *data, Evas_Object *obj)
 {
        griditem_t *ti = (griditem_t *)data;
-       if (ti->itype == GI_IMAGE)
-               eina_stringshare_del(ti->ipathdata);
-       else
+       if (ti->itype == GI_TEXT)
                eina_strbuf_free(ti->istrdata);
+       else
+               eina_stringshare_del(ti->ipathdata);
        free(ti);
 }
 
index 59b5b7a..15ef513 100644 (file)
@@ -31,7 +31,7 @@
 
 struct appdata;
 
-#define HISTORY_QUEUE_ITEM_SIZE (5 * 1024) // 4Kilo 
+#define HISTORY_QUEUE_ITEM_SIZE (512 * 1024) // 5Kilo 
 #define HISTORY_QUEUE_MAX_ITEMS 12
 
 #endif // _common_h_
index 99e0f8e..3f50e54 100755 (executable)
@@ -135,8 +135,6 @@ int add_to_storage_buffer(void *data, char *src, int len)
                                        (unsigned char *)&nserial, (int) 1);
        XFlush(g_disp);
 
-       clipdrawer_update_contents(ad);
-
        return 0;
 }