Commit Graph
19 Commits
Author SHA1 Message Date
Humdinger ec595170fb Improve Deskbar window-icons
Better visible "swishy" lines that represent windows on another
workspace.

Deskbar_Window_Switch_Overlay are just the swishy lines.
Moved the windows of Deskbar_Window_Hidden and Deskbar_Window_Visible
to the right, so overlay lines can be simply "appended" in IOM.

Fixes #18727

Change-Id: I08eabd0f2e95a23921caf968ac73abf7758ae7ce
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7280
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2023-12-30 18:12:34 +00:00
Humdinger f362628248 Web+: Fix bookmark bar for localized systems
The folder name "Bookmark bar" should never be translated.
If it is, the folder won't be found, the bookmark bar never shown and
the menu item "Show bookmark bar" always disabled.

Change-Id: I0fb5bc6d4027c7fa957205c1da72c2fabd9e122e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7204
Reviewed-by: waddlesplash <[email protected]>
2023-12-11 18:37:37 +00:00
Humdinger 2b50f7759d ShowImage: fix off-by-1 image placement
The image was placed 1 pixel to the right, resulting in a grey
vertical line appearing to the left of the image.

Fixes #18679

Change-Id: I02b1cb6bc898c48ff73ae114b2cda368ea636de7
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7118
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2023-11-22 04:06:56 +00:00
Humdinger 7d85c2beb1 Add .genio of the Genio IDE to .gitignore
Change-Id: I9397bef0ab05b1a12d234e5c52da8e88e54571ff
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7119
Reviewed-by: Alex von Gluck IV <[email protected]>
2023-11-21 16:29:53 +00:00
Humdinger 2de4cba264 OverlayImage: Apply coding style
Change-Id: Id35e8eeaf0735210cbe14d618c59d5ef8dc90a09
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7114
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2023-11-20 23:19:22 +00:00
Humdinger 2283561d60 OverlayImage: Use BAboutWindow
Fixes #18677

Change-Id: Ia1469527ce9dd4e7c217182e3751357aa5305f18
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7113
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2023-11-20 23:19:22 +00:00
Humdinger 345265c3d6 ShowImage: fix saving
As investigated and suggested by jackburton in ticket #14693:
outTranslator wasn't initialized correctly (due to type mismatch
on 64 bit platform).

Also set the image's file name as default in the save dialog.

Fixes #14693

Change-Id: I741e3616b935315a707ea3949a330d41d577fd91
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7102
Reviewed-by: waddlesplash <[email protected]>
2023-11-13 22:10:25 +00:00
Humdinger 964b6e8090 People: Accept initial values
Besides the entry_ref to an existing Person file as argv, also
accept a BMessage containing values for attributes and set those
in the new window.

The specifier name in the BMessage needs to be the same as the
attribute name used by the People app, e.g. "META:email".

Needed to let the Mail app create a new Person file with the email
address already filled in.

Fixes #14766

Change-Id: I637200b08d5c1b7cf52d7cf3f56dab93ce1a6ec5
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7085
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2023-11-09 12:13:01 +00:00
Humdinger a7ee73c8eb Mail: Fix "Save address" as new Person file
If a Person file with the selected email address doesn't exist yet,
launch the People app with a BMessage "M_LAUNCH_PEOPLE" that triggers
the People app to create a new Person file.
The message includes "META:email" and "META:name" for email address
and contact name. The contact name may be empty, if it wasn't included
in the mail's from/to/cc etc. field.

Don't show error alert, if People was already running.

Fixes #14766

Change-Id: Id4f7ae50aa1ea283974f2fa067ac9e199f369db5
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7084
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2023-11-09 12:13:01 +00:00
Humdinger 15305513ae Add "Reset rating" menu item to MediaPlayer and ShowImage
Doesn't remove the rating BFS attribute from the file, just sets it to "0".

ShowImage: Move "Ratings" menu into a new "Attributes" menu, similar to
MediaPlayer.

Change-Id: I831166d88be9d18f1d302a423aa43929b7a1b255
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7092
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2023-11-06 13:36:20 +00:00
Humdinger 631e35ca58 Tracker: Use half-star symbol for odd rating value
The rating now uses unicode symbol U+2BEA - "Star with Left Half Black": ⯪
for the odd rating values (ranging from 1 to 10 for up to 5 stars).

