Revision: 5680 Author: pebender Date: Wed Oct 14 14:59:08 2009 Log: - Modified init so that it initializes Hulu Desktop in full screen mode.
http://code.google.com/p/minimyth/source/detail?r=5680 Modified: /trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/hulu.pm /trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/home/minimyth/.huludesktop ======================================= --- /trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/hulu.pm Sat Oct 10 07:56:18 2009 +++ /trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/hulu.pm Wed Oct 14 14:59:08 2009 @@ -39,36 +39,12 @@ { $minimyth->message_output('err', 'Hulu Desktop will fail because Adobe Flash Player is missing.') } - my $gui_x = $minimyth->mythdb_settings_get('GuiWidth'); - my $gui_y = $minimyth->mythdb_settings_get('GuiHeight'); - my $gui_x_offset = $minimyth->mythdb_settings_get('GuiOffsetX'); - my $gui_y_offset = $minimyth->mythdb_settings_get('GuiOffsetY'); - if (! defined($gui_x)) - { - $gui_x = 0; - } - if (! defined($gui_y)) - { - $gui_y = 0; - } - if (! defined($gui_x_offset)) - { - $gui_x_offset = 0; - } - if (! defined($gui_y_offset)) - { - $gui_y_offset = 0; - } my $remote = $minimyth->var_get('MM_HULU_REMOTE'); $minimyth->file_replace_variable( '/home/minimyth/.huludesktop', - { '@GUI_X@' => $gui_x, - '@GUI_Y@' => $gui_y, - '@GUI_X_OFFSET@' => $gui_x_offset, - '@GUI_Y_OFFSET@' => $gui_y_offset, - '@REMOTE@' => $remote }); + { '@REMOTE@' => $remote }); } else { ======================================= --- /trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/home/minimyth/.huludesktop Fri Oct 9 13:44:36 2009 +++ /trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/home/minimyth/.huludesktop Wed Oct 14 14:59:08 2009 @@ -1,9 +1,7 @@ [display] -fullscreen = FALSE -width = @GUI_X@ -height = @GUI_Y@ -pos_x = @GUI_X_OFFSET@ -pos_y = @GUI_Y_OFFSET@ +fullscreen = TRUE +pos_x = 0 +pos_y = 0 [remote] lirc_device = /var/run/lirc/lircd lirc_remote_identifier = @REMOTE@ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "minimyth-commits" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/minimyth-commits?hl=en -~----------~----~----~----~------~----~------~--~---
