Commit Graph
1689 Commits
Author SHA1 Message Date
Adrien Destugues f873c092c7 Network: make sure the DNS list is wide enough to show the addresses.
Fixes #11720.
2015-01-08 09:17:35 +01:00
John Scipione b433c2ad87 Keymap: Add ability to remove a key mapping
... of a normal (non-modifier) key via a right click menu.
2015-01-07 21:11:39 -05:00
Adrien Destugues d37cd1e172 Network preferences: add a checkbox to control NetworkStatus
Fixes #3314.
Based on Barrett initial patch, reworked for the current network
preferences implementation.
2015-01-07 09:27:31 +01:00
Axel Dörfler 4772658841 E-mail: fixed GCC4 build. 2015-01-06 18:41:01 +01:00
Adrien Destugues 784064856f Appearance: allow to use it in test_app_server
For testing fonts and font antialiasing settings.
2015-01-06 15:58:40 +01:00
Axel Dörfler 8705e1f6e7 mail_daemon: cleanup, 30s auto check startup delay.
* Refactored new message retrieval a bit, so that the notification strings
  aren't duplicated.
* The daemon now waits 30 seconds before doing the first mail check.
2015-01-06 15:26:14 +01:00
Axel Dörfler acee88be99 E-mail settings are now stored as they should.
* ProtocolSettingsView was still using Archive() instead of SaveInto().
* However, it looks like BMessage::Set*() does corrupt the message fields.
2015-01-06 15:24:05 +01:00
Axel Dörfler 8651ebbe7a Fixed stale config view pointer in E-mail.
* When removing an account (all accounts would be removed when the app
  was quit), AccountItem::ConfigPanel() was used to remove views.
* However, this member was only set when a new view was created, never when
  it was removed. This could cause a crash on quit.
* Removed that member completely, as it was unnecessary, anyway.
* Fixed naming of AccountItem getters to lose their Get* prefix.
2015-01-06 15:24:01 +01:00
Axel Dörfler fa587d2956 The protocol config view now adds some glue at the bottom.
* This makes all boxes fill the complete height of the window.
* The SMTP add-on did that itself which makes no sense.
2015-01-06 15:23:51 +01:00
Axel Dörfler 19d947eb7f The E-mail window's frame is no longer stored.
* This is part of a clean up of BMailSettings; storing the window
  position might be implemented again later -- it just doesn't
  belong there.
* Changed the logic when the daemon is set to auto start. It's now
  always started if at least a single account exists.
2015-01-06 15:23:38 +01:00
Axel Dörfler 57b305558b MailProtocolConfigView now is a BMailSettingsView.
* Changed the private settings base classes to follow the new style.
* Made BodyDownloadConfig use the layout API.
* Adapted SMTP to these changes.
2015-01-06 15:23:06 +01:00
Axel Dörfler efd1602a79 Fixed debugger call in E-mail.
* The settings view is no longer a direct child of the protocol settings
  view.
2015-01-06 15:23:01 +01:00
Axel Dörfler ca3341c7b4 Major mail protocol/filter settings rework.
* Instead of abusing BArchive::Archive() we now use a BMailSettingsView as
  a base view for all filter/protocol settings that works with
  BMailAddOnSettings.
* Cleanups in E-mail which is now completely layout friendly. But also still
  crashes when changing the views.
2015-01-06 15:22:56 +01:00
Axel Dörfler 5faab458af Reworked the mail preferences.
* Made it use the layout API.
* Removed options that no longer apply (dial-up, for example).
* Cleanup.
* There are a few issues left, though, for example, the BTextView is not
  correctly sized, and it currently crashes in the protocol panels.
2015-01-06 15:22:47 +01:00
Axel Dörfler 9d8cf1b6f7 E-mail now also builds, but doesn't work yet. 2015-01-06 15:22:23 +01:00
Adrien Destugues b5832c1759 Appearance: don't send kMsgUpdate on ATTRIBUTE_CHOSEN
As discussed in #11698, selecting an item in the list needs an update of
the selected color, but doesn't need a check for changes and status of
the "revert" button.
2015-01-05 15:51:41 +01:00
Adrien Destugues e7cf3254ad Appearance: enable Revert when a color is dropped
Fixes #11698.
2015-01-05 11:25:43 +01:00
Markus Himmel 27c555cb7b Fix #8881: Add color drops to Backgrounds
- The Backgrounds preferences app will now accept color drops.
- The Backgrounds app will update if a color drop to the desktop
has changed its color due to a direct color drop

