projects
/
profile
/
mobile
/
apps
/
native
/
clock.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
202d7ef
)
Select first toolbar item on application startup.
84/98784/1
author
Kamil Lipiszko
<k.lipiszko@samsung.com>
Sun, 20 Nov 2016 11:42:09 +0000
(12:42 +0100)
committer
Kamil Lipiszko
<k.lipiszko@samsung.com>
Sun, 20 Nov 2016 11:42:09 +0000
(12:42 +0100)
Change-Id: Id3eb5aed183705ac75c2289dca0b1248531423b0
clock/src/View/MainView.cpp
patch
|
blob
|
history
diff --git
a/clock/src/View/MainView.cpp
b/clock/src/View/MainView.cpp
index
9f7775b
..
2cadb08
100644
(file)
--- a/
clock/src/View/MainView.cpp
+++ b/
clock/src/View/MainView.cpp
@@
-193,6
+193,10
@@
void MainView::CreateContent()
elm_object_item_part_content_set(item, "tabbar", toolbar_);
evas_object_show(alarm_->GetEvasObject());
elm_object_item_content_set(item, alarm_->GetEvasObject());
+
+ Elm_Object_Item *first = elm_toolbar_first_item_get(toolbar_);
+ if (first)
+ elm_toolbar_item_selected_set(first, EINA_TRUE);
}
Evas_Object *MainView::GetEvasObject()