From c2867bbe0d901ac002c76691edddf513eb9c2e31 Mon Sep 17 00:00:00 2001 From: Quentin Date: Fri, 10 Jan 2014 11:35:05 +0100 Subject: [PATCH] deleted: README.md~ modified: c/CtrlCheckLinks.rb new file: fichier/dir/d/zz modified: v/VueResult.rb --- README.md~ | 11 ----------- c/CtrlCheckLinks.rb | 6 +++--- fichier/dir/d/zz | 4 ++++ fichier/haut.html | 21 +++++++++++++++++++++ fichier/haut.html~ | 21 +++++++++++++++++++++ v/VueResult.rb | 5 +++-- 6 files changed, 52 insertions(+), 16 deletions(-) delete mode 100644 README.md~ create mode 100644 fichier/dir/d/zz create mode 100644 fichier/haut.html create mode 100644 fichier/haut.html~ diff --git a/README.md~ b/README.md~ deleted file mode 100644 index 985491d..0000000 --- a/README.md~ +++ /dev/null @@ -1,11 +0,0 @@ -curling-g32 -========================================================================== -Projet Acsi Curling 2013-2014 - -Albert Jeremy, Aviles Adrien, Geoffrey Sentost, Quentin Rouland - -========================================================================== -Requiert : -* Gtk2 : gem install gtk2 -* net/ping : gem install net-ping - diff --git a/c/CtrlCheckLinks.rb b/c/CtrlCheckLinks.rb index dbf2c60..52d37b5 100644 --- a/c/CtrlCheckLinks.rb +++ b/c/CtrlCheckLinks.rb @@ -13,7 +13,7 @@ class CtrlCheckLinks def recupUrls(str) f = ReadFile.new(str) @urls = f.getUrls - self.vueResult(self.verifLiens(@urls)) + self.vueResult(self.verifLiens(@urls), str) end def recupUrlsDoss(str) @@ -45,8 +45,8 @@ class CtrlCheckLinks return resultats end - def vueResult(resultats) - v = VueResult.new(resultats) + def vueResult(resultats, nom) + v = VueResult.new(resultats, nom) v.getWindow.show_all Gtk.main diff --git a/fichier/dir/d/zz b/fichier/dir/d/zz new file mode 100644 index 0000000..6288b3d --- /dev/null +++ b/fichier/dir/d/zz @@ -0,0 +1,4 @@ +fdfsdjkfdjskljfldks https://www.google.fr fodfkljskljsd +dqdjqdjodzzd http://www.ndqjkdjqdkjz.com hdqhdkjqdqzdq +dqdqdkdpqzdd dqzdqzdkqlzndlkqdhqlkhdlkqhlkdkql djqlojdqkzjdmq +dqljdqjdmoljqdj http://www.a.com diff --git a/fichier/haut.html b/fichier/haut.html new file mode 100644 index 0000000..fdd372f --- /dev/null +++ b/fichier/haut.html @@ -0,0 +1,21 @@ + + + + + + + + Boutique Marchande sur le Web + + +
+

Boutique marchande

+
+ +
diff --git a/fichier/haut.html~ b/fichier/haut.html~ new file mode 100644 index 0000000..9296841 --- /dev/null +++ b/fichier/haut.html~ @@ -0,0 +1,21 @@ + + + + + + + + Boutique Marchande sur le Web + + +
+

Boutique marchande

+
+ +
diff --git a/v/VueResult.rb b/v/VueResult.rb index b370f9e..4e2db88 100644 --- a/v/VueResult.rb +++ b/v/VueResult.rb @@ -1,7 +1,7 @@ class VueResult - def initialize(liste_result) + def initialize(liste_result, nom) @window = Gtk::Window.new - @window.set_title('Resultats') + @window.set_title(nom) vb = Gtk::VBox.new(true, 6) vh = Gtk::HBox.new(false, 6) @@ -21,6 +21,7 @@ class VueResult def getWindow return @window end + def listenerDestroy @window.signal_connect('destroy') { @window.destroy