Commit Graph

2020 Commits

Author SHA1 Message Date
Nicolas Aguirre 9b0f724373 Revert "elm_slideshow: looking for right data directory in prefix."
This reverts commit c8ca1ad1b3390c9bf6712b616f971d814c63c274.
2015-03-27 13:25:57 +01:00
Michelle Legrand 4b478c5786 elm_map: use of elm_app_data_dir_get() instead of PACKAGE_DATA_DIR
Summary:
This allows to build binaries that will not look for the directory passed to
the configure with --prefix at build but will look for data files according to where
the exe has been installed.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-26 18:19:36 +01:00
Michelle Legrand 74525a6d2f elm_naviframe: use of elm_app_data_dir_get() instead of PACKAGE_DATA_DIR.
Summary:
This allows to build binaries that will not look for the directory passed to
the configure with --prefix at build but will look for data files according to where
the exe has been installed.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-26 18:19:16 +01:00
Michelle Legrand ae1c8af467 elm_naviframe: use of elm_app_data_dir_get() instead of PACKAGE_DATA_DIR.
Summary:
This allows to build binaries that will not look for the directory passed to
the configure with --prefix at build but will look for data files according to where
the exe has been installed.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-26 18:18:52 +01:00
Michelle Legrand 4da5e28685 elm_genlist: use of elm_app_data_dir_get() instead of PACKAGE_DATA_DIR.
Summary:
This allows to build binaries that will not look for the directory passed to
the configure with --prefix at build but will look for data files according to where
the exe has been installed.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-26 18:18:11 +01:00
Michelle Legrand 5ffcf27033 task_switcher: add variable verification.
Summary:
If dbus is not installed the task switcher raise a segmentation error.
So we check if the returned variable by eo_do is not null before continuing.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-26 18:17:37 +01:00
michelle legrand ce1d59bcbe elm_fileselector: display directory from HOME on Windows.
Summary:
On Windows, if we are running the application from Msys or Cygwin, we will
get the HOME environment variable. Otherwise we need to use Windows environment variables
"HOMEDRIVE" and "HOMEPATH" to get the home path.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-26 18:12:57 +01:00
michelle legrand 949e0f5e9c elm_panel: display directory from HOME on Windows.
Summary:
On Windows we can get the HOME environment variable if we launch the application
from Msys or Cygwin, otherwise we need to use "HOMEDRIVE" and "HOMEPATH" to get
windows home path.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-26 18:11:56 +01:00
michelle legrand 0d08751301 elm_slideshow: looking for right data directory in prefix.
Summary:
Get right application prefix by using elm_app_data_dir_get() for the
slideshow images.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-26 18:11:01 +01:00
Jaehwan Kim 1925ec3b8e scroller: add loop feature.
This feature works the infinite loop horizontally or vertically.
If the content is set, it will be shown repeatedly.
@feature

Change-Id: I1f20b794ae44bc8e5d120901222c7cccadca96b7

Conflicts:
	src/lib/elm_scroller.c
	src/lib/elm_scroller_legacy.h
2015-03-23 20:35:04 +09:00
kabeer khan c1a7a296ae test: fix crash of configuration test
Summary:
Add extra check to prevent crashing when user clicks configuration
test from elementary_test window

Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: seoz, cedric

Differential Revision: https://phab.enlightenment.org/D2086

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-06 16:34:04 +01:00
Carsten Haitzler 17ffbd6448 elm - focus feature - add config option to automatically show/hide focus
this adds logic in elm widget and elm win to figure out how to
automatically show a focus hilight when switching focus, or to hide
it. this really should be the default mode, thus in all default
profiles (default, standard, mobile) it's turned on. this means if you
tab or shif+tab or use arrow keys to switch focus, the focus hilight
will magicallly appear. click with a mouse to change focus and it'll
disappear assuming you want to use the mouse to do things. If focus is
explicitly turned on in config or in the window by api, then this has
no effect and focus will remain on all the time. this adds apis to
change these config values and options in the default elm config tool
to swizzle them as well as config upgrade handling for existing configs.

@feature
2015-03-04 17:47:54 +09:00
VBS 93f0745430 genlist: Implemented genlist expand mode and content_min_limit function
Summary:
1. Implemented genlist mode ELM_LIST_EXPAND
2. Implemented content_min_limit function which override scroll interface.
  This function will be used by call API elm_scroller_content_min_limit.
  This function will set the object minimum size as its scroll content size,
  if parameter value is EINA_TRUE.

@feature

Test Plan: Add new test case in test_popup.c

Reviewers: raster, seoz

Subscribers: stefan_schmidt, bluezery

Differential Revision: https://phab.enlightenment.org/D1279
2015-03-03 19:58:41 +09:00
Andrii Kroitor 1b8772d7d1 elementary_test: fix build on windows
Summary:
added missing header

@fix

Reviewers: cedric, seoz, Hermet

Subscribers: reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D2041

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-24 13:23:34 +01:00
Jee-Yong Um 6d7b668dfe elm_panel: make "panel scrollable" work in elementary_test
Summary:
Thumbscroll is disabled in default configuration,
but "scrollable" feature in panel only works when thumbscroll is turned on.
To make "scrollable" work always in elementary test,
this patch enables thumbscroll temporarily regardless of configuration.
(configuration is restored when sample window is closed.)

Reviewers: Hermet, seoz

Subscribers: seoz, Hermet

Differential Revision: https://phab.enlightenment.org/D1983
2015-02-21 13:38:13 +09:00
kabeer khan 7cc6360aee elm_photocam: add API's to change photocam image orientation
Summary:
Added API's to rotate(90, 180, 270), flip(horizontal, vertical), transpose and transverse Photocam Image.

Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: seoz, stephenmhouston, raster, cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1541

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-20 14:33:17 +01:00
kabeer khan 97cefca273 elm_image: changed orient_set code to use evas_object_image_orient_set API
Summary:
evas_image_orient_set is a newly added API to set orientation of evas image.
Using this API to set orientation of image widget.
Also removed Elm_Image_Orient enums and replaced it with Evas_Image_Orient enums.

Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: raster, seoz, cedric

Differential Revision: https://phab.enlightenment.org/D1987

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-20 14:31:12 +01:00
ChunEon Park e55e740b0a Revert "Revert "Revert "win INLINE_IMAGE test now crashes as expected when trying to use it in a non-useless manner"""
This reverts commit 83f94464f1743cfa55e6b39704c605978edcee19.

This is incorrect. both windows evas are different,
we cannot set the child window as the resize object.
2015-02-19 15:18:37 +09:00
Mike Blumenkrantz 061f783923 Revert "Revert "win INLINE_IMAGE test now crashes as expected when trying to use it in a non-useless manner""
This reverts commit 72ef635ff3b8939509ecfb29ecf19e465b40e652.

changing a test so that it will not crash in a valid use case is not an appropriate fix.

ref T1973
2015-02-17 17:12:52 -05:00
Daniel Juyung Seo a3200cc02c genlist: Fix elm_genlist_item_index_get.
The first item's index is 1 not 0.

@fix
2015-02-12 22:05:27 +09:00
Stefan Schmidt 0b945d38d9 elm_config: Avoid access of deleted item data.
This belongs to the fixes raster just did here. It was the only one I was able
to trigger after his fixes.

Last one in a row that fixes T2072.
2015-02-09 12:36:01 +01:00
Carsten Haitzler 21a7a426a9 elm config - font selector - avoid accessing invalid data on deld items
@fix
2015-02-09 20:21:54 +09:00
Daniel Juyung Seo f422f0ca69 test_genlist: Clean up reorder test case. 2015-02-09 10:34:06 +09:00
Shinwoo Kim 02693dbc02 [tooltip] use proper object to set tooltip layer
Summary:
tooltip could be hide by the other object which have lower layer than target object of tooltip.
the layer of content could be changed, when is set to the tooltip as a content.

@fix

Test Plan: check added test lines

Reviewers: cedric, jpeg, seoz, raster

Reviewed By: raster

Subscribers: singh.amitesh, stefan_schmidt, seoz

Differential Revision: https://phab.enlightenment.org/D1889
2015-02-05 20:02:45 +09:00
Daniel Juyung Seo d4e4ed0e0b test_label: Cleanup label wrap test.
- remove unnecessary box.
- use ELM_SCALE_SIZE macro for a better scalability.
2015-02-04 10:16:59 +09:00
Daniel Juyung Seo 6ed274e003 test_label: Use meaningful test name for label test. 2015-01-30 09:10:43 +09:00
Daniel Juyung Seo 5cf335df94 test_panes: Remove unnecessary align/weight set for panes contents. 2015-01-29 15:28:08 +09:00
Davide Andreoli 3662d3c601 Icon: choose the fdo icon size using the evas obj geometry
Use the min between w and h of the evas object to
request the size in the icon theme. Fdo icon are always
square (1:1) so min seems correct.

Also improved the test to include a test that do
not relay on the size_hint_min of the icon.

Now in all the test I have done always the correct
fdo icon are used.
2015-01-25 18:31:59 +01:00
Davide Andreoli 2f6a3eb9a2 Improve Standard Icon test
You can now select the size of the icons in the list and
also added a single icon that you can resize.

The size of the icons is important as icon themes usually
provide different images for different sizes.

This test now spot out some errors in elm_icon wrt icon
sizing, will fix soon
2015-01-25 15:16:51 +01:00
Stefan Schmidt a31628cb2e test_disable: Extend button array to fix memory corruption
We are accessing btn[3] in the code so we should make sure the array it big
enough for it.

CID: 1265613
2015-01-23 12:32:42 +01:00
Daniel Juyung Seo d9b9dcf1e6 test_win_state: Add elm_win_center() sample. 2015-01-23 14:29:15 +09:00
Daniel Juyung Seo 04c7061152 test_gengrid: Dynamically allocate item data.
Do not waste unnecessary memory.
2015-01-22 07:39:34 +09:00
Daniel Juyung Seo bcbbf191ec test_colorselector: Clean up a little bit.
- Remove unnecessary data set.
- Use ELM_SCALE_SIZE on min set for a better scalability.

Yes this colorselector test needs a looooot of love.
2015-01-22 07:39:34 +09:00
Daniel Juyung Seo c906be2307 test_icon: Clean up icon standard sample.
- Do not set unnecessary min size for the icons. Just follow list's item
size naturally.
- Do not free unnecessary list which was already freed by
EINA_LIST_FREE.
- Do not set align for the window resize object which is not required to
be set.
- Follow conventional way of pointer declaration.
2015-01-22 07:39:34 +09:00
Stefan Schmidt f30c5c1674 Revert "genlist: added reorder feature on key events"
This reverts commit f99be3a1d6bdc63153598b592b5437c33da44bf0.

The API is not ready to be released. Please see the thread on the e-devel
mailing list under this subject. This can get another try in the 1.14
release cycle.

Conflicts:
	src/lib/elm_genlist.c
2015-01-19 12:56:50 +01:00
Cedric BAIL c11cc5f47d tests: add coverage support.
And our current score is 19% functions coverage for Elementary.
2015-01-16 16:39:37 +01:00
ChunEon Park d5abb68482 genlist: don't access item after removing it. 2015-01-15 22:43:14 +09:00
Chris Michael 0da7ee96fc elementary: Fix dereference of null return value
Summary: This fixes Coverity CID1261370. strrchr can return NULL here,
so we need to check that 'p' is valid.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-12 12:04:19 -05:00
Daniel Zaoui e281a68932 Revert "win INLINE_IMAGE test now crashes as expected when trying to use it in a non-useless manner"
This reverts commit fd71874024d14e5374aef93eae7d4cfbc0ea4521.

As the commit message says, the test crashes now. The ticket 1973 is
related to that issue.
Now, I understand there could be a bug inside inline stuff but it doesn't
mean that you have to push it and screw up all the test. You could just
attach a patch to the ticket and that's all folks!
2015-01-08 14:27:57 +02:00
shilpa.singh 92deae574a elm_widget: elm_object_disabled_set API fix
Summary:
When elm_object_disabled_set API is called on any widget, All the
subobjects of the widget also has to be disabled issue fix.
@fix

Test Plan:
Call the API elm_object_disabled_set on any container widget like box,
layout etc:-, fix can be tested with test_box.c and test_layout.c test
codes.

Reviewers: Hermet, seoz, raster

Subscribers: govi, rajeshps

Differential Revision: https://phab.enlightenment.org/D1778
2015-01-08 16:06:35 +09:00
Mike Blumenkrantz e157619f61 win INLINE_IMAGE test now crashes as expected when trying to use it in a non-useless manner
ref T1973
2015-01-06 16:53:59 -05:00
Davide Andreoli 9981b19303 Improve win dialog test to also include a test for standard_win 2015-01-04 15:38:51 +01:00
Davide Andreoli d4f5df772d Added the elm_win_util_dialog_add() API function
This new @feature is just a convenient way to create dialogs, It
mimic the elm_win_util_standard_add() function but crete a
standard dialog, with background and the parent set.

WinDialog test changed to use the new function.
2015-01-03 14:13:35 +01:00
woochan lee c45739d0bf test_gengrid.c: Fixed Item_Data array size for prevent buffer overflow.
Summary:
Item_Data size set as 144 before. but test_gengrid_speed function called create_gengrid function with 5000 items.
it makes crash.

