Changeset 9738
- Timestamp:
- 06/02/08 10:10:36 (6 months ago)
- Location:
- trunk/src
- Files:
-
- 2 modified
-
common/config.py (modified) (1 diff)
-
conversation_textview.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/common/config.py
r9721 r9738 251 251 'attach_notifications_to_systray': [opt_bool, False, _('If True, notification windows from notification-daemon will be attached to systray icon.')], 252 252 'check_idle_every_foo_seconds': [opt_int, 2, _('Choose interval between 2 checks of idleness.')], 253 'latex_png_dpi': [opt_str, '108',_('Change the value to change the size of latex formulas displayed. The higher is larger.') ], 253 254 } 254 255 -
trunk/src/conversation_textview.py
r9501 r9738 855 855 856 856 if exitcode == 0: 857 convert_version = helpers.get_output_of_command( 858 'convert -version')[0].split()[2] 859 convert_version = [int(n) for n in convert_version.split('.')] 860 if convert_version > [6, 3, 4]: 861 # -alpha option was added in 6.3.5 release 862 alpha = ['-alpha', 'off'] 863 else: 864 alpha = [] 865 p = Popen(['convert'] + alpha + [tmpfile + '.ps', tmpfile + '.png'], 857 latex_png_dpi = gajim.config.get('latex_png_dpi') 858 p = Popen(['convert', '-background', 'white', '-flatten', '-density', latex_png_dpi, tmpfile + '.ps', tmpfile + '.png'], 866 859 cwd=gettempdir()) 867 860 exitcode = p.wait()
