parent
c3f784ce59
commit
98919edd49
|
@ -26,12 +26,9 @@ import gettext
|
|||
import os
|
||||
import defs
|
||||
import unicodedata
|
||||
import gtk
|
||||
|
||||
if gtk.widget_get_default_direction() == gtk.TEXT_DIR_LTR:
|
||||
direction_mark = u'\u200E'
|
||||
else:
|
||||
direction_mark = u'\u200F'
|
||||
# May be changed after GTK is imported
|
||||
direction_mark = u'\u200F'
|
||||
|
||||
def paragraph_direction_mark(text):
|
||||
"""
|
||||
|
|
|
@ -205,6 +205,8 @@ warnings.resetwarnings()
|
|||
if os.name == 'nt':
|
||||
warnings.filterwarnings(action='ignore')
|
||||
|
||||
if gtk.widget_get_default_direction() == gtk.TEXT_DIR_LTR:
|
||||
i18n.direction_mark = u'\u200E'
|
||||
pritext = ''
|
||||
|
||||
from common import exceptions
|
||||
|
|
Loading…
Reference in New Issue