Commit 7be09db0 authored by segfault's avatar segfault
Browse files

Remove unused "Take a Tour" related code and UI elements from Greeter (refs: #17058)

parent eac209b1
......@@ -736,12 +736,6 @@ class GreeterMainWindow(Gtk.Window, TranslatableWindow):
headerbar_sizegroup.add_widget(self.button_start)
headerbar.pack_end(self.button_start)
# XXX-future: the button Take a tour is for phase 2
# button_tour = Gtk.Button.new_with_label(_("Take a Tour"))
# button_tour.connect('clicked', self.cb_button_tour_clicked)
# headerbar_sizegroup.add_widget(button_tour)
# headerbar.pack_end(button_tour)
headerbar.show_all()
return headerbar
......@@ -986,11 +980,6 @@ class GreeterMainWindow(Gtk.Window, TranslatableWindow):
self.persistent_storage.configure()
return False
def cb_button_tour_clicked(self, user_data=None):
# XXX-future: the button Take a tour is for phase 2
raise NotImplementedError
return False
def cb_button_storage_lock_clicked(self, widget, user_data=None):
self.persistent_storage.lock()
return False
......
......@@ -460,22 +460,6 @@
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="label_header_explanation">
<property name="can_focus">False</property>
<property name="label" translatable="yes" context="&quot;Take a Tour&quot; would be an assistant to guide the user through the available settings." comments="This string will never be displayed in the 1st version of the greeter.">To get guided through Tails' settings, click on &lt;b&gt;Take a Tour&lt;/b&gt; above</property>
<property name="use_markup">True</property>
<property name="justify">fill</property>
<property name="wrap">True</property>
<property name="lines">2</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">True</property>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment