Enlightenment CVS committal
Author : moom
Project : e17
Module : libs/etk
Dir : e17/libs/etk/src/lib
Modified Files:
etk_alignment.c etk_alignment.h etk_argument.c etk_bin.c
etk_bin.h etk_box.c etk_box.h etk_notebook.c etk_widget.c
etk_widget.h
Log Message:
* [Argument] Fix a segv and revert the new behavior of etk_argument_value_get()
* [Box] Fix a small bug in etk_box_child_position_set()
* [Widget] remove member "use_focus_order" as it is no longer used
* Doc++ and cleanup
===================================================================
RCS file: /cvs/e/e17/libs/etk/src/lib/etk_alignment.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- etk_alignment.c 20 Oct 2006 17:51:44 -0000 1.10
+++ etk_alignment.c 22 Feb 2007 22:24:25 -0000 1.11
@@ -32,7 +32,7 @@
* @brief Gets the type of an Etk_Alignment
* @return Returns the type of an Etk_Alignment
*/
-Etk_Type *etk_alignment_type_get()
+Etk_Type *etk_alignment_type_get(void)
{
static Etk_Type *alignment_type = NULL;
@@ -72,7 +72,7 @@
}
/**
- * @brief Sets the parameters of the alignment
+ * @brief Changes the parameters of the alignment
* @param alignment an alignment
* @param xalign the horizontal alignment, from 0.0 (left) to 1.0 (right)
* @param yalign the vertical alignment, from 0.0 (top) to 1.0 (bottom)
@@ -115,12 +115,12 @@
}
/**
- * @brief Gets the parameters of the alignment
+ * @brief Gets the different parameters of the alignment
* @param alignment an alignment
- * @param xalign the location to store the horizontal alignment
- * @param yalign the location to store the vertical alignment
- * @param xscale the location to store the horizontal scale factor
- * @param yscale the location to store the vertical scale factor
+ * @param xalign the location where to store the horizontal alignment
+ * @param yalign the location where to store the vertical alignment
+ * @param xscale the location where to store the horizontal scale factor
+ * @param yscale the location where to store the vertical scale factor
*/
void etk_alignment_get(Etk_Alignment *alignment, float *xalign, float *yalign,
float *xscale, float *yscale)
{
@@ -263,7 +263,7 @@
* from 0.0 (the child doesn't expand at all) to 1.0 (the child takes up all
the available space). @n
* The align settings control the alignment of the child inside the container,
* from 0.0 (the child is aligned on the left/top) to 1.0 (the child is
aligned on the right/bottom). @n
- * The align settings have no effect if the scale factors are set to 1.0.
+ * The align settings have no effect if the scale factors are set to 1.0.
*
* \par Object Hierarchy:
* - Etk_Object
===================================================================
RCS file: /cvs/e/e17/libs/etk/src/lib/etk_alignment.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- etk_alignment.h 17 Aug 2006 17:18:14 -0000 1.4
+++ etk_alignment.h 22 Feb 2007 22:24:25 -0000 1.5
@@ -19,6 +19,7 @@
/** Checks if the object is an Etk_Alignment */
#define ETK_IS_ALIGNMENT(obj) (ETK_OBJECT_CHECK_TYPE((obj),
ETK_ALIGNMENT_TYPE))
+
/**
* @brief @widget A container containing one child which can be aligned and
scaled
* @structinfo
@@ -35,7 +36,8 @@
float yscale;
};
-Etk_Type *etk_alignment_type_get();
+
+Etk_Type *etk_alignment_type_get(void);
Etk_Widget *etk_alignment_new(float xalign, float yalign, float xscale, float
yscale);
void etk_alignment_set(Etk_Alignment *alignment, float xalign, float yalign,
float xscale, float yscale);
===================================================================
RCS file: /cvs/e/e17/libs/etk/src/lib/etk_argument.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- etk_argument.c 1 Feb 2007 19:14:52 -0000 1.12
+++ etk_argument.c 22 Feb 2007 22:24:25 -0000 1.13
@@ -20,9 +20,9 @@
* @param argc the location of the "argc" parameter passed to main()
* @param argv the location of the "argv" parameter passed to main()
* @param long_name the complete name of the argument to find. If
'--long_name' is found in @a argv, this function will
- * return ETK_TRUE. You can set it to NULL to ignore it
+ * return ETK_TRUE. You can set this param to NULL to ignore it
* @param short_name a shortcut for the argument to find. If '-short_name' is
found in @a argv, this function will
- * return ETK_TRUE. You can set it to NULL to ignore it
+ * return ETK_TRUE. You can set this param to NULL to ignore it
* @param remove if @a remove is ETK_TRUE, the argument will be removed from
@a argv if it is found
* @return Returns ETK_TRUE if the argument has been found, ETK_FALSE otherwise
*/
@@ -70,27 +70,26 @@
* @param argc the location of the "argc" parameter passed to main()
* @param argv the location of the "argv" parameter passed to main()
* @param long_name the complete name of the argument to find. If --long_name
is found in @a argv and is followed by a
- * value, this function will return ETK_TRUE. You can set it to NULL to ignore
it
+ * value, this function will return ETK_TRUE. You can set this param to NULL
to ignore it
* @param short_name a shortcut for the argument to find. If -short_name is
found in @a argv and is followed by a
- * value, this function will return ETK_TRUE. You can set it to NULL to ignore
it
+ * value, this function will return ETK_TRUE. You can set this param to NULL
to ignore it
* @param remove if @a remove is ETK_TRUE, the argument and its value will be
removed from @a argv
* if they are found
- * @param value the location where to store the value of the argument. You'll
have to free it when you no longer need it.
- * If NULL, it's expected that the agrument has no value
+ * @param value the location where to store the value of the argument. You'll
have to free it when you no
+ * longer need it. This parameter should not be NULL, otherwise the function
will return ETK_FALSE
* @return Returns ETK_TRUE if the argument has been found and was followed by
a value, ETK_FALSE otherwise
*/
Etk_Bool etk_argument_value_get(int *argc, char ***argv, const char
*long_name, char short_name, Etk_Bool remove, char **value)
{
int num_args = 0;
char *arg, *next, *value_ptr = NULL;
- int arg_len, long_name_len = 0;
+ int arg_len, long_name_len;
int i, j;
- if (!argc || !argv)
+ if (!argc || !argv || !value)
return ETK_FALSE;
- if (long_name)
- long_name_len = strlen(long_name);
+ long_name_len = long_name ? strlen(long_name) : 0;
for (i = 0; i < *argc; i++)
{
@@ -109,10 +108,7 @@
/* -s value */
if (arg_len == 2)
{
- /* valueless */
- if (!value)
- num_args = 1;
- else if ((i + 1 < *argc) && (next = (*argv)[i + 1]) && next[0]
!= '-')
+ if ((i + 1 < *argc) && (next = (*argv)[i + 1]) && next[0] !=
'-')
{
value_ptr = next;
num_args = 2;
@@ -131,11 +127,8 @@
{
if (strncmp(&arg[2], long_name, long_name_len) == 0)
{
- /* valueless */
- if (!value && !((arg_len > long_name_len + 3) && (arg[long_name_len
+ 2] == '=')))
- num_args = 1;
/* --long_name value */
- else if (arg_len == long_name_len + 2)
+ if (arg_len == long_name_len + 2)
{
if ((i + 1 < *argc) && (next = (*argv)[i + 1]) && next[0] !=
'-')
{
@@ -152,18 +145,17 @@
}
}
- if (num_args)
+ if (value_ptr)
{
- /* A value has been found */
- if (value_ptr)
- if (value) *value = strdup(value_ptr);
+ /* A value has been found */
+ *value = strdup(value_ptr);
if (remove)
{
- for (j = i; j < *argc - num_args + 1; j++)
- (*argv)[j] = (*argv)[j + num_args];
- (*argc) -= num_args;
+ for (j = i; j < *argc - num_args; j++)
+ (*argv)[j] = (*argv)[j + num_args];
+ (*argc) -= num_args;
}
- return ETK_TRUE;
+ return ETK_TRUE;
}
}
@@ -185,4 +177,7 @@
* Two kinds of arguments are supported:
* - <b>Short arguments</b>: <i>"-c"</i>, <i>"-c value"</i> or <i>"-cvalue"</i>
* - <b>Long arguments</b>: <i>"--argument"</i>, <i>"--agument value"</i> or
<i>"--argument=value"</i>
+ *
+ * To check whether an argument that takes no value is present, use
etk_argument_is_set(). @n
+ * To get the value of an argument, use etk_argument_value_get()
*/
===================================================================
RCS file: /cvs/e/e17/libs/etk/src/lib/etk_bin.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- etk_bin.c 20 Oct 2006 17:51:44 -0000 1.18
+++ etk_bin.c 22 Feb 2007 22:24:25 -0000 1.19
@@ -36,7 +36,7 @@
* @brief Gets the type of an Etk_Bin
* @return Returns the type of an Etk_Bin
*/
-Etk_Type *etk_bin_type_get()
+Etk_Type *etk_bin_type_get(void)
{
static Etk_Type *bin_type = NULL;
@@ -58,7 +58,7 @@
/**
* @brief Sets the child of the bin
* @param bin a bin
- * @param child the child to set
+ * @param child the widget to add to the bin
*/
void etk_bin_child_set(Etk_Bin *bin, Etk_Widget *child)
{
===================================================================
RCS file: /cvs/e/e17/libs/etk/src/lib/etk_bin.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- etk_bin.h 20 Oct 2006 17:51:44 -0000 1.10
+++ etk_bin.h 22 Feb 2007 22:24:25 -0000 1.11
@@ -18,6 +18,7 @@
/** Checks if the object is an Etk_Bin */
#define ETK_IS_BIN(obj) (ETK_OBJECT_CHECK_TYPE((obj), ETK_BIN_TYPE))
+
/**
* @brief @widget A container that can contain only one child
* @structinfo
@@ -31,7 +32,8 @@
Etk_Widget *child;
};
-Etk_Type *etk_bin_type_get();
+
+Etk_Type *etk_bin_type_get(void);
void etk_bin_child_set(Etk_Bin *bin, Etk_Widget *child);
Etk_Widget *etk_bin_child_get(Etk_Bin *bin);
===================================================================
RCS file: /cvs/e/e17/libs/etk/src/lib/etk_box.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- etk_box.c 22 Feb 2007 02:24:03 -0000 1.18
+++ etk_box.c 22 Feb 2007 22:24:25 -0000 1.19
@@ -55,7 +55,7 @@
* @brief Gets the type of an Etk_Box
* @return Returns the type of an Etk_Box
*/
-Etk_Type *etk_box_type_get()
+Etk_Type *etk_box_type_get(void)
{
static Etk_Type *box_type = NULL;
@@ -81,7 +81,7 @@
* @brief Gets the type of an Etk_HBox
* @return Returns the type of an Etk_HBox
*/
-Etk_Type *etk_hbox_type_get()
+Etk_Type *etk_hbox_type_get(void)
{
static Etk_Type *hbox_type = NULL;
@@ -99,7 +99,7 @@
* @brief Gets the type of an Etk_VBox
* @return Returns the type of an Etk_VBox
*/
-Etk_Type *etk_vbox_type_get()
+Etk_Type *etk_vbox_type_get(void)
{
static Etk_Type *vbox_type = NULL;
@@ -114,8 +114,8 @@
/**
* @brief Creates a new hbox
- * @param homogeneous if @a homogeneous == ETK_TRUE, all the children will
have the same size
- * @param spacing the amount of space between two children
+ * @param homogeneous if @a homogeneous == ETK_TRUE, all the cells of the box
will have the same size
+ * @param spacing the amount of space between two cells
*/
Etk_Widget *etk_hbox_new(Etk_Bool homogeneous, int spacing)
{
@@ -124,7 +124,7 @@
/**
* @brief Creates a new vbox
- * @param homogeneous if @a homogeneous == ETK_TRUE, all the cells will have
the same size
+ * @param homogeneous if @a homogeneous == ETK_TRUE, all the cells of the box
will have the same size
* @param spacing the amount of space between two cells
*/
Etk_Widget *etk_vbox_new(Etk_Bool homogeneous, int spacing)
@@ -133,11 +133,11 @@
}
/**
- * @brief Packs a widget at the start of one of the two groups of children of
the box
+ * @brief Packs a widget at the start of one of the two child-groups of the box
* @param box a box
* @param child the widget to pack
- * @param group the group in which the child will be packed
- * @param fill_policy the fill policy of the child
+ * @param group the group where to pack the child
+ * @param fill_policy the fill-policy of the child, it indicates how it should
fill its cell
* @param padding the amount of free space on the two sides of the child, in
pixels
*/
void etk_box_prepend(Etk_Box *box, Etk_Widget *child, Etk_Box_Group group,
Etk_Box_Fill_Policy fill_policy, int padding)
@@ -148,11 +148,11 @@
}
/**
- * @brief Packs a widget at the end of one of the groups of children of the box
+ * @brief Packs a widget at the end of one of the two child-groups of the box
* @param box a box
* @param child the widget to pack
- * @param group the group in which the child will be packed
- * @param fill_policy the fill policy of the child
+ * @param group the group where to pack the child
+ * @param fill_policy the fill-policy of the child, it indicates how it should
fill its cell
* @param padding the amount of free space on the two sides of the child, in
pixels
*/
void etk_box_append(Etk_Box *box, Etk_Widget *child, Etk_Box_Group group,
Etk_Box_Fill_Policy fill_policy, int padding)
@@ -167,15 +167,15 @@
}
/**
- * @brief Packs a widget after another widget, in one of the groups of
children of the box
+ * @brief Packs a widget after another widget, in one of the two child-groups
of the box
* @param box a box
* @param child the widget to pack
- * @param group the group in which the child will be packed
- * @param after the child after which @a child will be packed. If @a after is
NULL, @a child will be packed at the start
- * of the group
- * @param fill_policy the fill policy of the child
+ * @param group the group where to pack the child
+ * @param after the child after which @a child will be packed. If @a after is
NULL, @a child will be
+ * packed at the start of the group
+ * @param fill_policy the fill-policy of the child, it indicates how it should
fill its cell
* @param padding the amount of free space on the two sides of the child, in
pixels
- * @warning @a after has to be packed in the group @a group, or it'll have no
effect
+ * @warning @a after has to be packed in @a group, or the function will have
no effect
*/
void etk_box_insert(Etk_Box *box, Etk_Widget *child, Etk_Box_Group group,
Etk_Widget *after, Etk_Box_Fill_Policy fill_policy, int padding)
{
@@ -189,14 +189,14 @@
}
/**
- * @brief Packs a widget at a given position, in one of the groups of children
of the box
+ * @brief Packs a widget at a given position, in one of the two child-groups
of the box
* @param box a box
* @param child the widget to pack
- * @param group the group in which the child will be packed
+ * @param group the group where to pack the child
* @param pos the position where to pack @a child (starting from 0). If @a pos
<= 0, @a child will be packed at the
- * start of the group of children, and if @a pos is greater than the number of
children in the group, it will be packed
+ * start of the child-group, and if @a pos is greater than the number of
children in the group, it will be packed
* at the end
- * @param fill_policy the fill policy of the child
+ * @param fill_policy the fill-policy of the child, it indicates how it should
fill its cell
* @param padding the amount of free space on the two sides of the child, in
pixels
*/
void etk_box_insert_at(Etk_Box *box, Etk_Widget *child, Etk_Box_Group group,
int pos, Etk_Box_Fill_Policy fill_policy, int padding)
@@ -219,9 +219,9 @@
/**
* @brief Gets the child at a given position in the box
* @param box a box
- * @param group the group in which the child you want to get is
+ * @param group the group in which the child you want to get is packed
* @param pos the position of the child you want to get (starting from 0)
- * @return Returns the child at the given position, or NULL on failure
+ * @return Returns the child at the given position, or NULL if there no
childat this position
*/
Etk_Widget *etk_box_child_get_at(Etk_Box *box, Etk_Box_Group group, int pos)
{
@@ -237,12 +237,12 @@
}
/**
- * @brief Sets the position of a child of the box
+ * @brief Changes the position of a child of the box
* @param box a box
* @param child the child you want to change the position of
* @param group the group in which the child will be repacked
* @param pos the position where to repack @a child (starting from 0). If @a
pos <= 0, @a child will be packed at the
- * start of the group of children, and if @a pos is greater than the number of
children in the group, it will be packed
+ * start of the child-group, and if @a pos is greater than the number of
children in the group, it will be packed
* at the end
*/
void etk_box_child_position_set(Etk_Box *box, Etk_Widget *child, Etk_Box_Group
group, int pos)
@@ -254,6 +254,8 @@
return;
box->cells[cell->group] = evas_list_remove(box->cells[cell->group], cell);
+ cell->group = group;
+
if (pos <= 0)
box->cells[group] = evas_list_prepend(box->cells[group], cell);
else if (pos >= evas_list_count(box->cells[group]))
@@ -263,6 +265,7 @@
l = evas_list_nth_list(box->cells[group], pos - 1);
box->cells[group] = evas_list_append_relative_list(box->cells[group],
cell, l);
}
+
etk_widget_redraw_queue(ETK_WIDGET(box));
}
@@ -272,7 +275,7 @@
* @param child the child you want to get the position of
* @param group the location where to store the group in which the child is
* @param pos the location where to store the position of the child
- * @return Returns ETK_TRUE on success, ETK_FALSE on failure (because @a child
is not a child of the box)
+ * @return Returns ETK_TRUE on success, or ETK_FALSE if @a child is not a
child of the box
*/
Etk_Bool etk_box_child_position_get(Etk_Box *box, Etk_Widget *child,
Etk_Box_Group *group, int *pos)
{
@@ -303,11 +306,11 @@
}
/**
- * @brief Sets the packing settings of a child of the box
+ * @brief Changes the packing settings of a child of the box
* @param box a box
* @param child a child of the box. If @a child is not packed in the box, this
function has no effect
- * @param fill_policy the fill policy of the child
- * @param padding the amount of free space on the two sides of the child, in
pixels
+ * @param fill_policy the new fill-policy of the child
+ * @param padding the new amount of free space on the two sides of the child,
in pixels
*/
void etk_box_child_packing_set(Etk_Box *box, Etk_Widget *child,
Etk_Box_Fill_Policy fill_policy, int padding)
{
@@ -328,9 +331,9 @@
* @brief Gets the packing settings of a child of the box
* @param box a box
* @param child a child of the box
- * @param fill_policy the location where to store the fill policy of the child
+ * @param fill_policy the location where to store the fill-policy of the child
* @param padding the location where to store the padding of the child
- * @return Returns ETK_TRUE on success, and ETK_FALSE on failure (because @a
child is not packed in @a box)
+ * @return Returns ETK_TRUE on success, or ETK_FALSE if @a child is not a
child of the box
*/
Etk_Bool etk_box_child_packing_get(Etk_Box *box, Etk_Widget *child,
Etk_Box_Fill_Policy *fill_policy, int *padding)
{
@@ -354,7 +357,7 @@
/**
* @brief Sets the amount of free space between two cells
* @param box a box
- * @param spacing the amount of free space between two cells, in pixels
+ * @param spacing the new amount of free space between two cells, in pixels
*/
void etk_box_spacing_set(Etk_Box *box, int spacing)
{
@@ -394,7 +397,7 @@
}
/**
- * @brief Checks whether all the cells of the box have the same size
+ * @brief Gets whether or not all the cells of the box have the same size
* @param box a box
* @return Returns ETK_TRUE if the box is homogeneous, ETK_FALSE otherwise
*/
@@ -431,7 +434,6 @@
ETK_CONTAINER(box)->child_add = _etk_box_child_add;
ETK_CONTAINER(box)->child_remove = _etk_box_child_remove;
ETK_CONTAINER(box)->children_get = _etk_box_children_get;
- ETK_WIDGET(box)->use_focus_order = ETK_TRUE;
}
/* Destroys the box */
@@ -504,22 +506,20 @@
/* Removes the child from the box */
static void _etk_box_child_remove(Etk_Container *container, Etk_Widget *widget)
{
- Etk_Widget *box_widget;
Etk_Box *box;
Etk_Box_Cell *cell;
- if (!(box_widget = ETK_WIDGET(container)) || !widget || (widget->parent !=
box_widget))
+ if (!(box = ETK_BOX(container)) || !widget || (widget->parent !=
ETK_WIDGET(box)))
return;
- box = ETK_BOX(box_widget);
if ((cell = _etk_box_cell_get(box, widget)))
{
box->cells[cell->group] = evas_list_remove(box->cells[cell->group],
cell);
- box_widget->focus_order = evas_list_remove(box_widget->focus_order,
widget);
+ ETK_WIDGET(box)->focus_order =
evas_list_remove(ETK_WIDGET(box)->focus_order, widget);
etk_widget_parent_set_full(widget, NULL, ETK_FALSE);
- etk_widget_size_recalc_queue(box_widget);
free(cell);
+ etk_widget_size_recalc_queue(ETK_WIDGET(box));
etk_signal_emit_by_name("child_removed", ETK_OBJECT(box), NULL, widget);
}
}
@@ -609,7 +609,7 @@
box->request_sizes[i][j] = child_size.w + 2 * cell->padding;
size->w += box->request_sizes[i][j];
}
-
+
if (size->h < child_size.h)
size->h = child_size.h;
@@ -1008,23 +1008,21 @@
*
**************************/
-/* Adds a child to the box, after the child contained in the cell "after" */
+/* Adds a new widget to the box, after the cell "after" */
static void _etk_box_insert_after_cell(Etk_Box *box, Etk_Widget *child,
Etk_Box_Group group, Etk_Box_Cell *after, Etk_Box_Fill_Policy fill_policy, int
padding)
{
Etk_Box_Cell *cell, *c;
Etk_Widget *box_widget;
- if (!box || !child)
+ if (!(box_widget = ETK_WIDGET(box)) || !child)
return;
if (after && after->group != group)
{
ETK_WARNING("The child to pack and the widget after which the child
should be packed "
- "do not belong to the same start/end-group");
+ "do not belong to the same child-group");
return;
}
- box_widget = ETK_WIDGET(box);
-
cell = malloc(sizeof(Etk_Box_Cell));
cell->child = child;
cell->group = group;
@@ -1093,9 +1091,7 @@
* start-group are packed at the start of the box (left for the hbox, top for
the vbox) and the children of the
* end-group are packed at the end of the box (right for the hbox, bottom for
the vbox). @n
* Widgets can be packed with the functions etk_box_prepend(),
etk_box_append(), etk_box_insert() and
- * etk_box_insert_at(). @n @n
- * The "homogeneous" setting determines whether or not all the children of the
box take up the same amount of space. @n
- * The "spacing" setting determines the amount of space between two children.
+ * etk_box_insert_at().
*
* \par Object Hierarchy:
* - Etk_Object
===================================================================
RCS file: /cvs/e/e17/libs/etk/src/lib/etk_box.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- etk_box.h 22 Feb 2007 02:24:03 -0000 1.9
+++ etk_box.h 22 Feb 2007 22:24:25 -0000 1.10
@@ -9,7 +9,7 @@
/**
* @defgroup Etk_Box Etk_Box
* @brief The Etk_Box widget is a container that can contain several children
- * packed in one direction (horizontal or vertical)
+ * packed in one direction (horizontal or vertical)
* @{
*/
@@ -56,6 +56,7 @@
* horizontally for an Etk_VBox) */
} Etk_Box_Fill_Policy;
+
/**
* @brief @widget An abstract class for a box
* @structinfo
@@ -94,9 +95,10 @@
Etk_Box box;
};
-Etk_Type *etk_box_type_get();
-Etk_Type *etk_hbox_type_get();
-Etk_Type *etk_vbox_type_get();
+
+Etk_Type *etk_box_type_get(void);
+Etk_Type *etk_hbox_type_get(void);
+Etk_Type *etk_vbox_type_get(void);
Etk_Widget *etk_hbox_new(Etk_Bool homogeneous, int spacing);
Etk_Widget *etk_vbox_new(Etk_Bool homogeneous, int spacing);
===================================================================
RCS file: /cvs/e/e17/libs/etk/src/lib/etk_notebook.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -3 -r1.33 -r1.34
--- etk_notebook.c 6 Oct 2006 17:04:14 -0000 1.33
+++ etk_notebook.c 22 Feb 2007 22:24:25 -0000 1.34
@@ -480,7 +480,6 @@
ETK_CONTAINER(notebook)->children_get = _etk_notebook_children_get;
ETK_WIDGET(notebook)->size_request = _etk_notebook_size_request;
ETK_WIDGET(notebook)->size_allocate = _etk_notebook_size_allocate;
- ETK_WIDGET(notebook)->use_focus_order = ETK_TRUE;
}
/* Destroys the notebook */
===================================================================
RCS file: /cvs/e/e17/libs/etk/src/lib/etk_widget.c,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -3 -r1.97 -r1.98
--- etk_widget.c 19 Feb 2007 01:05:27 -0000 1.97
+++ etk_widget.c 22 Feb 2007 22:24:25 -0000 1.98
@@ -2021,7 +2021,6 @@
widget->internal = ETK_FALSE;
widget->focusable = ETK_FALSE;
widget->focus_on_click = ETK_FALSE;
- widget->use_focus_order = ETK_FALSE;
widget->has_event_object = ETK_FALSE;
widget->repeat_mouse_events = ETK_FALSE;
widget->pass_mouse_events = ETK_FALSE;
===================================================================
RCS file: /cvs/e/e17/libs/etk/src/lib/etk_widget.h,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -3 -r1.44 -r1.45
--- etk_widget.h 18 Feb 2007 16:53:25 -0000 1.44
+++ etk_widget.h 22 Feb 2007 22:24:25 -0000 1.45
@@ -105,7 +105,6 @@
unsigned int has_event_object : 1;
unsigned int focusable : 1;
unsigned int focus_on_click : 1;
- unsigned int use_focus_order : 1;
unsigned int need_size_recalc : 1;
unsigned int need_redraw : 1;
unsigned int need_theme_size_recalc : 1;
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs