[CONFIGURATION]

* BUG: Fix gambas server page mimetype file.
* NEW: New breeze-like icons for mimetypes.

[GB.GUI.BASE]
* NEW: Picture: Use Color[].Luminance on default background color to detect 
  dark themes.

[GB.DBUS.TRAYICON]
* NEW: New breeze default tray icon.


git-svn-id: svn://localhost/gambas/trunk@7310 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2015-09-14 18:22:28 +00:00
parent 991f685a3c
commit 0ae08d5271
8 changed files with 2 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View file

@ -7,7 +7,7 @@
<comment xml:lang="fr">Page serveur Gambas</comment>
<magic priority="50">
<match value="#!/usr/bin/env gbw2" type="string" offset="0"/>
<match value="#!/usr/bin/env gbw3" type="string" offset="0"/>
</magic>
</mime-type>
</mime-info>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View file

@ -58,7 +58,7 @@ Static Public Sub _get(Path As String) As Picture
' Support for dark themes
If Not $bInit Then
If Color[Color.Desaturate(Color.Background)].Blue < 128 Or If Env["GB_GUI_DARK_THEME"] = "1" Then $bDarkTheme = True
If Color[Color.Background].Luminance < 128 Or If Env["GB_GUI_DARK_THEME"] = "1" Then $bDarkTheme = True
$bInit = True
Endif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB