Commit Graph

133 Commits

Author SHA1 Message Date
Axel Dörfler
8fee027ee3 Updated the resource app version information.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-11 21:31:30 +00:00
Axel Dörfler
5ac11f960a * Fixed various minor font sensitivity/resize problems.
* Fixed translator version info; didn't correctly displayed versions < 1.
* Drastically improved looks of that info alert.
* Nicer version alert.
* Renamed class DataTranslationsView to TranslatorListView.
* Added license.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-11 20:14:13 +00:00
Axel Dörfler
f157272bee * You are supposed to free() the mode list returned by BScreen::GetModeList(),
and not to delete it.
* The header didn't include everything it needed.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16702 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-11 15:13:19 +00:00
Axel Dörfler
f5d5a442b8 Supported types can now be edited and saved (but not their icons yet).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-10 21:53:09 +00:00
Axel Dörfler
b57ef1e651 Some more work on the application type window: it now shows the correct
entries, and you can edit everything but icons and supported types.
Saving is also possible now (but it won't ask yet if you close the
window and has made some changes).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-09 14:21:25 +00:00
Stefano Ceccherini
2d5d385b29 some other minor stuff
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-07 21:05:49 +00:00
Stefano Ceccherini
8edede9f83 The menu window's rect was never initialized, it worked by pure luck if launched from the terminal. Fixes bug 263. Other changes. Not yet finished
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-07 20:11:13 +00:00
Axel Dörfler
507514408c Beginnings of the application type window - doesn't do anything yet, but at
least it looks more or less okay (long description border isn't right yet)
and is font sensitive.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16632 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-07 16:30:09 +00:00
Axel Dörfler
9638d4c877 * Fixed a font sensitivity issue not visible under BeOS.
* IconView now draws a rectangle in case there is no icon to let the
  user know there is something he could click on.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-07 14:09:30 +00:00
Axel Dörfler
91d4f7a30a * Added "Select..." functionality to the file type window, ie. you can now
choose the file type from a list, too.
* Several windows did not forward unknown messages to their parent, and thus
  scripting did not work properly for them.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-07 12:09:13 +00:00
Axel Dörfler
678a32a0ae Build fix (could be compiled under BeOS as is, sorry).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-07 11:05:54 +00:00
Axel Dörfler
4987d47a56 The FileType window now filters out application drops, and make them the preferred
app for the file(s).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16620 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-07 02:44:03 +00:00
Axel Dörfler
a051f66681 * Changed the way file panels are created, there is now only a single message
the FileType application understands.
* The FileTypeWindow now has support for setting the type via "Same As...",
  also by dropping a file over the window.
* The preferred application of a file can now also be specified via "Select...",
  and "Same As...".
* Moved FileTypesWindow::_AdoptPreferredApplication() to PreferredAppMenu.cpp;
  FileTypeWindow is now using it as well.
* Shuffled some functions around a bit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16619 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-07 02:26:31 +00:00
Axel Dörfler
f793ebf4db * Added an icon view to the file type window.
* Renamed the IconView class in the FileTypesWindow to TypeIconView.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-07 01:25:21 +00:00
Axel Dörfler
0353f98bc3 * Beginnings of the file type window, ie. the functionality of the
FileType Tracker add-on.
* You can now drop files over the FileTypes window, and their file
  types window is opened.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16612 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-06 21:54:54 +00:00
Stefano Ceccherini
b820da1a25 Restyled Menu preflet, it's still very ugly but at least I can
understand where's things.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16611 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-06 17:15:16 +00:00
Stefano Ceccherini
bdd0629138 Fixed extra days in a month bug
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-06 09:22:57 +00:00
Axel Dörfler
3a14d2275f * Fixed various minor font sensitivity issues with larger fonts.
* Fixed build on Dano.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16552 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-28 21:18:24 +00:00
Axel Dörfler
31de48b49d * When a new type is added during lifetime, the "show icon", "application mode",
and "flat" settings of the MimeTypeListView are now honoured.
* Fixed warning in AttributeWindow.cpp


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16543 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-28 02:04:50 +00:00
Stephan Aßmus
067c811fe8 * "Extra Attributes" can now be added as well.
* Moved AttributeListView and AttributeItem into its own file.
* Can now be compiled on R5 systems again.

(coded by axeld)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16506 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-26 17:37:42 +00:00
Jérôme Duval
b221cf0502 fixed window title
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16494 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-21 15:23:40 +00:00
Jérôme Duval
b4a124700c fixed naming of variables
fixed some font sensitiveness issues


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-18 18:03:29 +00:00
Jérôme Duval
5ffd43dcb9 hopefully completes the fix for bug #190
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16450 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-17 10:47:49 +00:00
Jérôme Duval
aaa9b73980 improved font sensitiveness
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-17 10:25:54 +00:00
Stefano Ceccherini
25a4d8f957 Fixed wrong day of week shown in Time. Needs review as I used some trick
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-17 08:53:10 +00:00
Axel Dörfler
e635421dad * Work-around for strange BRoster::FindApp() behaviour is no longer needed.
* Fixed wrong height of the signature and path views.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 20:23:15 +00:00
Stephan Aßmus
3dfd20c019 * made the font of the "Set Background..." button
a little smaller, to lessen the importance of this
  button.
* changed the "standard" frequencies. I hope this
  doesn't have any negative impact on anything.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 20:18:59 +00:00
Axel Dörfler
8242ac7f2f The "Screen" preferences application is no longer compatible to BeOS
(it could be built with minimal effort, but it looks awful since
BMenuFields are not resized correctly on R5).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 16:35:47 +00:00
Axel Dörfler
7b51c43305 Moved the "Workspaces" application out of preferences - it's not a preferences application.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 16:32:50 +00:00
Stephan Aßmus
df3f5bac68 * enjoy a fully font sensitive Screen preflet
* the Radeon specific controls are now layouted below
  the other menu fields, it is easily changed back
  to the side by side layout by changing the default
  value of "sideBySide" for ScreenWindow::LayoutMenuFields()
* I added a "Set Background..." button, because I didn't
  like the hidden functionality of the monitor view too
  much. That is still there though.
* TODO: fix the awareness of changes to the workspace
  count and include those in "reverting" and "defaults"


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 15:25:25 +00:00
Axel Dörfler
bd3d31b0ab Version description was one pixel too low, dunno how I missed that before.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 14:02:02 +00:00
Axel Dörfler
9786c1ecf9 * When an icon changes, the MimeTypeListView updates the type now.
* Selecting "None" as preferred application didn't work.
* Forgot to implement changing a MIME type's long description.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 13:48:00 +00:00
Axel Dörfler
b2be483b92 The type list will now show the generic file icon for types without an icon.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 13:28:54 +00:00
Axel Dörfler
e47433bccb * The new icon retrieval code didn't always work that well...
* For applications without an icon, the default application icon is now shown.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 13:20:38 +00:00
Axel Dörfler
84506c140e * The MimeTypeListView now supports switching to icon mode and back without
needing to reconstruct it.
* The file types list can now show icons, too (you can enable it using the menu)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 12:59:01 +00:00
Axel Dörfler
688b1b719c * Added a version box to the application types views.
* StringView didn't initialize fEnabled.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 12:35:39 +00:00
Axel Dörfler
4f92605003 Moved the "get icon engine" from IconView into a function in MimeTypeListView.cpp; it's
now used by the MimeTypeItems as well, if showIcon mode is used.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-15 16:46:58 +00:00
Axel Dörfler
041ea26008 More work on FileTypes:
* You can now edit and add extensions.
* The internal name view is no longer a disabled BTextControl, but a simple
  customized BStringView like view.
* New "Application Types" window in the making.
* MimeTypeListView can now have icons and supports a flat mode as well
  as an application only mode.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-15 15:48:35 +00:00
Axel Dörfler
879c65a301 You can now create new file types and groups.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16393 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-14 14:41:57 +00:00
Axel Dörfler
3648c6cea4 Added error reporting and a "application does not support file type" warning when
trying to set the preferred app via the "Same As..." or "Select..." buttons.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16390 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-14 02:40:40 +00:00
Axel Dörfler
43fd6fc453 * You can now also select the preferred application using the "Select..." and
"Same As..." buttons and a file panel.
* The preferred application of a file type is now also displayed correctly if
  it's not part of the list of supporting applications.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-14 02:07:47 +00:00
Axel Dörfler
8d577b370f You can now remove file extensions and attributes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-14 01:10:31 +00:00
Axel Dörfler
79dd9fd23e You can now remove MIME types.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-14 00:45:34 +00:00
Marcus Overhagen
fbe9b0b6eb This fixes bug #149.
Input server now saves keyboard typematic settings whenever they are modified,
instead of wating until it is shutdown (which never happens, either the
system will crash, or the input_server will stay active after a normal shut down)
Same problems might apply to mouse and keymap settings.
Input server shutdown handling should be reviewed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16380 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-13 17:35:05 +00:00
Jérôme Duval
3cd9828763 fix the build for R5
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-13 14:29:03 +00:00
Axel Dörfler
9a7fabb66c The IconView now also shows an icon for a MIME type if it got it from the
super type's preferred application.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 17:50:22 +00:00
Axel Dörfler
1d268b8f9f The IconView now correctly invalidates its view on updates again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16365 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 17:44:42 +00:00
Axel Dörfler
06c21b14fe * Only those controls are updated now, that were actually changed, including
references from other types.
* Since the MimeTypeListView now listens to changes automatically, it's no longer
  necessary to update the MimeTypeListView manually anymore.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 17:28:49 +00:00
Axel Dörfler
6ebc02eae4 The MimeTypeListView now listens to changes to the MIME type database as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 17:11:58 +00:00
Axel Dörfler
9432e2e65a * The controls now listen to BMimeType changes - the MIME list doesn't do this
yet, though.
* Noticed that the "Description" text control in the original FileTypes app is
  actually for the long description, not the short one - added another text
  control for those descriptions.
* The IconView will now also show an icon when it comes from a super type or
  an application - additionally, it will tell you from where the icon actually
  comes from.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 16:21:41 +00:00