diff --git a/!NetSurf/Resources/de/Messages b/!NetSurf/Resources/de/Messages index f8cf8f2e7..5f2bb6204 100644 --- a/!NetSurf/Resources/de/Messages +++ b/!NetSurf/Resources/de/Messages @@ -301,6 +301,7 @@ SaveAs:Speichern als... SaveIFF:Speichern als IFF... ObjShow:Zeige Objekt SelectFile:Datei auswählen... +ExternalApp:Open in external application # Treeview interface tokens # ========================= diff --git a/!NetSurf/Resources/en/Messages b/!NetSurf/Resources/en/Messages index dfc0fac5f..fe8b27291 100644 --- a/!NetSurf/Resources/en/Messages +++ b/!NetSurf/Resources/en/Messages @@ -303,6 +303,7 @@ SaveAs:Save as... SaveIFF:Save as IFF... ObjShow:Show object SelectFile:Select file... +ExternalApp:Open in external application # Treeview interface tokens # ========================= diff --git a/!NetSurf/Resources/fr/Messages b/!NetSurf/Resources/fr/Messages index ceeb25fb6..904916fa0 100644 --- a/!NetSurf/Resources/fr/Messages +++ b/!NetSurf/Resources/fr/Messages @@ -301,6 +301,7 @@ SaveAs:Save as... SaveIFF:Save as IFF... ObjShow:Show object SelectFile:Select file... +ExternalApp:Open in external application # Treeview interface tokens # ========================= diff --git a/!NetSurf/Resources/it/Messages b/!NetSurf/Resources/it/Messages index 405df1b9f..eeda3ffe9 100644 --- a/!NetSurf/Resources/it/Messages +++ b/!NetSurf/Resources/it/Messages @@ -305,6 +305,7 @@ SaveAs:Salva come... SaveIFF:Salva come IFF... ObjShow:Mostra oggetto SelectFile:Seleziona file... +ExternalApp:Open in external application # Treeview interface tokens # ========================= diff --git a/!NetSurf/Resources/nl/Messages b/!NetSurf/Resources/nl/Messages index 3e652a5ae..a382e86f4 100644 --- a/!NetSurf/Resources/nl/Messages +++ b/!NetSurf/Resources/nl/Messages @@ -301,6 +301,7 @@ SaveAs:Save as... SaveIFF:Save as IFF... ObjShow:Show object SelectFile:Select file... +ExternalApp:Open in external application # Treeview interface tokens # ========================= diff --git a/amiga/plugin_hack.c b/amiga/plugin_hack.c index e1a92f1cd..e450b1c6a 100644 --- a/amiga/plugin_hack.c +++ b/amiga/plugin_hack.c @@ -80,7 +80,7 @@ nserror amiga_plugin_hack_init(void) if(node) { - printf("plugin_hack registered %s\n",lwc_string_data(type)); + LOG(("plugin_hack registered %s\n",lwc_string_data(type))); error = content_factory_register_handler(type, &amiga_plugin_hack_content_handler); @@ -149,11 +149,16 @@ bool amiga_plugin_hack_redraw(struct content *c, int x, int y, float scale, colour background_colour, bool repeat_x, bool repeat_y) { - static plot_style_t pstyle; + plot_style_t pstyle = { + .fill_type = PLOT_OP_TYPE_SOLID, + .fill_colour = 0xffffff, + .stroke_colour = 0x000000, + .stroke_width = 1, + }; LOG(("amiga_plugin_hack_redraw")); - plot.rectangle(x, y, x + width, y + height, plot_style_fill_red); + plot.rectangle(x, y, x + width, y + height, &pstyle); return plot.text(x, y+20, lwc_string_data(content__get_mime_type(c)), lwc_string_length(content__get_mime_type(c)), plot_style_font);