https://bugs.gpodder.org/show_bug.cgi?id=1137

--- Comment #5 from Amiad <[email protected]> 2010-09-28 00:23:32 BST ---
I find what need to change:
in file /src/gpodder/gtkui/desktop/shownotes.py
124 if self.have_webkit:
125 global SHOWNOTES_HTML_TEMPLATE

124 - checks whether the Webview gtk object is available
125 - if so the object will be initialized with the content provided by the
global SHOWNOTES_HTML_TEMPLATE shown in line 39
the solution would be to add another line between 124 and 125 a call to
function that checks what the language of the text, if its in English the LTR
initializer is called, otherwise the RTL initializer will be called, the RTL
init will be the same as the rtl only with one exception: the <html> tag will
contain the dir attribute like this: <html dir="rtl">
complement: putting the tag in its own global and adding the rest without
condition (the first line will be conditional).

-- 
Configure bugmail: https://bugs.gpodder.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
gPodder-Bugs mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/gpodder-bugs

Reply via email to