Commit Graph

130 Commits

Author SHA1 Message Date
Kevin Lange
ba5bff2455 Fix Panel not responding properly to focus change
Because window advertisements use yutani_wait_for, we need to actually
loop over yutani_poll() until the queue reports that it is empty,
otherwise, we'll fall into fswait - and since we've already read (and
buffered) some calls we haven't processed, nothing will happen until
either another event is delivered or the timeout occurs. This was
causing the panel to sometimes just not respond to a click because the
click was delivered during window advertisements, so we wouldn't process
it ever, since we didn't read the queue on a timeout.
2017-01-26 19:17:03 +09:00
Kevin Lange
63d5dd8d91 fix terminal and panel not updating timer-based things on other events 2017-01-26 18:57:28 +09:00
Kevin Lange
fafc608e63 Add a new Python/Cairo clock widget 2017-01-26 18:28:05 +09:00
Kevin Lange
318d6359aa Add a binding for yutani_window_drag_start 2017-01-26 18:27:48 +09:00
Kevin Lange
32c83f2034 Hack in some support for getting cairo fonts from Toaru/Freetype faces 2017-01-26 18:27:27 +09:00
Kevin Lange
9c8cef219d Fix offset button clicks in Mines 2017-01-26 16:43:38 +09:00
Kevin Lange
fe0023abcd Move input_box to libs 2017-01-26 16:35:21 +09:00
Kevin Lange
2ebde54671 Remove the compositor timer signal 2017-01-26 15:58:50 +09:00
Kevin Lange
4920742547 Basic text input box (beta) and other GUI improvements 2017-01-24 21:51:43 +09:00
Kevin Lange
42287e1451 Add an update check tool 2017-01-23 23:00:20 +09:00
Kevin Lange
1156fe1f09 Make dialog cancel more configurable 2017-01-23 22:40:51 +09:00
Kevin Lange
1b57ac0591 Support URL references, poorly, in help browser 2017-01-23 22:40:25 +09:00
Kevin Lange
71713a3506 fix other users of messages 2017-01-22 18:52:52 +09:00
Kevin Lange
f717b94a06 Fix missing resource management for yutani messages 2017-01-22 18:48:42 +09:00
Kevin Lange
bd50318026 Swap Okay/Cancel button order. 2017-01-21 20:32:44 +09:00
Kevin Lange
9e4634b19c Check volume every so often in case it changed in another app 2017-01-21 16:51:00 +09:00
Kevin Lange
c0be13e697 Fix Alt+F4 handling in python mainloop 2017-01-21 16:20:33 +09:00
Kevin Lange
8b9bf53731 Also report DNS server 2017-01-21 12:42:53 +09:00
Kevin Lange
a3a5c7695e Network status widget 2017-01-21 12:35:12 +09:00
Kevin Lange
c6db1fe139 Update popover for date/clock to be a calendar 2017-01-21 12:35:05 +09:00
Kevin Lange
e6de18a412 Handle missing audio device, poorly 2017-01-20 20:17:18 +09:00
Kevin Lange
db79e63e58 Fix audio levels on AC'97 (VirtualBox) 2017-01-20 19:25:58 +09:00
Kevin Lange
a74bebae62 Panel widget cleanup / improvements 2017-01-20 18:03:15 +09:00
Kevin Lange
f1740614ba Visual and functional improvements to OpenFileDialog 2017-01-20 15:17:46 +09:00
Kevin Lange
8864ad568e Don't use caches for ext2 packages 2017-01-20 14:23:50 +09:00
Kevin Lange
7ae2dc17c1 Mediocre file open dialog 2017-01-19 19:45:46 +09:00
Kevin Lange
bd3ec90cb8 Use pdfviewer.py to open PDFs if it exists 2017-01-19 18:31:13 +09:00
Kevin Lange
077639b9f3 Don't respond to q in dialog (we were responding on q-up by quuitting the whole app, oops 2017-01-19 17:26:14 +09:00
Kevin Lange
78967142e7 Reduce duplicate dlopen calls in yutani lib 2017-01-19 17:25:32 +09:00
Kevin Lange
65bb28c4fe Don't reuse the Font object used by text regions 2017-01-19 15:25:59 +09:00
Kevin Lange
18dcb32fb8 Load package manifest before showing window
... so it doesn't just pop in full-size.
2017-01-19 14:28:22 +09:00
Kevin Lange
daf78dd59c Don't open dialog when clicking revealed mine 2017-01-19 14:24:00 +09:00
Kevin Lange
793badea70 Prompt before installing 2017-01-19 14:22:46 +09:00
Kevin Lange
f4411e8d0c Perform action after closing dialog 2017-01-19 14:22:37 +09:00
Kevin Lange
7e1a9815f0 Make About applet available as a library 2017-01-19 13:46:34 +09:00
Kevin Lange
e3eb8dc49c Make sure menu bars redraw on click action from menu entry 2017-01-19 13:46:14 +09:00
Kevin Lange
32e68de909 Show some dialogs in Mines and ToaruPaint 2017-01-19 13:27:03 +09:00
Kevin Lange
2c05f6d065 Minor fixes to about-applet 2017-01-19 13:26:48 +09:00
Kevin Lange
f1bc637455 Basic dialog prompt window 2017-01-19 13:26:21 +09:00
Kevin Lange
836d876675 Add ... to New menu in ToaruPaint 2017-01-19 11:47:19 +09:00
Kevin Lange
cfe7bcf57f Fix submenus unfocusing root window 2017-01-19 11:47:03 +09:00
Kevin Lange
d46779cc2f Add generic main loop for widget-y applications 2017-01-19 11:41:00 +09:00
Kevin Lange
99515c8690 One other win-check condition 2017-01-18 22:14:41 +09:00
Kevin Lange
b535cf221d Mines docs and win detection 2017-01-18 22:12:00 +09:00
Kevin Lange
b19f18315e Don't use ellipsis character in menu title... 2017-01-18 21:27:16 +09:00
Kevin Lange
40566b49bd Add larger field options 2017-01-18 21:25:09 +09:00
Kevin Lange
e06ff44cd1 Guarantee a satisfying opening 2017-01-18 21:19:12 +09:00
Kevin Lange
b8979a9071 Remove the RPG demo game. 2017-01-18 21:09:25 +09:00
Kevin Lange
214a3a4062 Basic minesweeper game 2017-01-18 21:08:16 +09:00
Kevin Lange
02737463a6 Improve WM Pong and add it to panel menu 2017-01-18 19:26:09 +09:00