AMC-1.0.3-2_association.patch

Alexis Bienvenüe, 03/07/2012 12:13 pm

Download (1.5 kB)

 
/usr/share/perl5/AMC/Gui/Association.pm.patched 2012-03-07 11:50:13.667641190 +0100
133 133

  
134 134
    $self->{'gui'}=Gtk2::GladeXML->new($glade_xml,undef,'auto-multiple-choice');
135 135

  
136
    for my $k (qw/tableau titre photo associes_cb copies_tree bouton_effacer bouton_inconnu/) {
136
    for my $k (qw/tableau titre photo associes_cb copies_tree bouton_effacer bouton_inconnu scrolled_tableau/) {
137 137
	$self->{$k}=$self->{'gui'}->get_widget($k);
138 138
    }
139 139

  
......
172 172
	}
173 173
    }
174 174

  
175
    $self->{'tableau'}->size_request;
176
    $self->{'tableau'}->set_size_request(-1,100);
177

  
178 175
    # vue arborescente
179 176

  
180 177
    my ($copies_store,$renderer,$column);
......
242 239
    $self->image_suivante();
243 240
    $self->maj_couleurs_liste();
244 241

  
242
    $self->{'scrolled_tableau'}->set_policy('automatic','automatic');
243

  
245 244
    return($self);
246 245
}
247 246

  
248
-- /usr/share/perl5/AMC/Gui/Association.glade	2012-03-07 11:42:17.655629184 +0100
247
++ /usr/share/perl5/AMC/Gui/Association.glade.patched	2012-03-07 11:42:37.943629645 +0100
......
40 40
                  </packing>
41 41
                </child>
42 42
                <child>
43
                  <widget class="GtkScrolledWindow" id="scrolledwindow2">
43
                  <widget class="GtkScrolledWindow" id="scrolled_tableau">
44 44
                    <property name="visible">True</property>
45 45
                    <property name="can_focus">True</property>
46 46
                    <property name="hscrollbar_policy">GTK_POLICY_NEVER</property>