23:decc6bf584aa | 24:06bceda81a03 |
---|---|
31 #import <sys/stat.h> | 31 #import <sys/stat.h> |
32 #import <sys/types.h> | 32 #import <sys/types.h> |
33 #import <errno.h> | 33 #import <errno.h> |
34 | 34 |
35 #import "../common/document.h" | 35 #import "../common/document.h" |
36 #import "../common/properties.h" | |
36 | 37 |
37 #import "toolkit.h" | 38 #import "toolkit.h" |
38 #import "window.h" | 39 #import "window.h" |
39 #import "menu.h" | 40 #import "menu.h" |
40 #import "toolbar.h" | 41 #import "toolbar.h" |
55 | 56 |
56 uic_docmgr_init(); | 57 uic_docmgr_init(); |
57 ui_menu_init(); | 58 ui_menu_init(); |
58 ui_toolbar_init(); | 59 ui_toolbar_init(); |
59 ui_stock_init(); | 60 ui_stock_init(); |
61 | |
62 uic_load_app_properties(); | |
60 } | 63 } |
61 | 64 |
62 void ui_show(UiObject *obj) { | 65 void ui_show(UiObject *obj) { |
63 if([obj->widget class] == [UiCocoaWindow class]) { | 66 if([obj->widget class] == [UiCocoaWindow class]) { |
64 UiCocoaWindow *window = (UiCocoaWindow*)obj->widget; | 67 UiCocoaWindow *window = (UiCocoaWindow*)obj->widget; |