Signed-off-by: Jerome Duval <[email protected]>
2014-12-31 19:05:06 +01:00
Adrien Destugues 234ac3f191 FileTypes: Avoid useless call to ReplaceRef
Don't replace the ref with itself in the most common case where the
scanned file is not a symlink. Save a lot of useless memory copies and
ref flattening in BMessage.
2014-12-24 11:52:04 +01:00
Adrien Destugues 21d247bb58 Media: add icon to media server restart notification
Use the media preferences icon for lack of anything more specific.
2014-12-19 10:15:28 +01:00
Adrien Destugues 04c56ae26b Revert "FileTypes: make space for BBox titles"
This reverts commit f0eb9fcd93.

Fixing this in BBox is better.
2014-12-15 11:04:36 +01:00
Adrien Destugues 40e05d88f9 Remove now unneeded MediaAlert class. 2014-12-15 09:56:31 +01:00
Adrien Destugues b245bc8dbd Media Prefs: rework the BNotification code
* Factor out the notification sending in a single method
* Tweak the "progress" values so the progress bar goes from 0 to 100% in
order, and only once, during the restart
* Remove one notification that was needlessly sent twice
* Some other small cleanups

Final fix for #8171.
2014-12-15 09:52:36 +01:00
Laurent Chea aa47adf6e0 Media service restart is now using BNotification. Fixes 8171. 2014-12-15 09:27:10 +01:00
Adrien Destugues f0eb9fcd93 FileTypes: make space for BBox titles
In some locales the title is longer than the space there is for it. Make
sure the boxes are wide enough for the title to display completely.

Fixes #11611.
2014-12-12 16:11:07 +01:00
Adrien Destugues 27627e22db DataTranslations: remove SetExplicitMinSize
It prevents the window to get big enough for some of the translators.

Fixes #11612.
2014-12-12 15:53:25 +01:00
Puck Meerburg e4e2ce4ce3 When testing screensaver, don't have mouse move exit the screen saver.
Fixes #7463

Signed-off-by: Adrien Destugues <[email protected]>
2014-12-10 21:18:30 +01:00
Adrien Destugues 0edd73e467 FileTypes: fix layout of the FileTypeWindow.
* Fixes #10359.
* Thanks to Laurent Chea for investigating and identifying the problem.
His patch was not used because it makes more changes than needed.
2014-12-09 09:50:54 +01:00
Adrien Destugues 4380baa4d7 DataTranslations: avoid layout jumping
* Constrain the list and "right view" sizes so the layout doesn't change
for each translator.
* Fixes #6897.
2014-12-09 08:47:09 +01:00
Adrien Destugues f87c1cec88 Mouse prefs: further layout fixes.
* Use BSeparatorView instead of trying to replicate it with a BBox
* Use B_USE_SMALL_SPACING instead of 7.

Fixes #11528.
2014-12-08 08:39:55 +01:00
Laurent Chea ed35dbde39 Mouse prefs: Layout improvements
* Some spacing was uneven leaving items uncentered
* Removed "slow/fast" labels from the sliders as they were not correct
(a delay is short/long, not slow/fast, same for acceleration) and not
very useful.

