Package list lightdm-gtk-greeter-settings / e76009e
Missing import, force to show apply/reload icons in GtkHeader mode Andrew P. 7 years ago
2 changed file(s) with 8 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
155155 self.on_entry_changed = self.on_entry_changed_embedded
156156 self._widgets.content.reorder_child(self._widgets.infobar, 0)
157157 elif self.mode == WindowMode.GtkHeader:
158 self._widgets.buttons.remove(self._widgets.apply)
159 self._widgets.buttons.remove(self._widgets.reload)
158 for button in (self._widgets.apply, self._widgets.reload):
159 self._widgets.buttons.remove(button)
160 button.set_label('')
161 button.set_always_show_image(True)
160162 self._widgets.buttons.hide()
161 self._widgets.apply.set_label('')
162 self._widgets.reload.set_label('')
163163
164164 header = Gtk.HeaderBar()
165165 header.set_show_close_button(True)
1616
1717
1818 def main():
19 import argparse
20 import locale
21 import os
22
1923 from gi.repository import Gtk
2024 from lightdm_gtk_greeter_settings import helpers
2125 from lightdm_gtk_greeter_settings import GtkGreeterSettingsWindow
2226 from lightdm_gtk_greeter_settings.GtkGreeterSettingsWindow import WindowMode
2327
24 import argparse
25 import locale
2628 locale.textdomain('lightdm-gtk-greeter-settings')
2729
2830 parser = argparse.ArgumentParser(description='LightDM Gtk+ Greeter settings editor')