shadows: Adjust values for attached modal dialogs

The designers consider the current shadow too dramatic for the new
centered position; adjust the shadow to use the same values as
popup menus.
This commit is contained in:
Florian Müllner 2012-08-10 14:29:30 +02:00
parent 07dd4d3f93
commit 4e2c2cb1ab

View File

@ -130,7 +130,7 @@ MetaShadowClassInfo default_shadow_classes[] = {
{ "popup-menu", { 1, -1, 0, 1, 128 }, { 1, -1, 0, 1, 128 } }, { "popup-menu", { 1, -1, 0, 1, 128 }, { 1, -1, 0, 1, 128 } },
{ "dropdown-menu", { 1, 10, 0, 1, 128 }, { 1, 10, 0, 1, 128 } }, { "dropdown-menu", { 1, 10, 0, 1, 128 }, { 1, 10, 0, 1, 128 } },
{ "attached", { 2, -1, 0, 1, 255 }, { 1, -1, 0, 1, 128 } } { "attached", { 1, -1, 0, 1, 128 }, { 1, -1, 0, 1, 128 } }
}; };
G_DEFINE_TYPE (MetaShadowFactory, meta_shadow_factory, G_TYPE_OBJECT); G_DEFINE_TYPE (MetaShadowFactory, meta_shadow_factory, G_TYPE_OBJECT);