From 745108dc6dc8464abc5528d8f558faafcf60589a Mon Sep 17 00:00:00 2001 From: o9000 Date: Tue, 1 Mar 2016 22:08:08 +0100 Subject: [PATCH] tint2conf: Fix regression (launcher items from the config should not be sorted) --- src/tint2conf/properties.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tint2conf/properties.c b/src/tint2conf/properties.c index 3add56e..de0962f 100644 --- a/src/tint2conf/properties.c +++ b/src/tint2conf/properties.c @@ -2297,7 +2297,7 @@ void load_desktop_file(const char *file, gboolean selected) if (read_desktop_file(file, &entry)) { int index; gboolean stop = FALSE; - for (index = 0; !stop; index++) { + for (index = 0; !stop || selected; index++) { GtkTreePath *path = gtk_tree_path_new_from_indices(index, -1); GtkTreeIter iter; gboolean found = gtk_tree_model_get_iter(GTK_TREE_MODEL(store), &iter, path);