PiElle wrote:Moonlight is no more updated since aprile 2011.
It doesn't work with the up to date version of Firefox ...
wilcal wrote:PiElle wrote:Moonlight is no more updated since aprile 2011.
It doesn't work with the up to date version of Firefox ...
Kinda reflects on the popularity of Silverlight.
zugunder wrote:I do not know why it is done that way and for what, but after I changed ownership to me, the installation was completed. Then I changed the ownership back to root...
Can anyone explain why the plugins folder is owned by root?
doktor5000 wrote:This is not done by the firefox package, as RPM has no access to your /home.
You have accidentaly changed it yourself, that's my guess.
zugunder wrote:So, in other words, yours ./mozilla/plugins owner is you, not root?
PiElle wrote:Seems that there has been an update on Feb, 27th.![]()
Now it works with all kinds of Silverlight streams!![]()
Tested in Fedora16 and Mint 12 KDE...![]()
(firefox:2838): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
(firefox:2838): Gdk-WARNING **: locale not supported by C library
(process:2894): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Moonlight: 3.99.0.3
Moonlight: Attempting to load libmoonloaderxpi
debug_get_option: GALLIUM_DRIVER = softpipe
Moonlight: Installing signal handlers for crash reporting.
Moonlight: Enabling MONO_DEBUG=keep-delegates,reverse-pinvoke-exceptions and MOONLIGHT_ENABLE_CONSOLE=1
Moonlight: Loaded mscodecs from: /home/jimmygestapo/.mozilla/plugins/moonlight/silverlight-media-pack-linux-x86-21-1.so.
Moonlight: browser bridge not found for your browser (likely not needed). User agent = 'Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20100101 Firefox/17.0'
Moonlight: Plugin AppDomain Creation: OK
Moonlight: URL = https://www.favorit.hr/Live/Default.aspx
Moonlight: OpenGL vendor string: VMware, Inc.
Moonlight: OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 0x300)
Moonlight: OpenGL version string: 2.1 Mesa 8.0.4
Mono.MoonException: Error while loading the 'sr/FavoritBookingSilverlightUI.resources.dll' assembly : Culture name sr is not supported.
Parameter name: name
at System.Windows.Deployment.LoadAssemblies () [0x00000] in <filename unknown>:0
at System.Windows.Deployment.InitializeDeployment (IntPtr plugin, System.String xapPath, System.String culture, System.String uiCulture) [0x00000] in <filename unknown>:0
Moonlight: ErrorEventArgs created with message: 'Error while loading the 'sr/FavoritBookingSilverlightUI.resources.dll' assembly : Culture name sr is not supported.
Parameter name: name'
(plugin-container:2894): Moonlight-WARNING **: (plugin-class.cpp:610):static void Moonlight::EventListenerProxy::proxy_listener_to_javascript(Moonlight::EventObject*, Moonlight::EventArgs*, void*): runtime check failed: (js_sender != NULL)
not implemented: (ErrorEventArgs.charPosition) plugin-class.cpp:851
not implemented: (ErrorEventArgs.charPosition) plugin-class.cpp:851
Using managed xaml parser.
Exception while parsing string (44:6)
System.Windows.Markup.XamlParseException: Could not convert attribute value 'System_Windows_Controls_Primitives:CalendarItem' on element Style for property TargetType.
at Mono.Xaml.XamlParser.ParseAttributeValue (Mono.Xaml.XamlObjectElement element, Mono.Xaml.XamlPropertySetter property, XamlAttribute ai) [0x00000] in <filename unknown>:0
at Mono.Xaml.XamlParser.ParseAttribute (Mono.Xaml.XamlObjectElement element, XamlAttribute ai) [0x00000] in <filename unknown>:0
at Mono.Xaml.XamlParser.XamlNode_OnAttribute (Mono.Xaml.XamlNode node, XamlAttribute ai) [0x00000] in <filename unknown>:0
at Mono.Xaml.XamlNode.Parse (System.Xml.XmlReader reader, Mono.Xaml.XamlNode parent, Mono.Xaml.XamlNode node, Mono.Xaml.NodeEvent evstart, Mono.Xaml.NodeEvent evend, Mono.Xaml.AttributeEvent evattr, Boolean skip) [0x00000] in <filename unknown>:0
at Mono.Xaml.XamlNode.Parse (System.Xml.XmlReader reader, Mono.Xaml.XamlNode parent, Mono.Xaml.XamlNode node, Mono.Xaml.NodeEvent evstart, Mono.Xaml.NodeEvent evend, Mono.Xaml.AttributeEvent evattr, Boolean skip) [0x00000] in <filename unknown>:0
at Mono.Xaml.XamlNode.Parse (Mono.Xaml.NodeEvent evstart, Mono.Xaml.NodeEvent evend, Mono.Xaml.AttributeEvent evattr) [0x00000] in <filename unknown>:0
at Mono.Xaml.XamlNode.Parse (System.String xml, Mono.Xaml.NodeEvent evstart, Mono.Xaml.NodeEvent evend, Mono.Xaml.AttributeEvent evattr) [0x00000] in <filename unknown>:0
at Mono.Xaml.XamlParser.ParseString (System.String str) [0x00000] in <filename unknown>:0
string:
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
xmlns:vsm="clr-namespace:System.Windows;assembly=System.Windows"
xmlns:controls="clr namespace:System.Windows.Controls;assembly=System.Windows.Controls"
xmlns:System_Windows_Controls_Primitives="clr-namespace:System.Windows.Controls.Primitives;assembly=System.Windows.Controls"
xmlns:basics="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls">
<Style x:Key="customCalendarStyle" TargetType="sdk:Calendar">
<Setter Property="IsTabStop" Value="False"/>
<Setter Property="Background">
<Setter.Value>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="#404040" Offset="0"/>
<!--<GradientStop Color="#000000" Offset="0.05"/>
<GradientStop Color="#000000" Offset="0.1"/>-->
<GradientStop Color="#404040" Offset="1"/>
</LinearGradientBrush>
</Setter.Value>
</Setter>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="BorderBrush">
<Setter.Value>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="Transparent" Offset="0"/>
<!--<GradientStop Color="#454545" Offset="0.375"/>
<GradientStop Color="#454545" Offset="0.375"/>-->
<GradientStop Color="Transparent" Offset="1"/>
</LinearGradientBrush>
</Setter.Value>
</Setter>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="sdk:Calendar">
<StackPanel x:Name="Root" HorizontalAlignment="Center">
<System_Windows_Controls_Primitives:CalendarItem x:Name="CalendarItem" BorderBrush="Transparent" BorderThickness="0" Background="{TemplateBinding Background}"/>
</StackPanel>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="customCalendarItemStyle" TargetType="System_Windows_Controls_Primitives:CalendarItem">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="System_Windows_Controls_Primitives:CalendarItem">
<Grid>
<Grid.Resources>
<SolidColorBrush x:Key="DisabledBrush" Color="#8CFFFFFF" />
</Grid.Resources>
<vsm:VisualStateManager.VisualStateGroups>
<vsm:VisualStateGroup x:Name="CommonStates">
<vsm:VisualState x:Name="Normal" />
<vsm:VisualState x:Name="Disabled">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="DisabledVisual" Storyboard.TargetProperty="Opacity" To="1" Duration="0" />
</Storyboard>
</vsm:VisualState>
</vsm:VisualStateGroup>
</vsm:VisualStateManager.VisualStateGroups>
<Border BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{TemplateBinding BorderBrush}" Background="{TemplateBinding Background}" Margin="0,2,0,2">
<Border BorderBrush="#00000000" BorderThickness="2">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<Grid.Resources>
<ControlTemplate x:Key="HeaderButtonTemplate" TargetType="Button">
<Grid Cursor="Arrow">
<vsm:VisualStateManager.VisualStateGroups>
<vsm:VisualStateGroup x:Name="CommonStates">
<vsm:VisualState x:Name="Normal" />
<vsm:VisualState x:Name="MouseOver">
<!--<Storyboard>
<ColorAnimation Storyboard.TargetName="Content" Storyboard.TargetProperty="(ContentControl.Foreground).(SolidColorBrush.Color)" To="#FF73A9D8" Duration="0" />
</Storyboard>-->
</vsm:VisualState>
<vsm:VisualState x:Name="Disabled">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="Content" Storyboard.TargetProperty="Opacity" To=".5" Duration="0" />
</Storyboard>
</vsm:VisualState>
</vsm:VisualStateGroup>
</vsm:VisualStateManager.VisualStateGroups>
<ContentControl x:Name="Content" IsTabStop="False" Foreground="#F0F0F0" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" Margin="1,5,1,9" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
</Grid>
</ControlTemplate>
<DataTemplate x:Name="DayTitleTemplate">
<TextBlock FontWeight="Normal" Foreground="#909090" FontSize="10" Text="{Binding}" Margin="10,4,0,4" HorizontalAlignment="Center" VerticalAlignment="Center" />
</DataTemplate>
<ControlTemplate x:Key="PreviousButtonTemplate" TargetType="Button">
<Grid Cursor="Hand" Opacity="0">
<vsm:VisualStateManager.VisualStateGroups>
<vsm:VisualStateGroup x:Name="CommonStates">
<vsm:VisualState x:Name="Normal" />
<vsm:VisualState x:Name="MouseOver">
<!--<Storyboard>
<ColorAnimation Storyboard.TargetName="IconPath" Storyboard.TargetProperty="(Path.Fill).(SolidColorBrush.Color)" To="#FF73A9D8" Duration="0" />
</Storyboard>-->
</vsm:VisualState>
<vsm:VisualState x:Name="Disabled">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="IconPath" Storyboard.TargetProperty="(Path.Fill).(SolidColorBrush.Opacity)" To=".5" Duration="0" />
</Storyboard>
</vsm:VisualState>
</vsm:VisualStateGroup>
</vsm:VisualStateManager.VisualStateGroups>
<Rectangle Fill="#11E5EBF1" Stretch="Fill" Opacity="0" />
<Grid>
<Path x:Name="IconPath" Fill="#F0F0F0" Margin="14,-6,0,0" Height="10" Width="6" VerticalAlignment="Center" HorizontalAlignment="Left" Stretch="Fill" Data="M288.75,232.25 L288.75,240.625 L283,236.625 z" />
</Grid>
</Grid>
</ControlTemplate>
<ControlTemplate x:Key="NextButtonTemplate" TargetType="Button">
<Grid Cursor="Hand" Opacity="0">
<vsm:VisualStateManager.VisualStateGroups>
<vsm:VisualStateGroup x:Name="CommonStates">
<vsm:VisualState x:Name="Normal" />
<vsm:VisualState x:Name="MouseOver">
<Storyboard>
<ColorAnimation Storyboard.TargetName="IconPath" Storyboard.TargetProperty="(Path.Fill).(SolidColorBrush.Color)" To="#FF73A9D8" Duration="0" />
</Storyboard>
</vsm:VisualState>
<vsm:VisualState x:Name="Disabled">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="IconPath" Storyboard.TargetProperty="(Path.Fill).(SolidColorBrush.Opacity)" To=".5" Duration="0" />
</Storyboard>
</vsm:VisualState>
</vsm:VisualStateGroup>
</vsm:VisualStateManager.VisualStateGroups>
<Rectangle Fill="#11E5EBF1" Stretch="Fill" Opacity="0" />
<Grid>
<Path x:Name="IconPath" Fill="#F0F0F0" Margin="0,-6,14,0" Height="10" Width="6" Stretch="Fill" VerticalAlignment="Center" HorizontalAlignment="Right" Data="M282.875,231.875 L282.875,240.375 L288.625,236 z" />
</Grid>
</Grid>
</ControlTemplate>
</Grid.Resources>
<Button x:Name="PreviousButton" Height="20" Width="28" Visibility="Collapsed" Template="{StaticResource PreviousButtonTemplate}" HorizontalAlignment="Left" />
<Button x:Name="HeaderButton" Grid.Column="0" FontWeight="Normal" FontSize="11" Template="{StaticResource HeaderButtonTemplate}" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="15 0 0 0" />
<Button x:Name="NextButton" Grid.Column="2" Height="20" Width="28" Visibility="Collapsed" Template="{StaticResource NextButtonTemplate}" HorizontalAlignment="Right" />
<Grid x:Name="MonthView" Grid.Row="1" Grid.ColumnSpan="3" Visibility="Collapsed" Margin="6,-1,6,6">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
</Grid>
<Grid x:Name="YearView" Grid.Row="1" Grid.ColumnSpan="3" Visibility="Collapsed" Margin="6,-3,7,6">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
</Grid>
</Grid>
</Border>
</Border>
<Rectangle x:Name="DisabledVisual" Opacity="0" Visibility="Collapsed" Stretch="Fill" RadiusX="2" RadiusY="2" StrokeThickness="1" Stroke="{StaticResource DisabledBrush}" Fill="{StaticResource DisabledBrush}" Margin="0,2,0,2" />
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="customCalendarDayButtonStyle" TargetType="System_Windows_Controls_Primitives:CalendarDayButton">
<Setter Property="Background" Value="Transparent" />
<Setter Property="Cursor" Value="Hand" />
<Setter Property="FontSize" Value="11" />
<Setter Property="FontWeight" Value="Bold"/>
<Setter Property="HorizontalContentAlignment" Value="Center" />
<Setter Property="VerticalContentAlignment" Value="Center" />
<Setter Property="MinWidth" Value="5" />
<Setter Property="MinHeight" Value="5" />
<Setter Property="Width" Value="20" />
<Setter Property="Height" Value="20" />
<Setter Property="Margin" Value="10 0 0 12" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="System_Windows_Controls_Primitives:CalendarDayButton">
<Grid>
<vsm:VisualStateManager.VisualStateGroups>
<vsm:VisualStateGroup x:Name="CommonStates">
<vsm:VisualStateGroup.Transitions>
<vsm:VisualTransition GeneratedDuration="0:0:0.1" />
</vsm:VisualStateGroup.Transitions>
<vsm:VisualState x:Name="Normal" />
<vsm:VisualState x:Name="MouseOver">
<Storyboard>
<!--<DoubleAnimation Storyboard.TargetName="Background" Storyboard.TargetProperty="Opacity" To="1" Duration="0" />-->
</Storyboard>
</vsm:VisualState>
<vsm:VisualState x:Name="Pressed">
<Storyboard>
<!--<DoubleAnimation Storyboard.TargetName="Background" Storyboard.TargetProperty="Opacity" To="1" Duration="0" />-->
<!--<ColorAnimation Storyboard.TargetName="Content" Storyboard.TargetProperty="(ContentControl.Foreground).(GradientBrush.GradientStops)[2].(GradientStop.Color)" To="#F7BE02" Duration="0" />
<ColorAnimation Storyboard.TargetName="Content" Storyboard.TargetProperty="(ContentControl.Foreground).(GradientBrush.GradientStops)[3].(GradientStop.Color)" To="#F7BE02" Duration="0" />-->
</Storyboard>
</vsm:VisualState>
<vsm:VisualState x:Name="Disabled">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="Background" Storyboard.TargetProperty="Opacity" To="1" Duration="0" />
<!--<DoubleAnimation Storyboard.TargetName="Content" Storyboard.TargetProperty="Opacity" To=".35" Duration="0" />-->
</Storyboard>
</vsm:VisualState>
</vsm:VisualStateGroup>
<vsm:VisualStateGroup x:Name="SelectionStates">
<vsm:VisualStateGroup.Transitions>
<vsm:VisualTransition GeneratedDuration="0" />
</vsm:VisualStateGroup.Transitions>
<vsm:VisualState x:Name="Unselected" />
<vsm:VisualState x:Name="Selected">
<Storyboard>
<!--<DoubleAnimation Storyboard.TargetName="SelectedBackground" Storyboard.TargetProperty="Opacity" To="1" Duration="0" />-->
<!--<DoubleAnimation Storyboard.TargetName="Content" Storyboard.TargetProperty="ContentControl.FontSize" To="14" Duration="0" />-->
<ColorAnimation Storyboard.TargetName="Content" Storyboard.TargetProperty="(ContentControl.Foreground).(GradientBrush.GradientStops)[2].(GradientStop.Color)" To="#000000" Duration="0" />
<ColorAnimation Storyboard.TargetName="Content" Storyboard.TargetProperty="(ContentControl.Foreground).(GradientBrush.GradientStops)[3].(GradientStop.Color)" To="#000000" Duration="0" />
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="Fill">
<ObjectAnimationUsingKeyFrames.KeyFrames>
<DiscreteObjectKeyFrame KeyTime="0:0:0">
<DiscreteObjectKeyFrame.Value>
<SolidColorBrush Color="#F1DD00"/>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames.KeyFrames>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</vsm:VisualState>
</vsm:VisualStateGroup>
<vsm:VisualStateGroup x:Name="CalendarButtonFocusStates">
<vsm:VisualStateGroup.Transitions>
<vsm:VisualTransition GeneratedDuration="0" />
</vsm:VisualStateGroup.Transitions>
<vsm:VisualState x:Name="CalendarButtonFocused">
<Storyboard>
<!--<ColorAnimation Storyboard.TargetName="Content" Storyboard.TargetProperty="(ContentControl.Foreground).(GradientBrush.GradientStops)[2].(GradientStop.Color)" To="#F7BE02" Duration="0" />
<ColorAnimation Storyboard.TargetName="Content" Storyboard.TargetProperty="(ContentControl.Foreground).(GradientBrush.GradientStops)[3].(GradientStop.Color)" To="#F7BE02" Duration="0" />-->
</Storyboard>
</vsm:VisualState>
<vsm:VisualState x:Name="CalendarButtonUnfocused">
<!--<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="FocusVisual" Storyboard.TargetProperty="Visibility" Duration="0">
<DiscreteObjectKeyFrame KeyTime="0" Value="Collapsed" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>-->
</vsm:VisualState>
</vsm:VisualStateGroup>
<vsm:VisualStateGroup x:Name="ActiveStates">
<vsm:VisualStateGroup.Transitions>
<vsm:VisualTransition GeneratedDuration="0" />
</vsm:VisualStateGroup.Transitions>
<vsm:VisualState x:Name="Active" />
<vsm:VisualState x:Name="Inactive">
<Storyboard>
<ColorAnimation Storyboard.TargetName="Content" Storyboard.TargetProperty="(ContentControl.Foreground).(GradientBrush.GradientStops)[2].(GradientStop.Color)" To="#FF777777" Duration="0" />
<ColorAnimation Storyboard.TargetName="Content" Storyboard.TargetProperty="(ContentControl.Foreground).(GradientBrush.GradientStops)[3].(GradientStop.Color)" To="#FF777777" Duration="0" />
</Storyboard>
</vsm:VisualState>
</vsm:VisualStateGroup>
<vsm:VisualStateGroup x:Name="DayStates">
<vsm:VisualStateGroup.Transitions>
<vsm:VisualTransition GeneratedDuration="0" />
</vsm:VisualStateGroup.Transitions>
<vsm:VisualState x:Name="RegularDay" />
<vsm:VisualState x:Name="Today">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="TodayBackground" Storyboard.TargetProperty="Opacity" To="1" Duration="0" />
</Storyboard>
</vsm:VisualState>
</vsm:VisualStateGroup>
<vsm:VisualStateGroup x:Name="BlackoutDayStates">
<vsm:VisualStateGroup.Transitions>
<vsm:VisualTransition GeneratedDuration="0" />
</vsm:VisualStateGroup.Transitions>
<vsm:VisualState x:Name="NormalDay" />
<vsm:VisualState x:Name="BlackoutDay">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="Content" Storyboard.TargetProperty="Opacity" To="0.2" Duration="0" />
<!--<DoubleAnimation Storyboard.TargetName="Content" Storyboard.TargetProperty="(ContentControl.Foreground).(GradientBrush.GradientStops)[2].(GradientStop.Offset)" To="1" Duration="0" />-->
<!--<DoubleAnimation Storyboard.TargetName="BlackoutVisual" Storyboard.TargetProperty="Opacity" To=".2" Duration="0" />-->
</Storyboard>
</vsm:VisualState>
</vsm:VisualStateGroup>
</vsm:VisualStateManager.VisualStateGroups>
<Rectangle x:Name="TodayBackground" Opacity="0" Fill="Transparent" Stroke="#F1DD00" StrokeThickness="1"/>
<Rectangle x:Name="SelectedBackground" RadiusX="2" RadiusY="2" Opacity="0" Fill="Transparent" Stroke="#F7BE02"/>
<Rectangle x:Name="Background" Opacity="1" Fill="#5A5C5D" Stroke="Transparent" StrokeThickness="1"/>
<ContentControl x:Name="Content" IsTabStop="False" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" FontSize="{TemplateBinding FontSize}" Margin="0,1,0,1">
<ContentControl.Foreground>
<LinearGradientBrush>
<GradientStop Offset="0" Color="#FFFFFFFF" />
<GradientStop Offset="0" Color="#FFFFFFFF" />
<GradientStop Offset="0" Color="#F0F0F0" />
<GradientStop Offset="1" Color="#F0F0F0" />
</LinearGradientBrush>
</ContentControl.Foreground>
</ContentControl>
<Path x:Name="BlackoutVisual" Opacity="0" Margin="2" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" RenderTransformOrigin="0.5,0.5" Fill="#FFFFFFFF" Stretch="Uniform" Data="M8.1772461,11.029181 L10.433105,11.029181 L11.700684,12.801641 L12.973633,11.029181 L15.191895,11.029181 L12.844727,13.999395 L15.21875,17.060919 L12.962891,17.060919 L11.673828,15.256231 L10.352539,17.060919 L8.1396484,17.060919 L10.519043,14.042364 z" />
<Rectangle x:Name="FocusVisual" Visibility="Collapsed" IsHitTestVisible="false" RadiusX="2" RadiusY="2" Stroke="Transparent" />
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="customCalendarButtonStyle" TargetType="System_Windows_Controls_Primitives:CalendarButton">
<Setter Property="Background" Value="#FFBADDE9" />
<Setter Property="FontSize" Value="10" />
<Setter Property="HorizontalContentAlignment" Value="Center" />
<Setter Property="VerticalContentAlignment" Value="Center" />
<Setter Property="MinWidth" Value="40" />
<Setter Property="MinHeight" Value="42" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="System_Windows_Controls_Primitives:CalendarButton">
<Grid>
<vsm:VisualStateManager.VisualStateGroups>
<vsm:VisualStateGroup x:Name="CommonStates">
<vsm:VisualStateGroup.Transitions>
<vsm:VisualTransition GeneratedDuration="0:0:0.1" />
</vsm:VisualStateGroup.Transitions>
<vsm:VisualState x:Name="Normal" />
<vsm:VisualState x:Name="MouseOver">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="Background" Storyboard.TargetProperty="Opacity" To=".5" Duration="0" />
</Storyboard>
</vsm:VisualState>
<vsm:VisualState x:Name="Pressed">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="Background" Storyboard.TargetProperty="Opacity" To=".5" Duration="0" />
</Storyboard>
</vsm:VisualState>
</vsm:VisualStateGroup>
<vsm:VisualStateGroup x:Name="SelectionStates">
<vsm:VisualStateGroup.Transitions>
<vsm:VisualTransition GeneratedDuration="0" />
</vsm:VisualStateGroup.Transitions>
<vsm:VisualState x:Name="Unselected" />
<vsm:VisualState x:Name="Selected">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="SelectedBackground" Storyboard.TargetProperty="Opacity" To=".75" Duration="0" />
</Storyboard>
</vsm:VisualState>
</vsm:VisualStateGroup>
<vsm:VisualStateGroup x:Name="ActiveStates">
<vsm:VisualStateGroup.Transitions>
<vsm:VisualTransition GeneratedDuration="0" />
</vsm:VisualStateGroup.Transitions>
<vsm:VisualState x:Name="Active" />
<vsm:VisualState x:Name="Inactive">
<Storyboard>
<ColorAnimation Storyboard.TargetName="Content" Storyboard.TargetProperty="(ContentControl.Foreground).(SolidColorBrush.Color)" To="#FF777777" Duration="0" />
</Storyboard>
</vsm:VisualState>
</vsm:VisualStateGroup>
<vsm:VisualStateGroup x:Name="CalendarButtonFocusStates">
<vsm:VisualStateGroup.Transitions>
<vsm:VisualTransition GeneratedDuration="0" />
</vsm:VisualStateGroup.Transitions>
<vsm:VisualState x:Name="CalendarButtonFocused">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="FocusVisual" Storyboard.TargetProperty="Visibility" Duration="0">
<DiscreteObjectKeyFrame KeyTime="0" Value="Visible" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</vsm:VisualState>
<vsm:VisualState x:Name="CalendarButtonUnfocused">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="FocusVisual" Storyboard.TargetProperty="Visibility" Duration="0">
<DiscreteObjectKeyFrame KeyTime="0" Value="Collapsed" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</vsm:VisualState>
</vsm:VisualStateGroup>
</vsm:VisualStateManager.VisualStateGroups>
<Rectangle x:Name="SelectedBackground" RadiusX="1" RadiusY="1" Opacity="0" Fill="{TemplateBinding Background}" />
<Rectangle x:Name="Background" RadiusX="1" RadiusY="1" Opacity="0" Fill="{TemplateBinding Background}" />
<ContentControl x:Name="Content" IsTabStop="False" Foreground="#FF333333" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" FontSize="{TemplateBinding FontSize}" Margin="1,0,1,1" />
<Rectangle x:Name="FocusVisual" Visibility="Collapsed" IsHitTestVisible="false" RadiusX="1" RadiusY="1" Stroke="#FF6DBDD1" />
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</ResourceDictionary>
Error while parsing xaml referred to in ResourceDictionary::Source property '/FavoritBookingSilverlightUI;component/Resources/CalendarStyleResources.xaml'.
System.Windows.Markup.XamlParseException: Could not convert attribute value 'System_Windows_Controls_Primitives:CalendarItem' on element Style for property TargetType.
at Mono.Xaml.XamlParser.ParseAttributeValue (Mono.Xaml.XamlObjectElement element, Mono.Xaml.XamlPropertySetter property, XamlAttribute ai) [0x00000] in <filename unknown>:0
at Mono.Xaml.XamlParser.ParseAttribute (Mono.Xaml.XamlObjectElement element, XamlAttribute ai) [0x00000] in <filename unknown>:0
at Mono.Xaml.XamlParser.XamlNode_OnAttribute (Mono.Xaml.XamlNode node, XamlAttribute ai) [0x00000] in <filename unknown>:0
at Mono.Xaml.XamlNode.Parse (System.Xml.XmlReader reader, Mono.Xaml.XamlNode parent, Mono.Xaml.XamlNode node, Mono.Xaml.NodeEvent evstart, Mono.Xaml.NodeEvent evend, Mono.Xaml.AttributeEvent evattr, Boolean skip) [0x00000] in <filename unknown>:0
at Mono.Xaml.XamlNode.Parse (System.Xml.XmlReader reader, Mono.Xaml.XamlNode parent, Mono.Xaml.XamlNode node, Mono.Xaml.NodeEvent evstart, Mono.Xaml.NodeEvent evend, Mono.Xaml.AttributeEvent evattr, Boolean skip) [0x00000] in <filename unknown>:0
at Mono.Xaml.XamlNode.Parse (Mono.Xaml.NodeEvent evstart, Mono.Xaml.NodeEvent evend, Mono.Xaml.AttributeEvent evattr) [0x00000] in <filename unknown>:0
at Mono.Xaml.XamlNode.Parse (System.String xml, Mono.Xaml.NodeEvent evstart, Mono.Xaml.NodeEvent evend, Mono.Xaml.AttributeEvent evattr) [0x00000] in <filename unknown>:0
at Mono.Xaml.XamlParser.ParseString (System.String str) [0x00000] in <filename unknown>:0
Exception while parsing string (44:6)
System.Windows.Markup.XamlParseException: Could not convert attribute value 'System_Windows_Controls_Primitives:CalendarItem' on element Style for property TargetType.
at Mono.Xaml.XamlParser.ParseAttributeValue (Mono.Xaml.XamlObjectElement element, Mono.Xaml.XamlPropertySetter property, XamlAttribute ai) [0x00000] in <filename unknown>:0
at Mono.Xaml.XamlParser.ParseAttribute (Mono.Xaml.XamlObjectElement element, XamlAttribute ai) [0x00000] in <filename unknown>:0
at Mono.Xaml.XamlParser.XamlNode_OnAttribute (Mono.Xaml.XamlNode node, XamlAttribute ai) [0x00000] in <filename unknown>:0
at Mono.Xaml.XamlNode.Parse (System.Xml.XmlReader reader, Mono.Xaml.XamlNode parent, Mono.Xaml.XamlNode node, Mono.Xaml.NodeEvent evstart, Mono.Xaml.NodeEvent evend, Mono.Xaml.AttributeEvent evattr, Boolean skip) [0x00000] in <filename unknown>:0
at Mono.Xaml.XamlNode.Parse (System.Xml.XmlReader reader, Mono.Xaml.XamlNode parent, Mono.Xaml.XamlNode node, Mono.Xaml.NodeEvent evstart, Mono.Xaml.NodeEvent evend, Mono.Xaml.AttributeEvent evattr, Boolean skip) [0x00000] in <filename unknown>:0
at Mono.Xaml.XamlNode.Parse (Mono.Xaml.NodeEvent evstart, Mono.Xaml.NodeEvent evend, Mono.Xaml.AttributeEvent evattr) [0x00000] in <filename unknown>:0
at Mono.Xaml.XamlNode.Parse (System.String xml, Mono.Xaml.NodeEvent evstart, Mono.Xaml.NodeEvent evend, Mono.Xaml.AttributeEvent evattr) [0x00000] in <filename unknown>:0
at Mono.Xaml.XamlParser.ParseString (System.String str) [0x00000] in <filename unknown>:0
string:
<Application xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="FavoritBookingSilverlightUI.App"
>
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="Resources/CommonResources.xaml"/>
<ResourceDictionary Source="Resources/ButtonResources.xaml"/>
<ResourceDictionary Source="Resources/CustomButtonResources.xaml"/>
<ResourceDictionary Source="Resources/ComboBoxResources.xaml"/>
<ResourceDictionary Source="Resources/ToggleButtonResources.xaml"/>
<ResourceDictionary Source="Resources/CheckBoxResource.xaml"/>
<ResourceDictionary Source="Resources/HyperlinkButtonResources.xaml"/>
<ResourceDictionary Source="Resources/CalendarStyleResources.xaml"/>
<ResourceDictionary Source="Resources/ChildWindowResources.xaml"/>
<ResourceDictionary Source="Resources/Styles/BlackScrollViewerResources.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
</Application>
Moonlight: ErrorEventArgs created with message: 'Error while creating the instance of type FavoritBookingSilverlightUI.App'
(plugin-container:2894): Moonlight-WARNING **: (plugin-class.cpp:610):static void Moonlight::EventListenerProxy::proxy_listener_to_javascript(Moonlight::EventObject*, Moonlight::EventArgs*, void*): runtime check failed: (js_sender != NULL)
Users browsing this forum: No registered users and 1 guest