From 60baa390088daa878d0d464450d36083088ac942 Mon Sep 17 00:00:00 2001 From: Allan Rae Date: Mon, 25 Sep 2000 06:35:42 +0000 Subject: [PATCH] resize Preferences to stop segfault. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1036 a592a061-630c-0410-9148-cb99ea01b6c8 --- ChangeLog | 3 +++ src/frontends/xforms/form_preferences.C | 6 +++--- src/frontends/xforms/forms/form_preferences.fd | 6 +++--- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7d4c54ba70..7b2cc35fe0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2000-09-25 Allan Rae + * src/frontends/xforms/forms/form_preferences.fd: resize to stop + segfault. This will be completely redesigned soon. + * sigc++: updated libsigc++. Fixes struct timespec bug. * development/tools/makeLyXsigc.sh: .cvsignore addition diff --git a/src/frontends/xforms/form_preferences.C b/src/frontends/xforms/form_preferences.C index 41a2ab478c..476fa18a71 100644 --- a/src/frontends/xforms/form_preferences.C +++ b/src/frontends/xforms/form_preferences.C @@ -360,9 +360,9 @@ FD_form_preferences * FormPreferences::build_preferences() FL_OBJECT *obj; FD_form_preferences *fdui = new FD_form_preferences; - fdui->form = fl_bgn_form(FL_NO_BOX, 475, 435); + fdui->form = fl_bgn_form(FL_NO_BOX, 625, 435); fdui->form->u_vdata = this; - obj = fl_add_box(FL_UP_BOX, 0, 0, 475, 435, ""); + obj = fl_add_box(FL_UP_BOX, 0, 0, 625, 435, ""); fdui->button_apply = obj = fl_add_button(FL_NORMAL_BUTTON, 275, 395, 90, 30, idex(_("Apply|#A"))); fl_set_button_shortcut(obj, scex(_("Apply|#A")), 1); fl_set_object_lsize(obj, FL_NORMAL_SIZE); @@ -374,7 +374,7 @@ FD_form_preferences * FormPreferences::build_preferences() fdui->button_ok = obj = fl_add_button(FL_RETURN_BUTTON, 175, 395, 90, 30, _("Save")); fl_set_object_lsize(obj, FL_NORMAL_SIZE); fl_set_object_callback(obj, C_FormPreferencesOKCB, 0); - fdui->tabfolder_prefs = obj = fl_add_tabfolder(FL_TOP_TABFOLDER, 5, 5, 450, 385, ""); + fdui->tabfolder_prefs = obj = fl_add_tabfolder(FL_TOP_TABFOLDER, 5, 5, 585, 385, ""); fl_set_object_boxtype(obj, FL_FLAT_BOX); fdui->button_restore = obj = fl_add_button(FL_NORMAL_BUTTON, 10, 395, 90, 30, idex(_("Restore|#R"))); fl_set_button_shortcut(obj, scex(_("Restore|#R")), 1); diff --git a/src/frontends/xforms/forms/form_preferences.fd b/src/frontends/xforms/forms/form_preferences.fd index fd3931392e..3b1c53e9dc 100644 --- a/src/frontends/xforms/forms/form_preferences.fd +++ b/src/frontends/xforms/forms/form_preferences.fd @@ -1239,14 +1239,14 @@ argument: =============== FORM =============== Name: form_preferences -Width: 475 +Width: 625 Height: 435 Number of Objects: 6 -------------------- class: FL_BOX type: UP_BOX -box: 0 0 475 435 +box: 0 0 625 435 boxtype: FL_UP_BOX colors: FL_COL1 FL_COL1 alignment: FL_ALIGN_CENTER @@ -1318,7 +1318,7 @@ argument: 0 -------------------- class: FL_TABFOLDER type: TOP_TABFOLDER -box: 5 5 450 385 +box: 5 5 585 385 boxtype: FL_FLAT_BOX colors: FL_COL1 FL_COL1 alignment: FL_ALIGN_TOP_LEFT