#
107712bf |
|
16-Oct-2020 |
Kyle Ambroff-Kao <kyle@ambroffkao.com> |
AutoRaise: Properly load tray icon bitmap AutoRaise needs to load bitmaps stored as resources in the AppRaise image. The strategy it used before was to store the path to itself in its settings file. It stored the entry_ref to the image in the settings, which may not be stable across reboots with packagefs. In addition, the path could change at some point for any other reason. This patch changes AutoRaise to just use the same method as other tray applets, which is to search the process for the image containing the AutoRaise code, and then to get the path from the image_info. Most of the initialization work is performed by TrayView::_init(), which is called by the constructor. Some of the operations performed by this method can fail, leaving TrayView partially initialized. Any error is handled by returning early after telling Deskbar to remove this item so that it will not continue running in a partially initialized state. Deskbar will invoke the destructor so even a partially initialized TrayView will be cleaned up. Fixes #16473 Change-Id: Id1ac1ef78d410a7d191cfe88f1ba1db30e258adc Reviewed-on: https://review.haiku-os.org/c/haiku/+/3341 Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
|
#
cbc96724 |
|
29-Jul-2019 |
Murai Takashi <tmurai01@gmail.com> |
Localize AutoRaise Change-Id: I3d71aa0691c4d8a59b6e8d4dbb2d7d4e7eab47c9 Reviewed-on: https://review.haiku-os.org/c/1659 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
70e55f00 |
|
28-Jul-2019 |
Jérôme Duval <jerome.duval@gmail.com> |
autoraise: fix debug build. Change-Id: I8ee35807eab8252dcb2399734fc5831f2b50690f Reviewed-on: https://review.haiku-os.org/c/1657 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
0305dc14 |
|
10-Mar-2019 |
François Revol <revol@free.fr> |
AutoRaise: Make it actually working again It seems we don't sort the window token list anymore, so it only worked in very few cases.
|
#
b073a8c8 |
|
24-Jan-2019 |
Rob Gill <rrobgill@protonmail.com> |
apps/autoraise Restore functionality * Restore functionality / compilation (C++11)Spacing issues with string macros fixed. Fix type declarartion for removeFromDeskbar so compiles on x86_64. * Code format cleanup * Remove DANO related code Change-Id: I738d14914e320b7606210d8263065187b2c06b1a Reviewed-on: https://review.haiku-os.org/c/898 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
2aaeccd9 |
|
20-May-2014 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
autoraise: Toggle not toogle; no functional change
|
#
aed35104 |
|
05-Aug-2012 |
Humdinger <humdingerb@gmail.com> |
Close alerts with ESCAPE key. Added SetFlags(B_CLOSE_ON_ESCAPE) or SetShortcut(index, B_ESCAPE) to BAlerts depending if the result gets used later in the code, or if it's a one-button BAlert.
|
#
2708c3e1 |
|
15-Mar-2011 |
Jonas Sundström <jonas@kirilla.com> |
Making it build. Mostly untested. I just wanted to be able to jam from within src/apps. Not part of the image. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40964 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7974d3dc |
|
13-Jan-2010 |
Stephan Aßmus <superstippi@gmx.de> |
Patch by Humdinger: Updated Haiku apps to use sentence-case. What a huge undertaking... The files where I had to apply the patch manually (for mysterious reasons) have also gotten a whitespace cleanup. I've proof-read everything so hopefully there should be no problems. This should be the final part of #5169. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35049 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3ba588d1 |
|
25-Oct-2009 |
Fredrik Modeen <fredrik@modeen.se> |
Fix for r33732, now it builds.. don't know if works though. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33761 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fe8567ec |
|
10-May-2008 |
François Revol <revol@free.fr> |
The code for my (very useful if you ask me) AutoRaise deskbar addon that brings the focussed window to front after a timeout. MIT of course. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25442 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2aaeccd9ec5139f68b873f89b71276c4f0140b3c |
|
20-May-2014 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
autoraise: Toggle not toogle; no functional change
|
#
aed35104852941f0f6f3d1dcc5338b5f337d0a3c |
|
05-Aug-2012 |
Humdinger <humdingerb@gmail.com> |
Close alerts with ESCAPE key. Added SetFlags(B_CLOSE_ON_ESCAPE) or SetShortcut(index, B_ESCAPE) to BAlerts depending if the result gets used later in the code, or if it's a one-button BAlert.
|
#
2708c3e1c8113b881d7584037408c0cd73b3918f |
|
15-Mar-2011 |
Jonas Sundström <jonas@kirilla.com> |
Making it build. Mostly untested. I just wanted to be able to jam from within src/apps. Not part of the image. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40964 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7974d3dcf39ce78e5885b481eee12e561ad6e096 |
|
13-Jan-2010 |
Stephan Aßmus <superstippi@gmx.de> |
Patch by Humdinger: Updated Haiku apps to use sentence-case. What a huge undertaking... The files where I had to apply the patch manually (for mysterious reasons) have also gotten a whitespace cleanup. I've proof-read everything so hopefully there should be no problems. This should be the final part of #5169. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35049 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3ba588d15f6efed649a7f311c02accf1d168c263 |
|
25-Oct-2009 |
Fredrik Modeen <fredrik@modeen.se> |
Fix for r33732, now it builds.. don't know if works though. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33761 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fe8567ec1c1bf4161bce89a837c8e31af0cfb51d |
|
10-May-2008 |
François Revol <revol@free.fr> |
The code for my (very useful if you ask me) AutoRaise deskbar addon that brings the focussed window to front after a timeout. MIT of course. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25442 a95241bf-73f2-0310-859d-f6bbb57e9c96
|