- gchar *rcstyle = g_strdup_printf("style \"geanyvc-diff-font\"\n"
- "{\n"
- " font_name=\"%s\"\n"
- "}\n"
- "widget \"*.GeanyVCCommitDialogDiff\" style \"geanyvc-diff-font\"",
- geany_data->interface_prefs->editor_font);
-
- gtk_rc_parse_string(rcstyle);
- g_free(rcstyle);
-
....
textDiff = gtk_text_view_new();
- gtk_widget_set_name(textDiff, "GeanyVCCommitDialogDiff");
+ ui_widget_modify_font_from_string(textDiff, geany_data->interface_prefs->editor_font);
Left this out - the font family and size were not the same for me after this.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/pull/1415/c2686001456@github.com>
- gchar *rcstyle = g_strdup_printf("style \"geanyvc-diff-font\"\n"
- "{\n"
- " font_name=\"%s\"\n"
- "}\n"
- "widget \"*.GeanyVCCommitDialogDiff\" style \"geanyvc-diff-font\"",
- geany_data->interface_prefs->editor_font);
-
- gtk_rc_parse_string(rcstyle);
- g_free(rcstyle);
-
....
textDiff = gtk_text_view_new();
- gtk_widget_set_name(textDiff, "GeanyVCCommitDialogDiff");
+ ui_widget_modify_font_from_string(textDiff, geany_data->interface_prefs->editor_font);
Left this out - the font family and size were not the same for me after this.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/pull/1415/c2686001456@github.com>