abiosoft / abiosoft/launchar

Question about your code

Đang mở
#2 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Vala
Star
11
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

I really like the launcher that you made. Right now, I am making [my own](https://github.com/ancientstraits/octo-desktop-environment). However, I want to know how you alphabetized the entries in Launchar. I am trying to understand the code, but it is kind of hard, since I have never used classes in my whole life.

On C, I tried making a for loop to print the display names of each .desktop file (for my app launcher, I just created a button instead of printing):

```
GList *l;
while (l = g_app_info_get_all(), l != NULL, l = l->next){
printf("%s\n", g_app_info_get_display name())
}
```

However, I do not get results in alphabetical order, while Launchar does. Do you know how to alphabetize the entries? I am thinking of storing everything in a 2D char array, then sorting it. Is that what you did?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.