[Xfce4-commits] <mousepad:master> Use monospace font by default, using the system default size

Matthew Brush noreply at xfce.org
Sat May 5 21:32:07 CEST 2012


Updating branch refs/heads/master
         to 75d0fbb5e30af2b9e94700c55be9289e77a4d3d1 (commit)
       from f4e0ab82dc019b13f2167dabadb67d9cfd16ab2c (commit)

commit 75d0fbb5e30af2b9e94700c55be9289e77a4d3d1
Author: Matthew Brush <matt at xfce.org>
Date:   Sat Mar 31 13:59:16 2012 -0700

    Use monospace font by default, using the system default size
    
    Closes bug #2720 which was previously addressed by not setting the
    default font at all, but this usually ends up using a non-monospaced
    font, which is probably not a good default for a plain text editor.

 mousepad/mousepad-preferences.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/mousepad/mousepad-preferences.c b/mousepad/mousepad-preferences.c
index 740b281..90a84d6 100644
--- a/mousepad/mousepad-preferences.c
+++ b/mousepad/mousepad-preferences.c
@@ -180,7 +180,7 @@ mousepad_preferences_class_init (MousepadPreferencesClass *klass)
                                    g_param_spec_string ("view-font-name",
                                                         "ViewFontName",
                                                         NULL,
-                                                        NULL,
+                                                        "Monospace",
                                                         MOUSEPAD_PARAM_READWRITE));
 
   g_object_class_install_property (gobject_class,


More information about the Xfce4-commits mailing list