application/window.c

changeset 33
cdeb0dc47ef5
parent 26
40d6af793c1a
child 34
98e041f2f9a2
--- a/application/window.c	Sun Jun 09 15:43:08 2024 +0200
+++ b/application/window.c	Sun Jun 09 16:06:40 2024 +0200
@@ -57,8 +57,8 @@
 
 	// navigation bar
 	ui_hbox(obj, .fill = UI_OFF, .margin = 8) {
-		ui_button(obj, .icon = "Back", .onclick = action_go_back);
-		ui_button(obj, .icon = "Forward", .onclick = action_go_forward);
+		ui_button(obj, .icon = UI_ICON_GO_BACK, .onclick = action_go_back);
+		ui_button(obj, .icon = UI_ICON_GO_FORWARD, .onclick = action_go_forward);
 
 		ui_path_textfield(obj, .fill = UI_ON, .getpathelm = dav_get_pathelm, .onactivate = action_path_selected ,.varname = "path");
 

mercurial