projects
/
apps
/
core
/
preloaded
/
quickpanel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed prevent issues
[apps/core/preloaded/quickpanel.git]
/
daemon
/
notifications
/
noti_gridbox.c
diff --git
a/daemon/notifications/noti_gridbox.c
b/daemon/notifications/noti_gridbox.c
index
c44f55b
..
fbd2457
100755
(executable)
--- a/
daemon/notifications/noti_gridbox.c
+++ b/
daemon/notifications/noti_gridbox.c
@@
-1,7
+1,7
@@
/*
* Copyright 2012 Samsung Electronics Co., Ltd
*
/*
* Copyright 2012 Samsung Electronics Co., Ltd
*
- * Licensed under the Flora License, Version 1.
0
(the License);
+ * Licensed under the Flora License, Version 1.
1
(the License);
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
@@
-38,8
+38,8
@@
typedef struct _gridbox_info_layout {
int padding_between;
int child_w;
int child_h;
int padding_between;
int child_w;
int child_h;
- int limit_w;
double scale;
double scale;
+ int limit_w;
} gridbox_info_layout;
typedef struct _gridbox_info_animation {
} gridbox_info_layout;
typedef struct _gridbox_info_animation {
@@
-104,9
+104,6
@@
static void _gridbox_layout(Evas_Object *o, Evas_Object_Box_Data *priv,
//box geometry
evas_object_geometry_get(o, &x, &y, &w, &h);
//box geometry
evas_object_geometry_get(o, &x, &y, &w, &h);
- //set info about children
- opt = eina_list_data_get(priv->children);
-
num_padding_between = info_layout->n_per_rows / 2;
num_padding_between += (info_layout->n_per_rows > 1 && (info_layout->n_per_rows % 2) > 0) ? 1 : 0;
num_padding_between = info_layout->n_per_rows / 2;
num_padding_between += (info_layout->n_per_rows > 1 && (info_layout->n_per_rows % 2) > 0) ? 1 : 0;
@@
-115,7
+112,7
@@
static void _gridbox_layout(Evas_Object *o, Evas_Object_Box_Data *priv,
info_layout->child_w = child_w;
info_layout->child_w = child_w;
- DBG("grid layout children:%d %d", info_layout->child_w, info_layout->child_h);
+ DBG("grid layout children
pos
:%d %d", info_layout->child_w, info_layout->child_h);
int order_children = 1;
EINA_LIST_FOREACH_SAFE(priv->children, l, l_next, opt)
int order_children = 1;
EINA_LIST_FOREACH_SAFE(priv->children, l, l_next, opt)