conductor(plan): Mark task 2.1 complete, begin 2.2 — b0f5a5c
This commit is contained in:
@@ -32,13 +32,13 @@ Focus: Delete the two confirmed dead code blocks — no behavior change, pure de
|
||||
## Phase 2: Menu Bar Consolidation
|
||||
Focus: Remove the dead inline menubar block and add a working Quit item to `_show_menus`.
|
||||
|
||||
- [ ] Task 2.1: Delete the dead `begin_main_menu_bar()` block from `_gui_func`.
|
||||
- [x] Task 2.1: Delete the dead `begin_main_menu_bar()` block from `_gui_func`. b0f5a5c
|
||||
- **Location**: `gui_2.py` lines 1679-1705 (the comment `# ---- Menubar` through `imgui.end_main_menu_bar()`). Use `get_file_slice(1676, 1712)` to confirm exact boundaries before editing.
|
||||
- **What**: Delete the `# ---- Menubar` comment line and the entire `if imgui.begin_main_menu_bar(): ... imgui.end_main_menu_bar()` block (~27 lines total). The `# --- Hubs ---` comment and hub rendering that follows must be preserved.
|
||||
- **How**: Use `set_file_slice` to replace lines 1679-1705 with a single blank line.
|
||||
- **Verify**: `grep -n "begin_main_menu_bar" gui_2.py` returns 0 hits.
|
||||
|
||||
- [ ] Task 2.2: Add working "Quit" to `_show_menus`.
|
||||
- [~] Task 2.2: Add working "Quit" to `_show_menus`.
|
||||
- **Location**: `gui_2.py` `_show_menus` method (lines 1620-1647 — confirm with `py_get_definition`).
|
||||
- **What**: Before the existing `if imgui.begin_menu("Windows"):` line, insert:
|
||||
```python
|
||||
|
||||
Reference in New Issue
Block a user