Font size in task description

Asked by hills on 2011-07-27

How to increase the font size of task description? I was trying with general font settings in GNOME and it seems like font size of task description is a font size for all application, not even for documents. This seems like a bug, but I am looking for a quick workaround. Thanks in advance for you help.

Question information

Language:
English Edit question
Status:
Solved
For:
Getting Things GNOME! Edit question
Assignee:
No assignee Edit question
Solved by:
Izidor Matušov
Solved:
2011-07-27
Last query:
2011-07-27
Last reply:
2011-07-27
Best Izidor Matušov (izidor) said : #1

You can apply this patch to manually change font size:

<patch>
=== modified file 'GTG/gtk/editor/editor.py'
--- GTG/gtk/editor/editor.py 2010-09-15 05:02:01 +0000
+++ GTG/gtk/editor/editor.py 2011-07-27 16:13:37 +0000
@@ -26,6 +26,7 @@
 import time

 import gtk
+import pango

 from GTG import _, ngettext
 from GTG.gtk.editor import GnomeConfig
@@ -107,6 +108,7 @@
         self.textview.open_task_callback(self.vmanager.open_task)
         self.textview.set_left_margin(7)
         self.textview.set_right_margin(5)
+ self.textview.modify_font(pango.FontDescription('sans bold 12'))
         scrolled.add(self.textview)
         #Voila! it's done
         self.calendar = GTGCalendar(self.builder)

<patch>

This is inspired by [1].

1: http://www.daa.com.au/pipermail/pygtk/2008-February/014850.html

hills (hills) said : #2

Thank you a lot for your fast, favourable response. Your patch works very well whereas it's very simple! I hope more users will take advantage of this tip.

(And thanks for very needed tool in information overload times).

hills (hills) said : #3

Thanks Izidor Matušov, that solved my question.