#include <Elementary.h>
#include "elm_priv.h"
-/**
- * @ingroup Elementary
- */
-
typedef struct _Widget_Data Widget_Data;
enum
{
_set_label(obj, wd->statelabel[FOCUSED]);
}
- edje_object_signal_emit(wd->btn, "elm,action,focus", "elm");
- evas_object_focus_set(wd->btn, EINA_TRUE);
+ edje_object_signal_emit(wd->btn, "elm,action,focus", "elm");
+ evas_object_focus_set(wd->btn, EINA_TRUE);
}
else
{
if (wd->statelabel[DEFAULT])
_set_label(obj, wd->statelabel[DEFAULT]);
- edje_object_signal_emit(wd->btn, "elm,action,unfocus", "elm");
- evas_object_focus_set(wd->btn, EINA_FALSE);
+ edje_object_signal_emit(wd->btn, "elm,action,unfocus", "elm");
+ evas_object_focus_set(wd->btn, EINA_FALSE);
}
}
/* Optimisation: Turn this into a 256 byte table:
* then can lookup in one index, not N checks */
static const Escape escapes[] = {
- { "<br>", '\n' },
- { "<ps>", '\n' },
- { "<\t>", '\t' },
- { "gt;", '>' },
- { "lt;", '<' },
- { "amp;", '&' },
- { "quot;", '\'' },
- { "dquot;", '"' }
+ { "<br>", '\n' },
+ { "<ps>", '\n' },
+ { "<\t>", '\t' },
+ { "gt;", '>' },
+ { "lt;", '<' },
+ { "amp;", '&' },
+ { "quot;", '\'' },
+ { "dquot;", '"' }
};
#define N_ESCAPES ((int)(sizeof(escapes) / sizeof(escapes[0])))
{
if ((atoms[j].atom == atomlist[i]) && (atoms[j].notify))
{
-/* if ((j == CNP_ATOM_text_uri) ||
+#if 0
+ if ((j == CNP_ATOM_text_uri) ||
(j == CNP_ATOM_text_urilist))
{
if(!is_uri_type_data(sel, notify)) continue;
- }*/
+ }
+#endif
cnp_debug("Atom %s matches\n",atoms[j].name);
goto done;
}
static const char SIG_MATCHLIST_CLICKED[] = "matchlist,clicked";
static const char SIG_PREEDIT_CHANGED[] = "preedit,changed";
static const Evas_Smart_Cb_Description _signals[] = {
- {SIG_CHANGED, ""},
- {SIG_ACTIVATED, ""},
- {SIG_PRESS, ""},
- {SIG_LONGPRESSED, ""},
- {SIG_CLICKED, ""},
- {SIG_CLICKED_DOUBLE, ""},
- {SIG_FOCUSED, ""},
- {SIG_UNFOCUSED, ""},
- {SIG_SELECTION_PASTE, ""},
- {SIG_SELECTION_COPY, ""},
- {SIG_SELECTION_CUT, ""},
- {SIG_SELECTION_START, ""},
- {SIG_SELECTION_CHANGED, ""},
- {SIG_SELECTION_CLEARED, ""},
- {SIG_CURSOR_CHANGED, ""},
- {SIG_ANCHOR_CLICKED, ""},
- {SIG_PREEDIT_CHANGED, ""},
- {SIG_MATCHLIST_CLICKED, ""},
- {NULL, NULL}
+ {SIG_CHANGED, ""},
+ {SIG_ACTIVATED, ""},
+ {SIG_PRESS, ""},
+ {SIG_LONGPRESSED, ""},
+ {SIG_CLICKED, ""},
+ {SIG_CLICKED_DOUBLE, ""},
+ {SIG_FOCUSED, ""},
+ {SIG_UNFOCUSED, ""},
+ {SIG_SELECTION_PASTE, ""},
+ {SIG_SELECTION_COPY, ""},
+ {SIG_SELECTION_CUT, ""},
+ {SIG_SELECTION_START, ""},
+ {SIG_SELECTION_CHANGED, ""},
+ {SIG_SELECTION_CLEARED, ""},
+ {SIG_CURSOR_CHANGED, ""},
+ {SIG_ANCHOR_CLICKED, ""},
+ {SIG_PREEDIT_CHANGED, ""},
+ {SIG_MATCHLIST_CLICKED, ""},
+ {NULL, NULL}
};
typedef enum _Elm_Entry_Magnifier_Type