The other used symbols are still:
* U+2605 - "Black Star": ★
* U+2606 - "White Star": ☆

Fixes #12986

Change-Id: I1ea27db67131b071e827a05847595f88b6d9dcda
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7091
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Jérôme Duval <[email protected]>
Reviewed-by: Rene Gollent <[email protected]>
2023-11-03 21:28:57 +00:00
Humdinger 4391f32b36 ShowImage: Re-arrange menu items
* Moved "Use as background..." from "Image" to "File" menu.
  "Image" holds items that affect the display of actual image
  (rotate/flip). "Use as background..." doesn't.
* Move "Close" down above "Quit".

Change-Id: I23ddcc2cf03937322649ab289ef405f84c878dfb
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7090
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2023-11-01 09:06:42 +00:00
Humdinger 32ed03a521 ShowImage: Add "Open with..." menu
Populate a new sub-menu with all applications that support the current
image's MIME type. Launch the chosen app with the image entry_ref as
B_REFS_RECEIVED message.

The sub-menu listing supporting apps is separated into apps supporting
the supertype ("image/" and full support (e.g. "image/png").

Add the new "Open with..." menu to the "File" menu and the context menu
of the image.

Most of the code was grabbed from the FileType prefs PreferredAppMenu,
therefore its copyright was copied and extended.

Change-Id: I0190cf4b78c59e429f4e67654665598340653c5d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7072
Reviewed-by: Axel Dörfler <[email protected]>
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2023-11-01 03:20:30 +00:00
Humdinger 6de9c42da6 BootManager: improved layouting
Addresses #15418 without completely solving it.
At least for font sizes >= 11 points it works mostly. Buttons are
no longer cut off, though the summary page showing all partitions
is taller than necessary for > 3 partitions, esp. for smaller font
sizes.

Views aren't vertically centered at least.

Change-Id: Id6224b83f27510c9ed45e303f0b5dabf47af0574
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7062
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2023-10-26 07:56:47 +00:00
Humdinger de1e2d9227 BSpinner: Simplify SetMin|MaxValue()
After the last change, korli suggested this simplification that lets
SetValue() do all the in/decrement-widget en/disabling.

Change-Id: If87579d9104bbc9ae279aa5f2f99c9921bb238ea
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7053
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2023-10-19 08:14:12 +00:00
Humdinger ad7c4e2dbd BSpinner: Fix in/decrease widget behavior
Say you have a BSpinner with a fValue of 10 and a fMaxValue of 10.
The +-widget is correctly disabled.
If you now set the fMaxValue to 20, the +-widget stays disabled.

With this change the state of the +/- widgets are set correctly when
the Max/MinValues are changed.

Change-Id: I4dce7f0ecd6aee8e9b562618ec1367dbeb212dc4
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7050
Reviewed-by: waddlesplash <[email protected]>
2023-10-17 15:19:52 +00:00
Humdinger 493d3c69f3 GLTeapot: Add setting to limit FPS
* Plus renaming "File" menu to "GLTeapot". No files involved.

Fixes #18599

Change-Id: Ifd47eea8eb11d7c94d8f6cc0d4db48eaa0b0bf59
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6954
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2023-09-26 16:38:30 +00:00
Humdinger 9e76d619a2 Terminal: Fix translation of "Colors" window title
Change-Id: I9a9f166dbdb4a2e008eabab53c9ab70f3439aa59
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6899
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2023-09-19 08:49:30 +00:00
Humdinger 5491ece2a4 PowerStatus: Rename 'battery low' sound, add 'critical' sound
* Renaming "Low battery" to "Battery low" so it's right next to
  "Battery charged" in the Sounds prefs event list.

* Adding "Battery critical" sound. I think it makes sense to have
  a different - more urgent - sound when there's only 15% left,
  compared to "Low" (30%).

Change-Id: I46b5975e5797a9c3a84d4619e697be162e79b1cf
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6900
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2023-09-08 15:12:04 +00:00