Signed-off-by: Adrien Destugues <[email protected]>
2014-12-08 08:37:56 +01:00
Adrien Destugues db7fc944bd FileTypes: disallow directories only where it makes sense.
Better fix for #8805.
2014-12-04 09:28:05 +01:00
Adrien Destugues 721e32f7a0 Network prefs: missing DoCatalogs invocation.
Fixes #11191.
2014-12-03 11:28:06 +01:00
Adrien Destugues a2cb1737d8 Screen prefs: force weight of the two boxes
Depending on the locale and string length the layout could leave only a
small part of the window for the rightmost part, which is the important
thing. Force the weight of each side so we have a more balanced window.
2014-12-02 11:40:14 +01:00
Adrien Destugues 8b46ee25ac Screen prefs: move driver info to main window
* Fixes relevant part of #5125
* The remaining information (serial number, frequency ranges) is
"advanced" and can be hidden in the tooltip. However, the video driver
used may be important important information, if you want to know if you
are using VESA, or if you have multiple video cards (Optimus for
example).
2014-12-02 11:17:58 +01:00
Adrien Destugues acf1d9714e Locale: fix selection of format when Default'ing
Using item->SetExpanded does not work in a BOutlineListView as the
status of the list is then out of sync. The child items are not actually
added to the visible list, and trying to select them won't work.

Using list->Expand() instead works fine, so do that.

Fixes the remaining part of #6805.
2014-12-01 15:12:30 +01:00
Adrien Destugues 97bb6cddcb Mouse Prefs: use a thinner and lighter outline
suggested by Axel and Stephan, this makes the mouse look better, and the
button numbers (the important part here) stand out more.
2014-12-01 10:49:53 +01:00
Humdinger 2e2c68cc35 Sentence casing of context menu item of network prefs. 2014-11-29 18:25:33 +01:00
Adrien Destugues 069804d7ca FileTypes: prevent picking folder as preferred app
* I'm not sure why this was changed back in 2006, the file panel is
reused in various cases but I don't see one where selecting a folder
would make sense.
* If I missed something, then different file panels should be used for
the different cases.

Fixes #8805.
2014-11-28 11:45:26 +01:00
Adrien Destugues f448e83bdd Build fix. 2014-11-27 17:15:22 +01:00
Adrien Destugues 1a08983193 Network: use string_for_size for transfer rates.
Don't ask translators to translate these units over and over again.
2014-11-27 16:55:36 +01:00
Adrien Destugues b549b15d81 Mouse prefs: better looking mouse.
* I went with my own graphics as the one in the preflet didn't look that
nice
* The clicked button is shown using a bold font rather than filling it
grey. I was too lazy to find the correct BShapes for all cases (1, 2 and
3 button mouses)

Fixes #6825.
2014-11-27 16:13:19 +01:00
Adrien Destugues d9354cdedc Mouse prefs: truncated string in Suomi translation
* Set the minimal size of the double click test area so the string fits,
in any language.
* Fixes #5746.
2014-11-26 10:57:52 +01:00
Adrien Destugues 3d01d427ae Keymap preferneces: improve deadkey handling logic
* The key down message is not delivered when completing a dead key, so
act on key up instead.
* Pressing a character after a dead key would leave the keymap in "dead
key" mode, and that mode would be exited only by pressing a dead key
again.

Fixes #5734.
2014-11-26 10:35:43 +01:00
Adrien Destugues b2e91cc3e7 Network prefs: save interfaces to file.
Fixes #11496.
2014-11-25 14:47:32 +01:00
Adrien Destugues 03ad73fc87 More uses of BMessageFormat
ZipOMatic, DiskUsage, MediaConverter, MediaPlayer, ShowImage,
WebPositive, Screen preferences, Tracker, string_for_size.

Thanks to KapiX for reporting those!
2014-11-24 15:42:52 +01:00
Adrien Destugues 21e5fc49a7 Update the hardware view on Pulse()
This lets the network stats update in realtime.
Fixes #11395.
2014-11-21 11:18:43 +01:00
Adrien Destugues ea68c29709 Network Services: rename DNS to "DNS Client" and localize.
Fixes #11421.
2014-11-21 10:35:05 +01:00
Adrien Destugues e0dbadfc4e Network prefs: update on tab switch
The rightmost part of the UI actually depends on which tab is selected
on the leftside. Intercept the tab change in the Show method, and
display the correct data.

Fixes #11400.
2014-11-10 14:04:52 +01:00
Adrien Destugues 43b65f2eac Netprefs: Remove "/dev/net/" from displayed interface names
The name overlaps the status string when it's too long, so keep it
shorter.
2014-11-10 13:15:13 +01:00