Rev 6177 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6177 | Rev 6192 | ||
---|---|---|---|
Line 116... | Line 116... | ||
116 | { |
116 | { |
117 | int tmp, |
117 | int tmp, |
118 | icon_id, |
118 | icon_id, |
119 | icon_char_pos; |
119 | icon_char_pos; |
Line -... | Line 120... | ||
- | 120 | ||
- | 121 | //do not show items located in /kolibrios/ if this directory not mounted |
|
- | 122 | if (!strncmp(key_value, "/kolibrios/", 11)) && (!kolibrios_mounted) return true; |
|
120 | 123 | ||
121 | if (col==list.column_max) { |
124 | if (col==list.column_max) { |
122 | row++; |
125 | row++; |
123 | col=0; |
126 | col=0; |
Line 124... | Line -... | ||
124 | } |
- | |
125 | - | ||
126 | //do not show items located in /kolibrios/ if this directory not mounted |
- | |
127 | if (!strncmp(key_value, "/kolibrios/", 11)) && (!kolibrios_mounted) return true; |
127 | } |
128 | 128 | ||
129 | if (col==0) DrawBar(0, row * list.item_h + list_pos, Form.cwidth, list.item_h, LIST_BACKGROUND_COLOR); |
129 | if (col==0) DrawBar(0, row * list.item_h + list_pos, Form.cwidth, list.item_h, LIST_BACKGROUND_COLOR); |
Line 130... | Line 130... | ||
130 | DefineButton(col*list.item_w+6, row*list.item_h + list_pos,list.item_w,list.item_h-5,list.count + 100 + BT_HIDE,0); |
130 | DefineButton(col*list.item_w+6, row*list.item_h + list_pos,list.item_w,list.item_h-5,list.count + 100 + BT_HIDE,0); |