tint2conf: Fix regression (launcher items from the config should not be sorted)
This commit is contained in:
parent
448feae732
commit
745108dc6d
1 changed files with 1 additions and 1 deletions
|
@ -2297,7 +2297,7 @@ void load_desktop_file(const char *file, gboolean selected)
|
||||||
if (read_desktop_file(file, &entry)) {
|
if (read_desktop_file(file, &entry)) {
|
||||||
int index;
|
int index;
|
||||||
gboolean stop = FALSE;
|
gboolean stop = FALSE;
|
||||||
for (index = 0; !stop; index++) {
|
for (index = 0; !stop || selected; index++) {
|
||||||
GtkTreePath *path = gtk_tree_path_new_from_indices(index, -1);
|
GtkTreePath *path = gtk_tree_path_new_from_indices(index, -1);
|
||||||
GtkTreeIter iter;
|
GtkTreeIter iter;
|
||||||
gboolean found = gtk_tree_model_get_iter(GTK_TREE_MODEL(store), &iter, path);
|
gboolean found = gtk_tree_model_get_iter(GTK_TREE_MODEL(store), &iter, path);
|
||||||
|
|
Loading…
Reference in a new issue