|
Lines 294-299
main_menu_ui_new (PanelApplet *applet)
Link Here
|
| 294 |
|
294 |
|
| 295 |
bind_beagle_search_key (this); |
295 |
bind_beagle_search_key (this); |
| 296 |
update_limits (this); |
296 |
update_limits (this); |
|
|
297 |
|
| 298 |
tile_table_reload (priv->sys_table); |
| 297 |
select_page (this, TRUE); |
299 |
select_page (this, TRUE); |
| 298 |
apply_lockdown_settings (this); |
300 |
apply_lockdown_settings (this); |
| 299 |
|
301 |
|
|
Lines 1128-1133
select_page (MainMenuUI *this, gboolean set_page_selector_button)
Link Here
|
| 1128 |
} |
1130 |
} |
| 1129 |
|
1131 |
|
| 1130 |
gtk_notebook_set_current_page (priv->file_section, priv->notebook_page_ids [curr_page]); |
1132 |
gtk_notebook_set_current_page (priv->file_section, priv->notebook_page_ids [curr_page]); |
|
|
1133 |
|
| 1134 |
switch (curr_page) { |
| 1135 |
case APPS_PAGE: |
| 1136 |
tile_table_reload (priv->file_tables[USER_APPS_TABLE]); |
| 1137 |
tile_table_reload (priv->file_tables[RCNT_APPS_TABLE]); |
| 1138 |
break; |
| 1139 |
|
| 1140 |
case DOCS_PAGE: |
| 1141 |
tile_table_reload (priv->file_tables[USER_DOCS_TABLE]); |
| 1142 |
tile_table_reload (priv->file_tables[RCNT_DOCS_TABLE]); |
| 1143 |
break; |
| 1144 |
|
| 1145 |
case DIRS_PAGE: |
| 1146 |
tile_table_reload (priv->file_tables[USER_DIRS_TABLE]); |
| 1147 |
break; |
| 1148 |
|
| 1149 |
default: |
| 1150 |
g_assert_not_reached (); |
| 1151 |
} |
| 1131 |
} |
1152 |
} |
| 1132 |
|
1153 |
|
| 1133 |
static void |
1154 |
static void |
|
Lines 1514-1525
apply_lockdown_settings (MainMenuUI *this)
Link Here
|
| 1514 |
for (i = 0; i < 5; ++i) |
1535 |
for (i = 0; i < 5; ++i) |
| 1515 |
set_table_section_visible (this, priv->file_tables [i]); |
1536 |
set_table_section_visible (this, priv->file_tables [i]); |
| 1516 |
|
1537 |
|
| 1517 |
tile_table_reload (priv->sys_table); |
|
|
| 1518 |
tile_table_reload (priv->file_tables [USER_APPS_TABLE]); |
| 1519 |
tile_table_reload (priv->file_tables [RCNT_APPS_TABLE]); |
| 1520 |
tile_table_reload (priv->file_tables [USER_DOCS_TABLE]); |
| 1521 |
tile_table_reload (priv->file_tables [USER_DIRS_TABLE]); |
| 1522 |
|
| 1523 |
update_limits (this); |
1538 |
update_limits (this); |
| 1524 |
} |
1539 |
} |
| 1525 |
|
1540 |
|