@fix

Test Plan:
1. run elementary_test.
2. click Gengrid update Speed.
3. crash.

Reviewers: seoz, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1834
2014-12-31 17:38:28 +09:00
Amitesh Singh 2ba1640a00 test_glview_simple: opimize draw code.
Summary:
There is no need to call glVertexAttribPointer &
glEnableVertexAttribArray() while rendering.

Reviewers: seoz, jpeg, Hermet

Reviewed By: Hermet

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1827
2014-12-31 17:33:32 +09:00
Davide Andreoli 19d6ed361c Icon theme: added standard freedesktop names.
OK, this  commit try to fix the mess we have done with icon names in elm.
I just added standard names to icons yet existing in the elm theme, the
old name are, of course, preserved. But I marked them as -deprecated-.

Also added a new test: Icon Standard. It show all the icon that have standard
fdo names. This can be really usefull for user that need to choose icons to use.

I put some guidelines comment in the icons.edc files, I hope people will follow
the rules from now on... or will recive my personal spanking :D

I will work on those icons more in the next days: will add the new names to
elm docs, will try to match better fdo icon names, and maybe also add some
new icons...

Suggestions are always welcome.
@feature (maybe)
2014-12-30 23:03:12 +01:00
Daniel Juyung Seo 6d13e4e2bf test_genlist: Add clicked,right test case. 2014-12-30 00:35:24 +09:00
Davide Andreoli 62fe9c4964 List: new signal: clicked,right with simple test
@feature
2014-12-29 12:18:04 +01:00
Davide Andreoli a6486bc1b6 Gengrid: new signal: clicked,right with proper test
@feature
2014-12-29 11:38:17 +01:00
Daniel Juyung Seo b54b7178ed test_transit: Cast integer to pointer correctly to support 64 bit system. 2014-12-27 22:25:24 +09:00
Amitesh Singh eb3d69a8ec test_glview: Refractored the shader/program log code.
Summary:
Added a function print_glerror_log to handle both shaders and programs
logs.

Test Plan: elementary_test -> glview

Reviewers: raster, jpeg, seoz

Reviewed By: seoz

Subscribers: anand.km, seoz

Differential Revision: https://phab.enlightenment.org/D1826
2014-12-27 22:12:30 +09:00
ChunEon Park cf25180e0c transit: revise tween sample 2014-12-26 11:23:12 +09:00
Jee-Yong Um 30d8089ff5 elm_transit: Append Elm_Transit_Tween_Mode sample to elementary_test
Summary:
A sample for elm_transit_tween mode which can be executed via
"Effects"-"Transit Tween Mode" button in elementary_test

Reviewers: Hermet

Subscribers: Hermet

Differential Revision: https://phab.enlightenment.org/D1817
2014-12-26 10:27:15 +09:00
ChunEon Park ec9f950aa3 transit: revise sample 2014-12-18 20:11:36 +09:00
ChunEon Park b8887c6a1e transit: clean up beizer test code...
oh please, this must be the last touch!
2014-12-18 15:16:59 +09:00
ChunEon Park d2e2bd3f05 transit: print more detail control points message in the bezier sample 2014-12-18 14:51:30 +09:00
ChunEon Park 036bf49767 transit: adjust control point position range in the bezier sample 2014-12-18 14:37:39 +09:00
ChunEon Park 94e60a010e transit: add bezier curve tween mode example 2014-12-18 14:33:47 +09:00
ChunEon Park c8ca7e6ba9 transit: renamed to explicit examples. 2014-12-18 09:39:37 +09:00
Kairong Yin f2cf41dc1c Fix T1525 New Append/Prepend Gengrid Item cannot be seen in viewport
Reviewers: seoz, raster

Differential Revision: https://phab.enlightenment.org/D1392
2014-12-16 19:49:54 +09:00
Jyotiprakash Sahoo 17419ec81c genlist: added reorder feature on key events
Summary: This feature allows user to reorder items using up/down keys.

Test Plan: elementary_test -to "Genlist Reorder Mode"

Reviewers: singh.amitesh, raster, seoz, SanghyeonLee

Differential Revision: https://phab.enlightenment.org/D1262

Conflicts:
	src/bin/test_genlist.c
	src/lib/elm_genlist_legacy.h
