https://bugzilla.redhat.com/show_bug.cgi?id=997645

            Bug ID: 997645
           Summary: gtk colored buttons
           Product: Fedora
           Version: 18
         Component: perl-Gtk2
          Assignee: tcall...@redhat.com
          Reporter: aeben...@opentext.com
        QA Contact: extras...@fedoraproject.org
                CC: perl-devel@lists.fedoraproject.org,
                    tcall...@redhat.com



Description of problem:  perl-gtk2 applications that set the background color
for buttons aren't producing colored output.


Version-Release number of selected component (if applicable):  
perl-Gtk2-1.247-1.fc18.x86_64

How reproducible:

Create a trivial perl-gtk application with a coloured button.


Steps to Reproduce:
1. see below for code example to run

Actual results:

Button is created, but no colour.

Expected results:

Coloured button.  (Red.)

Additional info:

Note: this worked as expected in Fedora 17.  (perl-Gtk2-1.241-2.fc17.i686)

Sample colored button code:


#!/bin/perl

use Gtk2 qw/-init/;

my $window = Gtk2::Window->new;
$window->set_title("Window!");

my $button = Gtk2::Button->new("Coloured _button");
# does not affect text
$button->modify_bg(normal => Gtk2::Gdk::Color->new(0xffff, 0, 0));

$window->add($button);
$window->show_all;

Gtk2->main;

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=oIE2F6zBK1&a=cc_unsubscribe
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to