Set Toolbar style so button labels are displayed again (thanks Alan Fitton).
authorRichard Jones <rjones@redhat.com>
Mon, 21 Jun 2010 15:35:18 +0000 (11:35 -0400)
committerRichard Jones <rjones@redhat.com>
Mon, 21 Jun 2010 15:35:18 +0000 (11:35 -0400)
If you see empty button labels instead of "Next slide" etc with
recent versions of Perl Gtk2, then you need this patch.

techtalk-pse.pl

index 8b7f544..843f6c7 100755 (executable)
@@ -424,6 +424,7 @@ sub make_button_bar
     my %params = @_;
 
     my $bbox = Gtk2::Toolbar->new ();
+    $bbox->set_style ("GTK_TOOLBAR_TEXT");
 
     my $i = 0;