tint2conf: Fix regression (launcher items from the config should not be sorted)

This commit is contained in:
o9000 2016-03-01 22:08:08 +01:00
parent 448feae732
commit 745108dc6d

View file

@ -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);