helen
030b697366
EINA_SAFETY_ON_NULL_RETURN
...
Checking parameters with EINA_SAFETY_ON_NULL_RETURN and
EINA_SAFETY_ON_NULL_RETURN_VAL in Elementary
SVN revision: 55188
2010-12-03 14:08:33 +00:00
Carsten Haitzler
fc2c036041
fix filesel - never gave right path!
...
SVN revision: 54977
2010-11-25 10:01:39 +00:00
Bruno Dilly
91b6b4f98e
Set smart obj callbacks descs for hoverlist and fs_bt
...
Spotted by demarchi
SVN revision: 54596
2010-11-16 15:51:03 +00:00
Tiago Rezende Campos Falcao
1a93e760bd
Coccinelle
...
SVN revision: 53786
2010-10-22 21:41:22 +00:00
Rafael Fonseca
61a5564850
Use profile configuration on fileselectors.
...
The profile now defines the default value for expand and inwin modes. The
fileselectors tests were changed to reflect that.
Note that the default for desktops is expand mode enabled and inwin disabled
and for mobiles is the opposite.
SVN revision: 53728
2010-10-21 18:40:49 +00:00
Bruno Dilly
a109dce782
Fix some wextra complains on elm lib
...
SVN revision: 53635
2010-10-19 18:24:27 +00:00
Tiago Rezende Campos Falcao
6e9551b087
Review Elm_fileselector_button.
...
Removed the selected_{get,set} because is the same of path_{get,set}.
Now it uses elm_button like hoversel.
SVN revision: 53622
2010-10-19 14:17:14 +00:00
Tiago Rezende Campos Falcao
738bfaa747
Review of content setters, getters and unsetters
...
Revised the parent, icon, end and content setter and getters of
elementary objects.
Review to smart objects and widgets items will be the next steps.
SVN revision: 53425
2010-10-14 18:54:42 +00:00
Christopher Michael
3255ee2148
Add UNUSED where missing.
...
Use #defines for string constants.
Fix up some formatting.
SVN revision: 53288
2010-10-12 04:02:47 +00:00
Carsten Haitzler
4f3090af01
and handle disables for everything else that has disable hooks.
...
SVN revision: 53138
2010-10-07 07:44:50 +00:00
Tiago Rezende Campos Falcao
52e3df6faf
Fix: _event_hook must return EINA_FALSE if widget is disable
...
Author: Helen Fornazier <helen.fornazier@profusion.mobi>
widgets:
* button
* check
* file selector button
* radio
* toggle
SVN revision: 52890
2010-09-29 12:22:41 +00:00
김지훈
d99918389f
From: 김지훈 <imfine98@gmail.com>
...
I changed elementary source code related to focus functions.
Eina_Bool is used instead of integer type in those functions.
SVN revision: 52839
2010-09-28 04:28:14 +00:00
Tiago Rezende Campos Falcao
fc4a19b171
Listen Space/Return in some widgets
...
widgets:
* button
* check
* file selector button
* hoversel
* radio
* toggle
Author: Helen Fornazier <helen.fornazier@profusion.mobi>
SVN revision: 52600
2010-09-22 17:45:49 +00:00
Tiago Rezende Campos Falcao
2bc6b517c3
Complete some widgets with activate_hook
...
widgets:
* button
* check
* file selector button
* hoversel
* radio
Author: Helen Fornazier <helen.fornazier@profusion.mobi>
SVN revision: 52598
2010-09-22 17:45:43 +00:00
김지훈
d5b8d09591
From: 김지훈 <imfine98@gmail.com>
...
Subject: patch for indentation and using enum in elementary
I send the patch for elementary.
In this patch, I fixed the indentation of Elementary.h.in.
In addition, I use EINA_TRUE or EINA_FALSE instead of 1 or 0.
EVAS_HINT_EXPAND and EVA_HINT_FILL is used instead of 1.0 and -1.0.
Thanks.
SVN revision: 52447
2010-09-19 02:30:14 +00:00
Iván Briano
99ff1921a9
Standardizing elm_<widget>_{icon,content}_set API
...
elm_<widget>_icon_set was changed to the better form and the signals
was passed to hidden icons when one icon is changed/removed.
Moreover, when changed by {icon,content}_set the old {icon,content}
will be deleted.
By: Fabiano Fidencio <fidencio@profusion.mobi>
SVN revision: 49706
2010-06-16 20:58:09 +00:00
Brett Nash
66605560ad
/me shuts up GCC for not understanding this new fangled C code.
...
SVN revision: 49608
2010-06-10 06:41:50 +00:00
Christopher Michael
de41ec04e3
Proper fix for compiler warnings by adding const to the _get functions
...
(thanks k-s).
Fix formatting & remove some whitespace.
NB: Please take notice, do not format if statements like this:
if (val && !val2).
You will get spanked...hard :P
Proper if formatting should be:
if ((val) && (!val2))
This avoids potential evaluation errors (as was recently seen in
ecore_con).
SVN revision: 49111
2010-05-21 19:26:57 +00:00
Carsten Haitzler
d888b71dba
theme -> can specify a new theme for an object andit gets inherited. need to
...
add tests.
SVN revision: 48771
2010-05-12 01:03:46 +00:00
Vincent Torri
291c607e15
remove unused parameters
...
SVN revision: 48196
2010-04-21 07:38:25 +00:00
Iván Briano
2bec9f57d8
Set evas focus for some objects when focused. More will come later.
...
SVN revision: 48179
2010-04-20 20:03:05 +00:00
Gustavo Lima Chaves
24b1c5d025
Fixing some compiler warnings on filesector widgets.
...
SVN revision: 48024
2010-04-15 18:00:31 +00:00
Gustavo Lima Chaves
bf7c032627
Fix race condition on item selection for file selectors.
...
Also, fixing bug at file selector button (last selection saving).
SVN revision: 47881
2010-04-09 17:52:55 +00:00
Gustavo Lima Chaves
23b65bc2de
Welcome a new Elementary widget: file selector button.
...
This is an elm button extended to launch a file selector on click and to callback_call registered funcs
when selection is completed.
Many uses may arise from it, but as a fresh 1st example here comes the first (primitive, but cool) video
player in edje:
externals {
external: "emotion";
external: "elm";
}
collections {
group { name: "main";
parts {
part { name: "video";
type: EXTERNAL;
source: "emotion";
description { state: "default" 0;
rel1 {
offset: 10 10;
}
rel2 {
offset: -11 -61;
}
params {
choice: "engine" "gstreamer";
}
}
}
part { name: "play";
type: RECT;
description { state: "default" 0;
color: 0 255 0 128;
rel1 {
relative: 0 1;
offset: 10 -51;
}
rel2 {
relative: 0.3 1;
offset: -6 -11;
}
}
}
part { name: "pause";
type: RECT;
description { state: "default" 0;
color: 255 0 0 128;
rel1 {
relative: 0.3 1;
offset: 5 -51;
}
rel2 {
relative: 0.6 1;
offset: -6 -11;
}
}
}
part { name: "file_sel_btn";
type: EXTERNAL;
source: "elm/fileselector_button";
description { state: "default" 0;
rel1 {
relative: 0.6 1;
offset: 5 -51;
}
rel2 {
offset: -11 -11;
}
params {
string: "label" "open file";
string: "icon" "file";
}
}
}
programs {
program {
signal: "mouse,clicked,1";
source: "play";
after: "do_play";
}
program {
name: "do_play";
action: PARAM_SET "video" "play" "1";
}
program {
signal: "mouse,clicked,1";
source: "pause";
action: PARAM_SET "video" "play" "0";
}
program {
signal: "file,chosen";
source: "file_sel_btn";
action: PARAM_COPY "file_sel_btn" "path" "video" "file";
after: "do_play";
}
}
}
}
}
Enjoy. I've seen bugs on the fileselector itself wrt to list selection logic.
I'll dig into then soon.
SVN revision: 47846
2010-04-08 20:36:37 +00:00