Cedric BAIL
452e2d379f
elementary: use Eio when available for fileselector.
...
SVN revision: 60692
2011-06-25 23:39:43 +00:00
Cedric BAIL
303f6f594e
elementary: use Eina_File.
...
SVN revision: 60685
2011-06-25 15:35:53 +00:00
Carsten Haitzler
c44f45485f
big move forward. scrolled entry and entry merge into entry. entry now
...
can be scrollable or not. scrolled entry now just calls entry calls
and is marked as dperecated to be killed off in the future so no need
to document it etc. edje external also goes.
SVN revision: 60438
2011-06-17 09:44:31 +00:00
Cedric BAIL
fbf087b4e5
elementary: use evas_object_image_extension_can_load_fast_get.
...
SVN revision: 59873
2011-06-01 14:33:13 +00:00
Cedric BAIL
e20bf4eba5
elementary: add elm_icon_thumb_set.
...
NOTE: it will only display thumbnail if you requested ethumb in your app.
See fileselector example for more information.
SVN revision: 59848
2011-05-31 16:16:01 +00:00
Tom Hacohen
9466cbcea3
Elementary: Use an enum for selecting line-wrap method.
...
BREAKS API - discussed in ML before.
SVN revision: 59115
2011-05-02 10:56:16 +00:00
ChunEon Park
0b74203480
elementary - fileselecto, actionslider, anchorview, fileselector_button, anchorblock, fileselector_entry, hoversel, scrolled_entry
...
SVN revision: 58254
2011-04-01 11:51:11 +00:00
Carsten Haitzler
f74c18a02e
make all widgets use a standard setup macro. cuts code down and
...
handles null parent errors, null wd alloc, null obj create errors etc.
SVN revision: 58242
2011-04-01 06:08:02 +00:00
WooHyun Jung
fc6a5a24b9
From: WooHyun Jung <wh0705.jung@samsung.com>
...
Subject: [E-devel] [Patch] for Gettext /I18N
Mr. Govi in SISO made a patch for following description.
Detail Description:
1. If EFL/Elementary Application has i18n String with its own PO file,
then Elementary will end up looking for internal Strings at application
PO files. Passing PACKAGE name in the Elementary String Look up macro
eliminates this issue and looks for internal String from Elm.po files.
2. Macro E_(str) is used, to differentiate the elementary Strings from
commonly used #define _(str) in the applications. ( Just E ed :) )
SVN revision: 58085
2011-03-25 04:49:49 +00:00
Tom Hacohen
d2d4b44c31
Elementary fileselector: Updated translatable strings and regenerated .pos
...
SVN revision: 57051
2011-02-15 14:32:27 +00:00
Tom Hacohen
f55a3f4cfc
Elementary: fixed on-the-fly UI-mirroring in elc objects.
...
All sub-objects have auto-ui-mirroring flag turned off now
By Aharon Hillel.
SVN revision: 56922
2011-02-10 15:13:05 +00:00
Tom Hacohen
c04d8990f0
Elementary: Added on-the-fly UI-mirroing support to all of the widgets
...
SVN revision: 56846
2011-02-09 16:14:02 +00:00
Jonathan Atton
3cf19c064c
elm external: fileselector: enable the textblock when we are in the save mode
...
SVN revision: 56823
2011-02-08 22:09:26 +00:00
Tom Hacohen
99da5b6541
Elementary: Added ui-mirroring support for all the widgets.
...
SVN revision: 56803
2011-02-08 12:08:28 +00:00
3v1n0
ff67ce31fb
Always check for valid evas object.
...
If you try to create a new widget, you must be sure that the parent
is really an evas object.
With the previous implementation it was possible to call an _add
function for an elementary widget with any non-null pointer as parent
eventually causing crashes (like with the elm_box).
SVN revision: 55521
2010-12-12 19:12:43 +00:00
Gustavo Lima Chaves
19f5f9fc00
New Fileselector mode: GRID.
...
SVN revision: 55448
2010-12-10 13:01:51 +00:00
Gustavo Lima Chaves
fb9a4e36f9
All fileselector cases (mixing save, folder only, expand) seem OK, now.
...
SVN revision: 55378
2010-12-08 16:18:37 +00:00
Gustavo Lima Chaves
68437b969b
Indenting and removing bogus code blocks.
...
SVN revision: 55364
2010-12-07 19:18:14 +00:00
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
Leandro Pereira
85c4fe8cf4
elementary: Bugfix: Elm_Fileselector returns parent directory in folder select mode
...
SVN revision: 55085
2010-11-30 12:59:08 +00:00
Leandro Pereira
dbe6545040
elementary/elc_fileselector: Pack booleans with a bitfield
...
SVN revision: 55084
2010-11-30 12:59:05 +00:00
Carsten Haitzler
fc2c036041
fix filesel - never gave right path!
...
SVN revision: 54977
2010-11-25 10:01:39 +00:00
Tiago Rezende Campos Falcao
d666346484
Elm Fileselector with theme support
...
SVN revision: 54812
2010-11-22 19:24:48 +00:00
Tiago Rezende Campos Falcao
d938999c78
Add missing object type checkers.
...
The test test_decl now warn about missing API_ENTRY or
ELM_CHECK_WIDTYPE.
SVN revision: 53956
2010-10-28 13:38:55 +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
Tiago Rezende Campos Falcao
8ca4d18a0b
Fixing can_focus to the widgets
...
Author: Helen Fornazier <helen.fornazier@profusion.mobi>
widgets:
anchorblock: can_focus = EINA_TRUE
anchorview: can_focus = EINA_TRUE
fileselector: can_focus = EINA_FALSE
hoversel: can_focus = EINA_FALSE
notepad: can_focus = EINA_TRUE
scrolled_entry: can_focus = EINA_TRUE
bubble: can_focus = EINA_FALSE
calendar: can_focus = EINA_TRUE
clock: can_focus = EINA_TRUE
conformant: can_focus = EINA_FALSE
flip: can_focus = EINA_FALSE
frame: can_focus = EINA_FALSE
gengrid: can_focus = EINA_TRUE
genlist: can_focus = EINA_TRUE
index: can_focus = EINA_FALSE
list: can_focus = EINA_TRUE
layout: can_focus = EINA_FALSE
map: can_focus = EINA_TRUE
mapbuf: can_focus = EINA_FALSE
menu: can_focus = EINA_FALSE
notify: can_focus = EINA_FALSE
pager: can_focus = EINA_FALSE
panes: can_focus = EINA_FALSE
progressbar: can_focus = EINA_FALSE
photocam: can_focus = EINA_TRUE
scroller: can_focus = EINA_TRUE
table: can_focus = EINA_FALSE
thumb: can_focus = EINA_FALSE
win: can_focus = EINA_FALSE
SVN revision: 52888
2010-09-29 12:22:30 +00:00
Gustavo Sverzut Barbieri
c4d40c7183
Constant void data is pretty useless in item callback contexts.
...
the callbacks are supposed to freely modify their data, as it is their
context (ie: python/js object, row from database, etc.
SVN revision: 52372
2010-09-17 16:21:34 +00:00
Davide Andreoli
4ab457bce6
whitespaces--
...
Im going to clear the fileselector widget, I will make the theme use
a layout instead of a fixed box and also I will clear the api that have
silly names atm
If you have suggestions please speak now
DaveMDS
SVN revision: 51966
2010-09-08 03:54:42 +00:00
Lucas De Marchi
c6a4ea9d2f
Convert (hopefully) all comparisons to NULL
...
Apply badzero.cocci, badnull.coci and badnull2.cocci
This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:
code before patch ||code after patch
===============================================================
return a == NULL; return !a;
return a != NULL; return !!a;
func(a == NULL); func(!a);
func(a != NULL); func(!!a);
b = a == NULL; b = !a;
b = a != NULL; b = !!a;
b = a == NULL ? c : d; b = !a ? c : d;
b = a != NULL ? c : d; b = a ? c : d;
other cases:
a == NULL !a
a != NULL a
SVN revision: 51487
2010-08-21 13:52:25 +00:00
Cedric BAIL
bdf6efa129
* elementary: fix Ecore API changes.
...
SVN revision: 49860
2010-06-25 09:58:14 +00:00
Gustavo Lima Chaves
24b1c5d025
Fixing some compiler warnings on filesector widgets.
...
SVN revision: 48024
2010-04-15 18:00:31 +00:00
Boris Faure
1ca26086db
elm: add lots of doc! Thanks to Mike (zmike/discomfitor)
...
SVN revision: 47944
2010-04-12 08:12:02 +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
Boris Faure
97dfb904e9
add doc, thanks to Mike Blumenkrantz (zmike)
...
SVN revision: 47801
2010-04-07 07:37:49 +00:00
Gustavo Lima Chaves
10baacf024
1st use of description field for callback signals.
...
SVN revision: 47779
2010-04-05 19:38:59 +00:00
Gustavo Lima Chaves
31d1a343c5
Signal description infra for file selector.
...
SVN revision: 47774
2010-04-05 19:18:36 +00:00
Gustavo Lima Chaves
a1228094fd
Elm_fileselector as edje external.
...
SVN revision: 47634
2010-03-31 20:19:55 +00:00
Gustavo Sverzut Barbieri
06d14ed245
const and -Wextra, come on guys! :-/
...
SVN revision: 47409
2010-03-24 03:06:00 +00:00
Gustavo Sverzut Barbieri
e01d72fe26
Use eina_stringshare_replace to avoid crashes.
...
By: Rafael Fonseca <rfonseca@profusion.mobi>
SVN revision: 47187
2010-03-13 21:01:26 +00:00
Carsten Haitzler
310810413c
and some more warning--
...
SVN revision: 47097
2010-03-10 03:47:33 +00:00
Vincent Torri
b07e49d435
remove unused parameter in the library.
...
I won't do this everyday, and i won't touch the tests.
SVN revision: 47093
2010-03-09 17:51:30 +00:00
Carsten Haitzler
91e01aa86e
patch from discomfitor <- check type of widget on api call and return if not
...
the right type
SVN revision: 47073
2010-03-09 06:15:39 +00:00
Sebastian Dransfeld
abe8dfc614
Ecore_Str.h -> Eina
...
SVN revision: 45745
2010-01-30 22:22:46 +00:00
Sebastian Dransfeld
50fe92a1d2
Correct second argument
...
SVN revision: 45223
2010-01-16 13:54:55 +00:00
Carsten Haitzler
4dd7f4e799
fix build break!
...
SVN revision: 45214
2010-01-16 12:35:31 +00:00
Jonathan Atton
7be1d94aa2
Elm: use evas_object_event_callback_del_full() everywhere and improve elm_notify
...
SVN revision: 43217
2009-10-22 22:10:23 +00:00
Christopher Michael
6ddb7d155a
Fix some formatting.
...
Add missing function prototype & fix function declaration.
SVN revision: 43041
2009-10-12 20:51:26 +00:00
Carsten Haitzler
8d4735d43a
ther is no _() macro in elm! intl not done (yet)
...
SVN revision: 42990
2009-10-10 02:53:22 +00:00
Christopher Michael
5f9ad176c9
More EVAS_HINT_EXPAND/FILL.
...
Allow button labels to be translated.
SVN revision: 42989
2009-10-10 00:35:05 +00:00
Christopher Michael
45d94713b9
Use EVAS_HINT_EXPAND & EVAS_HINT_FILL.
...
SVN revision: 42988
2009-10-10 00:32:27 +00:00
Davide Andreoli
fe918771b3
* FileSelector: Add new API call:
...
elm_fileselector_is_save_set(Evas_Object *obj, Eina_Bool is_save)
When the fs is in 'save' mode you can type the name of the file to save.
SVN revision: 42306
2009-09-07 00:00:33 +00:00
Iván Briano
150c72c6cc
As requested by vtorri, to fix compilation on Windows
...
SVN revision: 42056
2009-08-28 05:28:44 +00:00
Carsten Haitzler
14287466c9
fix symbol clash
...
SVN revision: 42027
2009-08-26 23:39:17 +00:00
Christopher Michael
8af7cf2468
Add standard Folder & file icons.
...
Resize refresh icon to match other icons so file size is slightly smaller.
Make fileselector widget use Folder & File icons.
Remove some printfs in fileselector widget.
SVN revision: 42024
2009-08-26 17:59:41 +00:00
Davide Andreoli
9f93e36cfe
File Selector: rename the source from elm_ to elc_
...
SVN revision: 41723
2009-08-12 23:04:26 +00:00