summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyuan Choi <ryuan.choi@gmail.com>2014-01-19 15:31:20 +0900
committerRyuan Choi <ryuan.choi@gmail.com>2014-01-19 15:35:51 +0900
commit49f93324f97586438e4e327d779852591c9f48a6 (patch)
tree3da653cd651942132cce207d0cc21659bbe2d9c6
parentf117b182e2427ad65e97f5380b976a80d37daea9 (diff)
fileselector_button, fileselector_entry: Updated FOO_inwin_mode_set() documentation.
fileselector_button initialize inwin mode using the configuration. Fixed wrong information about default value in API documentation. In addition, fixed test_fileselector_button.cpp not to show wrong information at initial time.
-rw-r--r--src/bin/test_fileselector_button.c2
-rw-r--r--src/lib/elc_fileselector_button_legacy.h3
-rw-r--r--src/lib/elc_fileselector_entry_legacy.h3
3 files changed, 5 insertions, 3 deletions
diff --git a/src/bin/test_fileselector_button.c b/src/bin/test_fileselector_button.c
index b7cde8842..cba4462a6 100644
--- a/src/bin/test_fileselector_button.c
+++ b/src/bin/test_fileselector_button.c
@@ -212,7 +212,7 @@ test_fileselector_button(void *data EINA_UNUSED,
212 bt = elm_check_add(win); 212 bt = elm_check_add(win);
213 elm_object_style_set(bt, "toggle"); 213 elm_object_style_set(bt, "toggle");
214 elm_object_text_set(bt, "Inwin mode"); 214 elm_object_text_set(bt, "Inwin mode");
215 elm_check_state_set (bt, EINA_TRUE); 215 elm_check_state_set(bt, elm_fileselector_button_inwin_mode_get(fs_bt));
216 evas_object_smart_callback_add(bt, "changed", _inwin_mode_toggle, fs_bt); 216 evas_object_smart_callback_add(bt, "changed", _inwin_mode_toggle, fs_bt);
217 elm_box_pack_end(hbox, bt); 217 elm_box_pack_end(hbox, bt);
218 evas_object_show(bt); 218 evas_object_show(bt);
diff --git a/src/lib/elc_fileselector_button_legacy.h b/src/lib/elc_fileselector_button_legacy.h
index 9d80684dd..4afbef110 100644
--- a/src/lib/elc_fileselector_button_legacy.h
+++ b/src/lib/elc_fileselector_button_legacy.h
@@ -217,7 +217,8 @@ EAPI Eina_Bool elm_fileselector_button_is_save_get(const Evas_
217/** 217/**
218 * Set whether a given file selector button widget's internal file 218 * Set whether a given file selector button widget's internal file
219 * selector will raise an Elementary "inner window", instead of a 219 * selector will raise an Elementary "inner window", instead of a
220 * dedicated Elementary window. By default, it won't. 220 * dedicated Elementary window. By default, it depends on the current
221 * profile.
221 * 222 *
222 * @param obj The file selector button widget 223 * @param obj The file selector button widget
223 * @param value @c EINA_TRUE to make it use an inner window, @c 224 * @param value @c EINA_TRUE to make it use an inner window, @c
diff --git a/src/lib/elc_fileselector_entry_legacy.h b/src/lib/elc_fileselector_entry_legacy.h
index e6f209987..475b47627 100644
--- a/src/lib/elc_fileselector_entry_legacy.h
+++ b/src/lib/elc_fileselector_entry_legacy.h
@@ -217,7 +217,8 @@ EAPI Eina_Bool elm_fileselector_entry_is_save_get(const Evas_O
217/** 217/**
218 * Set whether a given file selector entry widget's internal file 218 * Set whether a given file selector entry widget's internal file
219 * selector will raise an Elementary "inner window", instead of a 219 * selector will raise an Elementary "inner window", instead of a
220 * dedicated Elementary window. By default, it won't. 220 * dedicated Elementary window. By default, it depends on the current
221 * profile.
221 * 222 *
222 * @param obj The file selector entry widget 223 * @param obj The file selector entry widget
223 * @param value @c EINA_TRUE to make it use an inner window, @c 224 * @param value @c EINA_TRUE to make it use an inner window, @c