summaryrefslogtreecommitdiff
path: root/riscos/theme_install.c
diff options
context:
space:
mode:
authorJohn Tytgat <joty@netsurf-browser.org>2008-08-05 01:23:04 +0000
committerJohn Tytgat <joty@netsurf-browser.org>2008-08-05 01:23:04 +0000
commitc40fc354b3783502ce0c9be1629380acb10c0570 (patch)
tree27076646b9e6041439a5e082b1cb99d67045b0ac /riscos/theme_install.c
parent039362166c2d31dd23931332b6af94bf274d2635 (diff)
downloadnetsurf-c40fc354b3783502ce0c9be1629380acb10c0570.tar.gz
netsurf-c40fc354b3783502ce0c9be1629380acb10c0570.tar.bz2
- Teached ro_gui_set_icon_string() and ro_gui_get_icon_string() about the difference between direct and indirect icons.
- ro_gui_get_icon_string(): - Constify return value of ro_gui_get_icon_string() as you really shouldn't change its contents via this pointer. - Enfore NUL string termination as return value (instead of other control char termination) - Merged ro_gui_set_icon_string_le() into ro_gui_set_icon_string() by adding ro_gui_set_icon_string() and extra to_utf8 parameter. - ro_gui_strncmp(): added svn path=/trunk/netsurf/; revision=4907
Diffstat (limited to 'riscos/theme_install.c')
-rw-r--r--riscos/theme_install.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/riscos/theme_install.c b/riscos/theme_install.c
index 7f151fd94..32b69a749 100644
--- a/riscos/theme_install.c
+++ b/riscos/theme_install.c
@@ -70,7 +70,7 @@ void theme_install_start(struct content *c)
}
ro_gui_set_icon_string(dialog_theme_install, ICON_THEME_INSTALL_MESSAGE,
- messages_get("ThemeInstDown"));
+ messages_get("ThemeInstDown"), true);
ro_gui_set_icon_shaded_state(dialog_theme_install,
ICON_THEME_INSTALL_INSTALL, true);
ro_gui_wimp_event_register_close_window(dialog_theme_install,
@@ -111,7 +111,7 @@ void theme_install_callback(content_msg msg, struct content *c,
buffer[sizeof buffer - 1] = '\0';
ro_gui_set_icon_string(dialog_theme_install,
ICON_THEME_INSTALL_MESSAGE,
- buffer);
+ buffer, true);
ro_gui_set_icon_shaded_state(dialog_theme_install,
ICON_THEME_INSTALL_INSTALL, false);
break;