forked from enlightenment/edi
ui:fix title bar attribute of settings, about window
Summary: ui:fx title bar attribute of settings, about window. when using not enlightenment but other window manger, settings,about window can't be closed with one click. they need close button. Test Plan: 1. start edi. 2. select project. 3-1. click settings icon. 3-2. click About icon. Reviewers: ajwillia.ms Reviewed By: ajwillia.ms Differential Revision: https://phab.enlightenment.org/D3979
This commit is contained in:
parent
4d0b4468c4
commit
9f112d07ae
|
@ -27,7 +27,7 @@ edi_about_show(Evas_Object *mainwin)
|
|||
int alpha, r, g, b;
|
||||
char buf[PATH_MAX];
|
||||
|
||||
win = elm_win_add(mainwin, "about", ELM_WIN_DIALOG_BASIC);
|
||||
win = elm_win_add(mainwin, "about", ELM_WIN_BASIC);
|
||||
if (!win) return NULL;
|
||||
|
||||
elm_win_title_set(win, "About Edi (" VERSION ")");
|
||||
|
|
|
@ -418,7 +418,7 @@ edi_settings_show(Evas_Object *mainwin)
|
|||
Evas_Object *win, *bg, *table, *naviframe, *tb;
|
||||
Elm_Object_Item *tb_it, *default_it;
|
||||
|
||||
win = elm_win_add(mainwin, "settings", ELM_WIN_DIALOG_BASIC);
|
||||
win = elm_win_add(mainwin, "settings", ELM_WIN_BASIC);
|
||||
if (!win) return NULL;
|
||||
|
||||
elm_win_title_set(win, "Edi Settings");
|
||||
|
|
Loading…
Reference in New Issue