Lars Gullik Bjønnes wrote:
> [EMAIL PROTECTED] (Lars Gullik Bjønnes)
> writes:
>
> | This is what it looks like simplifed and rewritten to use
> | boost.filesystem.
>>
> | I have not changed the visual apparence of the dialog, so there are
> | one widget too many on it currently (unused).
>
> Just a note that the now unused widget really should be removed... but
> as I am not a frontend person I am not going to do it.
>
> (Unless it means editing the .fd file by hand that is... but I have
> heard that can be somewhat errorprone.)
You lazy bum ;-)
Actually, editing the .fd file by hand is trivially easy; you just need to
change "Number Of Objects" too. In fact, that's exactly what I did
(attached) although I subsequently fired up fdesign to resize the dialog
too.
Committing now...
--
Angus
? src/frontends/xforms/1.4-XFormsView.C
? src/frontends/xforms/1.4-XWorkArea.C
? src/frontends/xforms/1.4-XWorkArea.h
? src/frontends/xforms/1.4-bmtable.c
? src/frontends/xforms/1.4-bmtable.h
? src/frontends/xforms/form_filedialog.c
? src/frontends/xforms/form_filedialog.h
Index: src/frontends/xforms//ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/xforms/ChangeLog,v
retrieving revision 1.978
diff -u -p -r1.978 ChangeLog
--- src/frontends/xforms//ChangeLog 21 Feb 2005 10:30:11 -0000 1.978
+++ src/frontends/xforms//ChangeLog 2 Mar 2005 08:54:07 -0000
@@ -1,3 +1,8 @@
+2005-03-02 Angus Leeming <[EMAIL PROTECTED]>
+
+ * forms/form_filedialog.fd: do Lars' dirty work for him and remove
+ the unused FileInfo widget.
+
2005-02-18 Michael Schmitt <[EMAIL PROTECTED]>
* FormRef.C:
Index: src/frontends/xforms//forms/form_filedialog.fd
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/xforms/forms/form_filedialog.fd,v
retrieving revision 1.2
diff -u -p -r1.2 form_filedialog.fd
--- src/frontends/xforms//forms/form_filedialog.fd 12 Sep 2002 09:07:58 -0000 1.2
+++ src/frontends/xforms//forms/form_filedialog.fd 2 Mar 2005 08:54:08 -0000
@@ -10,13 +10,13 @@ SnapGrid: 5
=============== FORM ===============
Name: form_filedialog
Width: 370
-Height: 310
-Number of Objects: 13
+Height: 275
+Number of Objects: 12
--------------------
class: FL_BOX
type: FLAT_BOX
-box: 0 0 370 310
+box: 0 0 370 275
boxtype: FL_FLAT_BOX
colors: FL_COL1 FL_COL1
alignment: FL_ALIGN_CENTER
@@ -32,24 +32,6 @@ callback:
argument:
--------------------
-class: FL_TEXT
-type: NORMAL_TEXT
-box: 5 205 360 25
-boxtype: FL_SHADOW_BOX
-colors: FL_COL1 FL_MCOL
-alignment: FL_ALIGN_LEFT|FL_ALIGN_INSIDE
-style: FL_NORMAL_STYLE
-size: FL_DEFAULT_SIZE
-lcol: FL_BLACK
-label:
-shortcut:
-resize: FL_RESIZE_X
-gravity: FL_SouthWest FL_SouthEast
-name: FileInfo
-callback:
-argument:
-
---------------------
class: FL_INPUT
type: NORMAL_INPUT
box: 100 10 265 25
@@ -106,7 +88,7 @@ argument:
--------------------
class: FL_INPUT
type: NORMAL_INPUT
-box: 90 245 275 25
+box: 90 210 275 25
boxtype: FL_DOWN_BOX
colors: FL_COL1 FL_MCOL
alignment: FL_ALIGN_LEFT
@@ -196,7 +178,7 @@ argument:
--------------------
class: FL_BUTTON
type: RETURN_BUTTON
-box: 180 280 90 25
+box: 180 245 90 25
boxtype: FL_UP_BOX
colors: FL_COL1 FL_COL1
alignment: FL_ALIGN_CENTER
@@ -214,7 +196,7 @@ argument:
--------------------
class: FL_BUTTON
type: NORMAL_BUTTON
-box: 275 280 90 25
+box: 275 245 90 25
boxtype: FL_UP_BOX
colors: FL_COL1 FL_COL1
alignment: FL_ALIGN_CENTER