Jean-Marc Lasgouttes wrote:
>>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
>
> Angus> Bo Peng wrote:
>>> Dear developers,
>>>
>>> It took me a while to set up instant preview on solaris. One
>>> problem is that my grep does not have -E option so
>>>
>>> grep -E 'Preview: [ST]' ${LOGFILE} > ${METRICSFILE} || would fail.
>>> Deleting -E solves the problem.
>
> Angus> Fair enough. There's nothing very extended about that regular
> Angus> expression.
>
> Angus> Jean-Marc, patch attached. It works perfectly for me.
>
> Thanks. Can you apply it?
Done.
> Also, did your patch for having OK be the default button for
> printing dialog ever get applied to 1.3.x?
Apparently not. I can confirm that the attached patch works. Shall I
apply it?
--
Angus
--- 13x/src/frontends/qt2/ui/QPrintDialogBase.ui 2003-01-23 16:23:40.000000000 +0000
+++ devel/src/frontends/qt2/ui/QPrintDialogBase.ui 2004-03-31 12:31:47.000000000 +0100
@@ -13,7 +13,7 @@
<rect>
<x>0</x>
<y>0</y>
- <width>407</width>
+ <width>403</width>
<height>454</height>
</rect>
</property>
@@ -346,6 +346,14 @@
<name>text</name>
<string>&Print</string>
</property>
+ <property stdset="1">
+ <name>autoDefault</name>
+ <bool>false</bool>
+ </property>
+ <property stdset="1">
+ <name>default</name>
+ <bool>true</bool>
+ </property>
</widget>
<widget>
<class>QPushButton</class>
@@ -358,8 +366,12 @@
<string>Close</string>
</property>
<property stdset="1">
+ <name>autoDefault</name>
+ <bool>false</bool>
+ </property>
+ <property stdset="1">
<name>default</name>
- <bool>true</bool>
+ <bool>false</bool>
</property>
</widget>
</hbox>