[Xfce4-commits] [apps/mousepad] 01/01: Selecting a font via menu now disables system font (Bug #12773)

noreply at xfce.org noreply at xfce.org
Sat May 18 23:40:02 CEST 2019


This is an automated email from the git hooks/post-receive script.

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/mousepad.

commit c4e15fdc86dbb2559f9e0d1658cca6372ec58b8d
Author: Theo Linkspfeifer <lastonestanding at tutanota.com>
Date:   Tue Apr 23 17:58:55 2019 +0200

    Selecting a font via menu now disables system font (Bug #12773)
---
 mousepad/mousepad-window.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/mousepad/mousepad-window.c b/mousepad/mousepad-window.c
index f83a187..06db5cd 100644
--- a/mousepad/mousepad-window.c
+++ b/mousepad/mousepad-window.c
@@ -4868,6 +4868,8 @@ mousepad_window_action_select_font (GtkAction      *action,
 
       /* store the font in the preferences */
       MOUSEPAD_SETTING_SET_STRING (FONT_NAME, font_name);
+      /* stop using default font */
+      MOUSEPAD_SETTING_SET_BOOLEAN (USE_DEFAULT_FONT, FALSE);
 
       /* cleanup */
       g_free (font_name);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list