diff --git a/gui/queue.c b/gui/queue.c
index 1c438d73..0370289f 100644
--- a/gui/queue.c
+++ b/gui/queue.c
@@ -49,13 +49,6 @@ void __queue_random(GtkToggleButton *button, gpointer data)
}
}
-void __queue_repeat(GtkToggleButton *button, gpointer data)
-{
- __queue_toggle_flag(gtk_toggle_button_get_active(button),
- gtk_button_get_image(GTK_BUTTON(button)),
- Q_REPEAT);
-}
-
static gboolean __queue_visible_func(GtkTreeModel *model, GtkTreeIter *iter,
gpointer data)
{
@@ -163,33 +156,27 @@ void gui_queue_free(struct queue *queue)
void gui_queue_show(struct gui_queue *queue)
{
GtkButton *random = GTK_BUTTON(gui_builder_widget("o_random"));
- GtkButton *repeat = GTK_BUTTON(gui_builder_widget("o_repeat"));
GtkEntry *search = GTK_ENTRY(gui_builder_widget("o_search"));
- bool has_random = false, has_repeat = false;
+ bool has_random = false;
gchar *text;
gq_queue = queue;
gtk_widget_set_sensitive(GTK_WIDGET(random), gui_queue_can_random(queue));
- gtk_widget_set_sensitive(GTK_WIDGET(repeat), gui_queue_can_repeat(queue));
if (queue) {
has_random = queue_has_flag(queue->gq_queue, Q_RANDOM);
- has_repeat = queue_has_flag(queue->gq_queue, Q_REPEAT);
gui_view_set_queue(queue->gq_queue);
} else
gui_view_set_queue(NULL);
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(random), has_random);
- gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(repeat), has_repeat);
/*
* Some GTK themes have trouble with toggle buttons,
* so let's help users know what the current state is.
*/
gtk_widget_set_sensitive(gtk_button_get_image(random), has_random);
- gtk_widget_set_sensitive(gtk_button_get_image(repeat), has_repeat);
-
gtk_widget_set_sensitive(GTK_WIDGET(search), queue != NULL);
if (queue && queue->gq_search) {
diff --git a/share/ocarina/ocarina6.glade b/share/ocarina/ocarina6.glade
index f815f04c..3bc7b44d 100644
--- a/share/ocarina/ocarina6.glade
+++ b/share/ocarina/ocarina6.glade
@@ -13,13 +13,6 @@
False
text-x-generic
-