2014-12-16 18:20:32 +09:00
woochan lee a5de98c5f6 test_check: deleted useless code.
Summary:
in this test sample, evas object size hint weight, align set API doesn't need to make view.
and line changed to code consistency.

Test Plan:
1. run elementary_test.
2. execution check test.
3. window resize.
   - some objects align to left side of window. in the other hands, some objects align to center of window.

Reviewers: seoz, Hermet

Differential Revision: https://phab.enlightenment.org/D1781
2014-12-16 16:10:37 +09:00
Daniel Juyung Seo e7726d8f01 test_genlist: Remove unused value.
This fixes coverity CID 1258428.
2014-12-14 12:07:06 +09:00
Daniel Juyung Seo 56bc2bddcb test_genlist: Refactor genlist focus test.
- Add more sample items.
- Clear genlist on focus callback only for the specified item.
- Fix broken item index handling
- Remove unnecessary app data structure members.
- Free unused item class.
2014-12-14 04:13:13 +09:00
Daniel Juyung Seo 7f9c8f3d76 test_win_state: Add win lower and deiconify samples. 2014-11-28 23:08:36 +09:00
Daniel Juyung Seo 1144058032 test_3d: Set indicator format explictly.
Indicator text is not visible if one does not set the indicator format.
This fixes T1867.
2014-11-26 20:47:58 +09:00
Daniel Juyung Seo fafd60b842 config: Refactor scrolling configuration dialog.
- Group thumb scroll configurations with frame.
- Move thumb scroll acceleration config below thumb scroll config.
2014-11-26 09:50:43 +09:00
Daniel Juyung Seo 7af14b914a test_photocam: Enhance photocam test.
- Remove wrong global variable usage. This becomes problematic when
you run multiple photocam test instances.
- Fix formatting.
- Add more comments.
2014-11-26 09:40:38 +09:00
Daniel Juyung Seo 3feb282c86 test_photocam: Remove unnecessary data set. 2014-11-26 09:22:23 +09:00
Anand 1a7d1e5f97 config: Fixed null return.
Reviewers: cedric, singh.amitesh, seoz

Differential Revision: https://phab.enlightenment.org/D1663
2014-11-26 07:35:04 +09:00
Daniel Juyung Seo dae6d34f39 test_menu: Fix wrong parent set.
Set elementary widget as an elementary widget's parent on its
creation.
2014-11-25 22:17:46 +09:00
ChunEon Park 667111c1e5 test/evasmap3d: let better quality as default. 2014-11-24 16:50:31 +09:00
Daniel Juyung Seo 805590526e test_notify,popup: Add key event reacting examples.
There is a bug in notify. This test reveals the bugs :)
2014-11-24 15:29:41 +09:00
Daniel Juyung Seo add8ef22a6 test_slider: Fix wrong slider description. 2014-11-23 20:42:10 +09:00
Daniel Juyung Seo 188297c5af test_genlist: Add elm_genlist_item_subitems_get sample. 2014-11-21 12:21:45 +09:00
Hosang Kim 008f37e18e Scroller: Add step size set API
Summary:
Application do not change step size because only interface API is existed.

@feature

Test Plan: elementary_test -> scroller -> change step size

Reviewers: seoz, Hermet

Differential Revision: https://phab.enlightenment.org/D1677
2014-11-20 20:29:41 +09:00
Daniel Juyung Seo 2f20ed2fcc test: Use ELM_SCALE_SIZE instead of elm_config_scale_get().
Newly introduced macro ELM_SCALE_SIZE at 1.12 makes your app more
scalable.
2014-11-13 00:08:42 +09:00
Daniel Juyung Seo 49fae24f74 test_progressbar: Fix weight/align size hints.
Also put weight set first. It is easier to understand logically.
2014-11-13 00:00:19 +09:00
woochan lee aec1bec0b9 test_progressbar: stop btn callback fixed, unnecessary code deleted
Reviewers: Hermet, seoz

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D1664
2014-11-12 23:42:20 +09:00
ChunEon Park 6ba886cb1c example/evasmap3d: change to simpler call. 2014-11-10 20:15:16 +09:00
Youngbok Shin 40bc9198aa label: Reset sd->lastw as '-1' in some elm_label APIs for ensure the sizing_eval.
Summary:
In some cases, elm_label doesn't calculate its min size if it is not resized from outside.
It is happened when only elm_label used with elm_label_line_wrap_set API.
The following APIs can change min size of the widget, so we can't skip the sizing_eval func.

elm_label_line_wrap_set
elm_label_line_width_set
elm_object_text_set -> _elm_label_elm_layout_text_set will be called.

