Esempio n. 1
0
 def show_files_cb(menu_item):
     print_d("Trying to show files...")
     if not show_songs(songs):
         msg = ErrorMessage(
             self.plugin_window, _("Unable to show files"),
             _("Error showing files, "
               "or no program available to show them."))
         msg.run()
Esempio n. 2
0
 def show_files_cb(menu_item):
     print_d("Trying to show files...")
     if not show_songs(songs):
         msg = ErrorMessage(self.plugin_window,
                      _("Unable to show files"),
                      _("Error showing files, "
                        "or no program available to show them."))
         msg.run()
Esempio n. 3
0
 def show_files_cb(menu_item):
     print_d("Trying to show files...")
     if not show_songs(songs):
         parent = get_menu_item_top_parent(menu_item)
         msg = ErrorMessage(
             parent, _("Unable to show files"),
             _("Error showing files, "
               "or no program available to show them."))
         msg.run()