Changeset 96
- Timestamp:
- Thu Aug 11 11:34:06 2005
- Files:
-
- trunk/transolution/xliffeditor/gtk_main.py (modified) (diff)
- trunk/transolution/xliffeditor/gtk_clipboard.py (modified) (diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
trunk/transolution/xliffeditor/gtk_main.py
r95 r96 801 801 except IOError,e: 802 802 drop_down_values = None 803 msg = _('Select the web dictionary (for Web lookup)to use.')803 msg = _('Select the web dictionary to use.') 803 803 result_webdict = dropDownDialog(self.window,_('Set web url to use for web lookups' ), 804 804 msg, _('Web post url'), … … 818 818 from gtk_clipboard import clipboard 819 819 text = clipboard.getText() 820 self.webdict.lookup(text) 821 print " ",text 820 if text: 821 self.webdict.lookup(text) 822 print " ",text 822 823 823 824 -
trunk/transolution/xliffeditor/gtk_clipboard.py
r94 r96 43 43 """ 44 44 text = _gtk_clipboard.wait_for_text() 45 return text.decode('utf-8') 45 try: 46 return text.decode('utf-8') 47 except AttributeError,e: 48 return None 46 49 47 50
