return NULL;
}
- if (icon_path) {
+ if (icon_path != NULL && strlen(icon_path) > 0) {
icon_ret = (char*)strdup(icon_path);
}
return NULL;
}
- if (icon_path) {
+ if (icon_path != NULL && strlen(icon_path) > 0) {
icon_ret = (char*)strdup(icon_path);
}
#define BOX_ICON_SUB_SIZE_W 29 //44
#define BOX_ICON_SUB_SIZE_H 29 //44
#define BOX_TEXT_TOP_PADDING 15
-#define BOX_ICON_TOP_PADDING 20
+#define BOX_ICON_TOP_PADDING 13
#define BOX_COLOR_BG QP_THEME_ITEM_BG_COLOR
scale: 1;
description {
state: "default" 0.0;
- //min: 0 BOX_ICON_TOP_PADDING;
+ min: 0 BOX_ICON_TOP_PADDING;
//fixed: 0 1;
rel1.to:"base";
rel2.to:"base";
scale: 1;
description {
state: "default" 0.0;
- min: QP_THEME_LIST_ITEM_NOTIFICATION_LISTTYPE_HEIGHT QP_THEME_LIST_ITEM_NOTIFICATION_LISTTYPE_HEIGHT;
- max: QP_THEME_LIST_ITEM_NOTIFICATION_LISTTYPE_HEIGHT QP_THEME_LIST_ITEM_NOTIFICATION_LISTTYPE_HEIGHT;
+ min: BOX_ICON_SIZE_W BOX_ICON_SIZE_H;
+ max: BOX_ICON_SIZE_W BOX_ICON_SIZE_H;
fixed: 1 1;
rel1 {
- relative: 0.0 0.0;
+ relative: 1.0 1.0;
to_x: "elm.padding.left.icon";
to_y: "elm.padding.top.icon";
}
scale: 1;
description {
state: "default" 0.0;
- //min: 0 BOX_ICON_TOP_PADDING;
+ min: 0 BOX_ICON_TOP_PADDING;
//fixed: 0 1;
rel1.to:"base";
rel2.to:"base";
}
image.normal: "quick_button_icon_bg.png";
}
+ description {
+ state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible:1;
+ }
+ description {
+ state: "hide" 0.0;
+ inherit: "default" 0.0;
+ visible:0;
+ }
}
part {
scale: 1;
description {
state: "default" 0.0;
- //min: 0 BOX_ICON_TOP_PADDING;
+ min: 0 BOX_ICON_TOP_PADDING;
//fixed: 0 1;
rel1.to:"base";
rel2.to:"base";