Prefs: in startup dir pref, replace Entry by FileSelector 35/13935/2
Calixte DENIZET [Thu, 6 Mar 2014 14:32:39 +0000 (15:32 +0100)]
Change-Id: I63d1684da249adeb1dc8fb17e48ba0fb7c09a664

scilab/modules/console/etc/XConfiguration-general.xsl

index bd317f9..90bbdcc 100644 (file)
                     </actionPerformed>
                 </Radiobutton>
                 
-                <Entry gridx="2" gridy="3" weightx="1" anchor="above_baseline"
-                       listener="EntryListener"
-                       text="{@default}">
+                <FileSelector gridx="2" gridy="3" weightx="1" anchor="above_baseline"
+                              listener="EntryListener"
+                              href="{@default}"
+                              desc="_(Default startup directory)"
+                              dir-selection="true"
+                              check-entry="true">
                     <xsl:attribute name="enable">
                         <xsl:if test="@use='default'">
                             <xsl:text>true</xsl:text>
                     <entryChanged choose="default">
                         <xsl:call-template name="context"/>
                     </entryChanged>
-                </Entry>
+                </FileSelector>
             </Grid>
         </Title>
     </xsl:template>