[gnotepad-users] Fix patch for 1.3.0
Brought to you by:
ackahn
From: Yoichi A. <ya...@ms...> - 2000-06-14 10:47:24
|
Hi, I found the "Sample Output" (that is in "Fonts and Colors" tab in the preferences panel) does not reflect font setting on the startup. This problem comes out when gnotepad+ is compiled with libglade. My solution is: --- src/prefs.c.orig Wed Apr 19 10:28:59 2000 +++ src/prefs.c Thu May 11 21:24:33 2000 @@ -2736,7 +2736,6 @@ #if defined(GTK_HAVE_FEATURES_1_1_0) && !defined(USE_LIBGLADE) /* update the prefs window's text widget and insert sample text */ - prefs_update_text_widget_style(prefs_txt); gtk_text_set_editable(GTK_TEXT(prefs_txt), FALSE); gtk_text_set_word_wrap(GTK_TEXT(prefs_txt), TRUE); gtk_widget_realize(prefs_txt); @@ -2747,6 +2746,7 @@ "1.2.x, but not 1.0.x.", -1); #endif + prefs_update_text_widget_style(prefs_txt); gtk_widget_show_all(prefs_win); gtk_events_flush(); --- Yoichi ASAI <ya...@ms...> |