Adjust timer to refresh ovirt foreign menu

This is a temporary solution, as discussed in the bug. We will adjust
the timer to refresh the ISO list from 15 seconds to 5 minutes (300
seconds), while reworking in the UI to replace the menu with a dialog,
which seems a saner way to display the list.

Resolves: rhbz#1347726

Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
This commit is contained in:
Eduardo Lima (Etrunko) 2016-06-29 16:40:36 -03:00
parent 271d33e7d8
commit 49f4b829ff

View File

@ -797,7 +797,7 @@ static void iso_list_fetched_cb(GObject *source_object,
ovirt_foreign_menu_set_files(OVIRT_FOREIGN_MENU(user_data), files);
g_list_free(files);
g_timeout_add_seconds(15, ovirt_foreign_menu_refresh_iso_list, user_data);
g_timeout_add_seconds(300, ovirt_foreign_menu_refresh_iso_list, user_data);
}