[Cairo-dock-team] [Bug 1374939] Re: VTE 2.91 support

2014-09-28 Thread Anatol Pomozov
Non C++ version of the patch would be something like: PangoFontDescription *font_desc = pango_font_description_from_string(name); vte_terminal_set_font (vte, font_desc); -- You received this bug notification because you are a member of Cairo- Dock Devs, which is subscribed to Cairo-Dock Plug-ins

[Cairo-dock-team] [Bug 1374939] Re: VTE 2.91 support

2014-09-28 Thread Matthieu Baerts
Hello and thank you for this bug report! Thank you for this patch! I'll have a look to it ASAP but after a quick look, I can't apply it like that in the trunk because we also want to be compatible with previous versions of VTE. But it's nice to have this patch because we can know what compiles f

[Cairo-dock-team] [Bug 1374939] Re: VTE 2.91 support

2014-09-28 Thread Maxime Gauduin
Thx for the pointer, I added this to the patch. Now this adds a dep on pangomm, and even though I added the correct cflags and ldflags via cmake, I end up getting this: https://paste.xinu.at/yg8A/. New patch attached. Can somebody reproduce? ** Patch added: "cd-terminal-vte2.91.patch" https:/

[Cairo-dock-team] [Bug 1374939] Re: VTE 2.91 support

2014-09-28 Thread Anatol Pomozov
This patch has something similar https://mail.gnome.org/archives /commits-list/2014-July/msg02062.html -vte_terminal_set_font_from_string (vte, "monospace"); +Pango::FontDescription font_desc ("monospace"); +vte_terminal_set_font (vte, font_desc.gobj()); -- You received t

[Cairo-dock-team] [Bug 1374939] [NEW] VTE 2.91 support

2014-09-28 Thread Maxime Gauduin
Public bug reported: VTE 2.91 just landed in Arch Linux' testing repo along with GNOME 3.14. It brings some API changes so I put together a quick patch and it seems to work, but vte_terminal_set_font_from_string does not exist anymore. Since I don't know C and I'm not sure how to deal with this, I