refactor: migrate globalmenu implementation to src/window/globalmenu and adjust documentation paths
This commit is contained in:
2 files changed
+4
-4
No files matched your search
@@ -78,9 +78,9 @@ Python DBus polling is too slow, so Modus uses a C-extension at
|
||||
macOS-style menu bar in the top panel.
|
||||
|
||||
- Apps export menus over `com.canonical.dbusmenu` DBus
|
||||
- Custom C shim (`src/globalmenu/libmenu_button_shim.c`) forces GTK apps to
|
||||
- Custom C shim (`src/window/globalmenu/libmenu_button_shim.c`) forces GTK apps to
|
||||
export menus even if they weren't designed to
|
||||
- Python daemon (`src/globalmenu/service.py`) listens for exported menus and
|
||||
- Python daemon (`src/window/globalmenu/service.py`) listens for exported menus and
|
||||
renders them as Fabric widgets in the panel
|
||||
|
||||
## 5. State Management & Services
|
||||
|
||||
@@ -45,9 +45,9 @@ If you prefer to install dependencies and compile the extensions manually:
|
||||
|
||||
4. **Compile the Global Menu Shim:**
|
||||
```bash
|
||||
cd src/globalmenu
|
||||
cd src/window/globalmenu
|
||||
gcc -shared -fPIC -O2 -o libmenu_button_shim.so libmenu_button_shim.c $(pkg-config --cflags --libs gtk+-3.0) -ldl
|
||||
cd ../..
|
||||
cd ../../..
|
||||
```
|
||||
|
||||
5. **Start Modus:**
|
||||
|
||||
Reference in new issue
Block a user