Enlightenment CVS committal
Author : moom
Project : e17
Module : proto
Dir : e17/proto/etk/src/lib
Modified Files:
etk_button.c etk_combobox.c etk_toggle_button.c
Log Message:
* Do not feed "mouse up" events when a popup window is popped-up. If
fixes problems when a popup window appears if the mouse pointer is above
a button
===================================================================
RCS file: /cvs/e/e17/proto/etk/src/lib/etk_button.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -3 -r1.30 -r1.31
--- etk_button.c 6 Oct 2006 17:04:14 -0000 1.30
+++ etk_button.c 30 Dec 2006 22:11:49 -0000 1.31
@@ -190,8 +190,9 @@
else
etk_widget_show(button->label);
+ /* Rebuild the button only if necessary (i.e. if the label is currently not
packed into the button) */
rebuild = ETK_TRUE;
- for (parent = etk_widget_parent_get(ETK_WIDGET(button)); parent; parent =
etk_widget_parent_get(parent))
+ for (parent = etk_widget_parent_get(button->label); parent; parent =
etk_widget_parent_get(parent))
{
if (parent == widget)
{
===================================================================
RCS file: /cvs/e/e17/proto/etk/src/lib/etk_combobox.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -3 -r1.34 -r1.35
--- etk_combobox.c 29 Dec 2006 22:10:13 -0000 1.34
+++ etk_combobox.c 30 Dec 2006 22:11:49 -0000 1.35
@@ -678,7 +678,7 @@
return;
combobox->button = etk_widget_new(ETK_TOGGLE_BUTTON_TYPE, "theme_group",
"button", "theme_parent", combobox,
- "visible", ETK_TRUE, "repeat_mouse_events", ETK_TRUE, "internal",
ETK_TRUE, NULL);
+ "visible", ETK_TRUE, "repeat_mouse_events", ETK_TRUE, "focusable",
ETK_FALSE, "internal", ETK_TRUE, NULL);
etk_widget_parent_set(combobox->button, ETK_WIDGET(combobox));
etk_signal_connect("toggled", ETK_OBJECT(combobox->button),
ETK_CALLBACK(_etk_combobox_button_toggled_cb), combobox);
===================================================================
RCS file: /cvs/e/e17/proto/etk/src/lib/etk_toggle_button.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- etk_toggle_button.c 30 Dec 2006 21:22:45 -0000 1.15
+++ etk_toggle_button.c 30 Dec 2006 22:11:49 -0000 1.16
@@ -9,13 +9,13 @@
* @{
*/
-enum _Etk_Toggle_Button_Signal_Id
+enum Etk_Toggle_Button_Signal_Id
{
ETK_TOGGLE_BUTTON_TOGGLED_SIGNAL,
ETK_TOGGLE_BUTTON_NUM_SIGNALS
};
-enum _Etk_Toggle_Button_Property_Id
+enum Etk_Toggle_Button_Property_Id
{
ETK_TOGGLE_BUTTON_ACTIVE_PROPERTY
};
-------------------------------------------------------------------------
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