Zim

Comment 6 for bug 291339

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Checked in daemon and tray icon code for the python branch. Now the "quit" item in the trayicon menu quits the whole program (so all windows + the background daemon) while "quit" in a single notebook only quits that specific notebook. Quiting the notebook windows one by one will really exit their processes, but keeps the daemon and tray icon running.

The tray icon has two different menus, one with open notebooks, which is trigger on mouse button 1, and one with all notebooks (as defined in the notebook list) triggered with mouse button 3. In the case there are no notebooks mouse button 1 also shows all notebooks. In the case there is only one open notebook mouse button 1 directly pops up that notebook.

( TODO: "close" for a single window is still wired directly to "quit", should hide the window instead when tray icon is in effect )

Not sure if this completely fulfills this request, does the current design allow for all use cases?