size changes in dialog boxes

From: Raphael Finkel (raphael@cs.uky.edu)
Date: Tue Feb 11 2003 - 14:44:27 EST

  • Next message: sam th: "Re: size changes in dialog boxes"

    I get a terrible default gtk+ font for Yiddish, so I override that with a
    readable one by setting stuff in my .gtkrc-2.0 . But in one dialog box,
    AbiWord/Unix explicitly sets font size larger, and I get the old ugly font
    again (which happens to be smaller than my readable one). I would prefer that
    AbiWord not specify any font-size changes for dialog boxes. I have placed
    below the relevant patch to avoid this font-size change. If there is a better
    workaround, I would be glad to hear it.

    Raphael

    ---- patch follows

    --- xap_UnixDlg_MessageBox.cpp 24 Jan 2003 16:45:16 -0000 1.41
    +++ xap_UnixDlg_MessageBox.cpp 11 Feb 2003 19:42:06 -0000
    @@ -109,7 +109,7 @@
                            else
                                    separator =UT_String("\n\n");
     
    - labelText = UT_String_sprintf(labelText, "<span weight=\"bold\" size=\"larger\">%s</span>%s%s",
    + labelText = UT_String_sprintf(labelText, "%s%s%s",
                                                          m_szMessage, separator.c_str(), m_szSecondaryMessage);
     
                            gtk_label_set_markup(GTK_LABEL(label), labelText.c_str());



    This archive was generated by hypermail 2.1.4 : Tue Feb 11 2003 - 14:48:25 EST