@fix

Test Plan:
I put a change to test_notify.c for test.
elementary_test notify
-> click "top" button. -> You can't see elm_label without the patch.

Reviewers: woohyun, tasn, seoz

Reviewed By: seoz

Subscribers: herdsman

Differential Revision: https://phab.enlightenment.org/D1652
2014-11-10 14:06:32 +09:00
Daniel Juyung Seo 0645ba436d test_box: Add box align test sample.
This shows how elm_box_align_set() works.
2014-11-09 18:36:29 +09:00
Daniel Juyung Seo d883aa2499 test_box: Remove unnecessary object resize.
- Do not resize window's resize object manually.
- Do not resize box's children objects manually.
2014-11-09 16:05:01 +09:00
ChunEon Park bdaf008d02 elementary_test/3d: improve sample.
since the previous cube hide the progressbar control,
user couldn't control it.

So make it cube transparency and pass events to progressbar.
2014-10-30 17:26:49 +09:00
ChunEon Park c38da29ec3 elementary_test/3d: remove dead code. 2014-10-30 17:22:43 +09:00
ChunEon Park 28bd64170e elementary_test: support --help command line. 2014-10-30 17:02:29 +09:00
Thiep Ha ada2b6abec entry/test: make scrollable entries visible
Summary:
Two scrollable entries' size is too small to view.
This patch expands window size to have suitable size for entries.

@fix

Reviewers: Hermet, seoz, woohyun, tasn

Reviewed By: tasn

Differential Revision: https://phab.enlightenment.org/D1597
2014-10-29 08:37:38 +00:00
Ryuan Choi 9ddd97c7ff Introduce current_name_{set|get}
Summary:
When fileselector is opened, it would be nice to be able to provide initial filename.
Like "Untitled Document" in Gedit, when save for the first time.

More details in Gedit,
Gedit provies default name, "Untitled Document" and does not change default name
while navigating directories.
Once we selected any file, Gedit changes value of name entry to selected filename and
it is not also changed while navigating directories.

@feature

Reviewers: seoz, yakov-g

Reviewed By: yakov-g

Subscribers: seoz

Maniphest Tasks: T1664

Differential Revision: https://phab.enlightenment.org/D1504
2014-10-06 08:08:24 +09:00
Tom Hacohen 236bab8d53 Change according to recent Eo changes, and fix related wrong unrefs.
eo_add()'s counterpart is eo_del, not eo_unref. Regardless of that, some
objects were being double-deleted which spew out some eo errors. These
things should now be fixed.

bc6b6aa457 is the relevant EFL commit.
2014-09-30 14:54:52 +01:00
Tom Hacohen f72bcf2b64 Eo: Get rid of eo_add_custom.
This has been deprecated for a while and is now completely dropped.
2014-09-25 10:46:04 +01:00
Daniel Juyung Seo e072f17b5a test_genlist: Fixed wrong frame title in the genlist focus test.
Test Plan: elementary_test -> genlist focus

Reviewers: Hermet

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1479
2014-09-24 02:12:57 +09:00
Daniel Juyung Seo 88499a2660 test_radio: Did internal refactoring and added more group test example. 2014-09-20 17:23:03 +09:00
Daniel Juyung Seo 4bb375af97 test_radio: Added a changed callback to a radio group. 2014-09-19 02:49:30 +09:00
Daniel Juyung Seo 55050fef9d test_genlist: added a test to clear the genlist no item,focused call. 2014-09-17 16:37:55 -07:00
Daniel Juyung Seo 0d5dad908e test_genlist: Fixed typo in the check button. 2014-09-07 22:06:47 +09:00
Daniel Juyung Seo 9954b7391f test_gengrid: Added pressed and released callbacks for more tests. 2014-09-07 22:00:20 +09:00
Daniel Juyung Seo d5cfb8e0b3 test_genlist: Added more focus tests for popup creation on item mouse down and item select. 2014-09-07 19:43:24 +09:00
Daniel Juyung Seo e644c842e1 test_genlist: Added 'add more items' button to genlist focus test. 2014-09-07 18:46:15 +09:00
Daniel Juyung Seo 3518675d31 test_popup: Renamed focus highlight button name correctly. 2014-09-07 18:10:47 +09:00
Daniel Juyung Seo 79788f8c12 test_genlist: Refactored internal codes.
Created internal function _test_genlist_focus_option_panel_create() as it is
getting too big.
2014-09-07 17:49:33 +09:00