Already_Stop_message.py 1010 B

12345678910111213141516171819202122
  1. # this file is part from AIA
  2. # AIA is free software: you can redistribute it and/or modify
  3. # it under the terms of the GNU General Public License as published by
  4. # the Free Software Foundation, either version 3 of the License, or
  5. # (at your option) any later version.
  6. # AIA is distributed in the hope that it will be useful,
  7. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  8. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  9. # GNU General Public License for more details.
  10. # You should have received a copy of the GNU General Public License
  11. from gi.repository import Gtk
  12. import gettext
  13. import signal
  14. gettext.install("Already_Stop_message", "/usr/share/AIA/locale")
  15. signal.signal(signal.SIGINT, signal.SIG_DFL)
  16. Gtk.init(None)
  17. q=Gtk.MessageDialog(None, Gtk.DialogFlags.MODAL, Gtk.MessageType.INFO, Gtk.ButtonsType.OK, _("Screen Reader Already Disabled!"))
  18. q.format_secondary_text(_("Orca Screen Reader Autostart Running is Already Disabled."))
  19. q.run()