devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=4a7ebe86bccb16bdf0f88482b3e65267520355dc

commit 4a7ebe86bccb16bdf0f88482b3e65267520355dc
Author: Simon Tischer <[email protected]>
Date:   Mon Apr 6 16:16:25 2020 +0200

    emixer - add icons to toolbar
    
    Differential Revision: https://phab.enlightenment.org/D11658
---
 src/modules/mixer/emixer.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/modules/mixer/emixer.c b/src/modules/mixer/emixer.c
index e1a89987c..2cf4fedb5 100644
--- a/src/modules/mixer/emixer.c
+++ b/src/modules/mixer/emixer.c
@@ -1332,13 +1332,14 @@ elm_main(int argc, char **argv)
    tbar = elm_toolbar_add(win);
    elm_toolbar_select_mode_set(tbar, ELM_OBJECT_SELECT_MODE_ALWAYS);
    elm_toolbar_homogeneous_set(tbar, EINA_TRUE);
+   elm_object_style_set(tbar, "item_horizontal");
    evas_object_size_hint_weight_set(tbar, EVAS_HINT_EXPAND, 0.0);
    evas_object_size_hint_align_set(tbar, EVAS_HINT_FILL, EVAS_HINT_FILL);
 
-   elm_toolbar_item_append(tbar, NULL, "Playback", _cb_playback, NULL);
-   elm_toolbar_item_append(tbar, NULL, "Outputs", _cb_outputs, NULL);
-   elm_toolbar_item_append(tbar, NULL, "Inputs", _cb_inputs, NULL);
-   elm_toolbar_item_append(tbar, NULL, "Cards", _cb_card, NULL);
+   elm_toolbar_item_append(tbar, "media-playback-start", "Playback", 
_cb_playback, NULL);
+   elm_toolbar_item_append(tbar, "audio-volume-medium", "Outputs", 
_cb_outputs, NULL);
+   elm_toolbar_item_append(tbar, "audio-input-microphone", "Inputs", 
_cb_inputs, NULL);
+   elm_toolbar_item_append(tbar, "audio-card", "Cards", _cb_card, NULL);
 
    elm_table_pack(tb, tbar, 0, 0, 1, 1);
    evas_object_show(tbar);

-- 


Reply via email to