modified: doc/rdoc/Vue1.html
modified: doc/rdoc/created.rid modified: doc/rdoc/v/Vue1_rb.html modified: doc/rdoc/v/VueMenu_rb.html
This commit is contained in:
parent
1a4096fd82
commit
3c3fa4cad0
@ -264,7 +264,16 @@ vue</p>
|
||||
<span class="ruby-ivar">@ctrl</span>.<span class="ruby-identifier">recupUrlsDoss</span>(<span class="ruby-ivar">@chaine</span>)
|
||||
<span class="ruby-keyword">else</span>
|
||||
<span class="ruby-keyword">if</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">exist?</span>(<span class="ruby-ivar">@chaine</span>)) <span class="ruby-comment">#si c'est un fichier -> existant utilisation du controleur adéquat</span>
|
||||
<span class="ruby-keyword">if</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">extname</span>(<span class="ruby-ivar">@chaine</span>)<span class="ruby-operator">==</span> <span class="ruby-string">".txt"</span> <span class="ruby-operator">||</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">extname</span>(<span class="ruby-ivar">@chaine</span>)<span class="ruby-operator">==</span> <span class="ruby-string">".html"</span> )
|
||||
<span class="ruby-ivar">@ctrl</span>.<span class="ruby-identifier">recupUrls</span>(<span class="ruby-ivar">@chaine</span>)
|
||||
<span class="ruby-keyword">else</span>
|
||||
<span class="ruby-identifier">i</span> = <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">MessageDialog</span>.<span class="ruby-identifier">new</span>(<span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">Window</span>.<span class="ruby-identifier">new</span>, <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">Dialog</span><span class="ruby-operator">::</span><span class="ruby-constant">DESTROY_WITH_PARENT</span>,
|
||||
<span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">MessageDialog</span><span class="ruby-operator">::</span><span class="ruby-constant">ERROR</span>,
|
||||
<span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">MessageDialog</span><span class="ruby-operator">::</span><span class="ruby-constant">BUTTONS_CLOSE</span>,
|
||||
<span class="ruby-string">"Erreur : fichier extension invalide !"</span>)
|
||||
<span class="ruby-identifier">i</span>.<span class="ruby-identifier">run</span>
|
||||
<span class="ruby-identifier">i</span>.<span class="ruby-identifier">destroy</span>
|
||||
<span class="ruby-keyword">end</span>
|
||||
<span class="ruby-keyword">else</span> <span class="ruby-comment">#gestion saisie invalide</span>
|
||||
<span class="ruby-identifier">d</span> = <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">MessageDialog</span>.<span class="ruby-identifier">new</span>(<span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">Window</span>.<span class="ruby-identifier">new</span>, <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">Dialog</span><span class="ruby-operator">::</span><span class="ruby-constant">DESTROY_WITH_PARENT</span>,
|
||||
<span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">MessageDialog</span><span class="ruby-operator">::</span><span class="ruby-constant">ERROR</span>,
|
||||
|
@ -1,10 +1,10 @@
|
||||
Fri, 17 Jan 2014 09:17:21 +0100
|
||||
Fri, 17 Jan 2014 10:44:48 +0100
|
||||
./m/ReadFile.rb Fri, 17 Jan 2014 09:15:38 +0100
|
||||
./c/Main.rb Fri, 17 Jan 2014 09:15:20 +0100
|
||||
./c/hello.rb Fri, 20 Dec 2013 08:13:20 +0100
|
||||
./c/CtrlCheckLinks.rb Fri, 17 Jan 2014 09:14:28 +0100
|
||||
./c/CtrlHistoLink.rb Fri, 17 Jan 2014 09:14:51 +0100
|
||||
./v/Vue1.rb Fri, 17 Jan 2014 09:16:01 +0100
|
||||
./v/Vue1.rb Fri, 17 Jan 2014 10:42:05 +0100
|
||||
./v/VueHisto.rb Fri, 17 Jan 2014 09:16:27 +0100
|
||||
./v/VueResult.rb Fri, 17 Jan 2014 09:17:09 +0100
|
||||
./v/VueMenu.rb Fri, 17 Jan 2014 09:16:56 +0100
|
||||
./v/VueMenu.rb Fri, 17 Jan 2014 09:28:54 +0100
|
||||
|
@ -24,7 +24,7 @@
|
||||
<div id="metadata">
|
||||
<dl>
|
||||
<dt class="modified-date">Last Modified</dt>
|
||||
<dd class="modified-date">2014-01-17 09:16:01 +0100</dd>
|
||||
<dd class="modified-date">2014-01-17 10:42:05 +0100</dd>
|
||||
|
||||
|
||||
<dt class="requires">Requires</dt>
|
||||
|
@ -24,7 +24,7 @@
|
||||
<div id="metadata">
|
||||
<dl>
|
||||
<dt class="modified-date">Last Modified</dt>
|
||||
<dd class="modified-date">2014-01-17 09:16:56 +0100</dd>
|
||||
<dd class="modified-date">2014-01-17 09:28:54 +0100</dd>
|
||||
|
||||
|
||||
<dt class="requires">Requires</dt>
|
||||
|
Reference in New Issue
Block a user