Lines Matching refs:file_dialog

565         rc = self.file_dialog.run()
566 self.file_dialog.hide()
569 for i in self.file_dialog.get_filenames():
575 self.file_dialog.set_select_multiple(0)
576 self.file_dialog.set_title(_("Select executable file to be confined."))
577 self.file_dialog.set_action(Gtk.FileChooserAction.OPEN)
578 self.file_dialog.set_current_folder("/usr/sbin")
579 rc = self.file_dialog.run()
580 self.file_dialog.hide()
583 self.exec_entry.set_text(self.file_dialog.get_filename())
586 self.file_dialog.set_select_multiple(0)
587 self.file_dialog.set_title(_("Select init script file to be confined."))
588 self.file_dialog.set_action(Gtk.FileChooserAction.OPEN)
589 self.file_dialog.set_current_folder("/etc/rc.d/init.d")
590 rc = self.file_dialog.run()
591 self.file_dialog.hide()
594 self.init_script_entry.set_text(self.file_dialog.get_filename())
597 self.file_dialog.set_title(_("Select file(s) that confined application creates or writes"))
598 self.file_dialog.set_current_folder("/")
599 self.file_dialog.set_action(Gtk.FileChooserAction.OPEN)
600 self.file_dialog.set_select_multiple(1)
604 …self.file_dialog.set_title(_("Select directory(s) that the confined application owns and writes in…
605 self.file_dialog.set_current_folder("/")
606 self.file_dialog.set_select_multiple(1)
607 self.file_dialog.set_action(Gtk.FileChooserAction.SELECT_FOLDER)
656 self.file_dialog = self.xml.get_object("filechooserdialog")
666 self.file_dialog.set_title(_("Select directory to generate policy files in"))
667 self.file_dialog.set_action(Gtk.FileChooserAction.SELECT_FOLDER)
668 self.file_dialog.set_select_multiple(0)
669 rc = self.file_dialog.run()
670 self.file_dialog.hide()
673 self.output_entry.set_text(self.file_dialog.get_filename())