Browse Source

fixed HEAD check at GTK

epsylon 2 years ago
parent
commit
931b19964f
2 changed files with 5 additions and 5 deletions
  1. 2 2
      core/gtkcontroller.py
  2. 3 3
      gtk/xsser.ui

+ 2 - 2
core/gtkcontroller.py

@@ -1444,12 +1444,12 @@ class Controller(XSSerReporter):
             else:
                 command.append("-p")
                 command.append(target_entry.get_text())
-        # use checker system No-HEAD
+        # use checker system HEAD
         target_entry = self.wTree.get_object('no-head')
         if target_entry.get_active() == False:
             pass
         else:
-            command.append("--no-head")
+            command.append("--head")
         # use checker system HASH
         target_entry = self.wTree.get_object('hashing')
         if target_entry.get_active() == False:

+ 3 - 3
gtk/xsser.ui

@@ -913,11 +913,11 @@
                                         <property name="can_focus">False</property>
                                         <child>
                                           <object class="GtkCheckButton" id="no-head">
-                                            <property name="label" translatable="yes">No-HEAD</property>
+                                            <property name="label" translatable="yes">HEAD</property>
                                             <property name="visible">True</property>
                                             <property name="can_focus">True</property>
                                             <property name="receives_default">False</property>
-                                            <property name="tooltip_text" translatable="yes">NOT verify the stability of the url (codes: 200|302) with a HEAD pre-check request</property>
+                                            <property name="tooltip_text" translatable="yes">Verify the stability of the url (codes: 200|302) with a HEAD pre-check request</property>
                                             <property name="xalign">0</property>
                                             <property name="draw_indicator">True</property>
                                           </object>
@@ -932,7 +932,7 @@
                                           <object class="GtkLabel" id="label26">
                                             <property name="visible">True</property>
                                             <property name="can_focus">False</property>
-                                            <property name="label" translatable="yes">NOT send a HEAD request before start a test</property>
+                                            <property name="label" translatable="yes">Send a HEAD request before to start a test</property>
                                           </object>
                                           <packing>
                                             <property name="expand">False</property>