new file: "doc/Sprint2/Capture d'\303\251cran de 2014-01-10 12:04:57.png"

new file:   "doc/Sprint2/Capture d'\303\251cran de 2014-01-10 12:05:16.png"
	new file:   "doc/Sprint2/Capture d'\303\251cran de 2014-01-10 12:06:15.png"
	new file:   "doc/Sprint2/Capture d'\303\251cran de 2014-01-10 12:06:21.png"
	new file:   "doc/Sprint2/Capture d'\303\251cran de 2014-01-10 12:06:23.png"
	new file:   "doc/Sprint2/Capture d'\303\251cran de 2014-01-10 12:11:29.png"
	renamed:    fichier/dir/d/zz -> fichier/dir/zz
This commit is contained in:
Quentin
2014-01-10 12:14:04 +01:00
parent c2867bbe0d
commit 6672112230
11 changed files with 21 additions and 39 deletions

View File

@ -66,23 +66,26 @@ class Vue1
Gtk::MessageDialog::ERROR,
Gtk::MessageDialog::BUTTONS_CLOSE,
"Erreur : Veuillez saisir un fichier ou dossier !")
m.run
m.destroy
m.run
m.destroy
else
@chaine = "../fichier/" + @chaine
if(File.directory?(@chaine))
@ctrl.recupUrlsDoss(@chaine)
@ctrl.recupUrlsDoss(@chaine)
else
if(File.exist?(@chaine))
@ctrl.recupUrls(@chaine)
else
d = Gtk::MessageDialog.new(Gtk::Window.new, Gtk::Dialog::DESTROY_WITH_PARENT,
Gtk::MessageDialog::ERROR,
Gtk::MessageDialog::BUTTONS_CLOSE,
"Erreur : Fichier ou dossier inexistant !")
d.run
d.destroy
end
if(File.exist?(@chaine))
@ctrl.recupUrls(@chaine)
else
d = Gtk::MessageDialog.new(Gtk::Window.new, Gtk::Dialog::DESTROY_WITH_PARENT,
Gtk::MessageDialog::ERROR,
Gtk::MessageDialog::BUTTONS_CLOSE,
"Erreur : Fichier ou dossier inexistant !")
d.run
d.destroy
end
end
end
}

View File

@ -1,4 +1,4 @@
class VueResult
class VueResult
def initialize(liste_result, nom)
@window = Gtk::Window.new
@window.set_title(nom)