[PATCH] The custom spoke requires mountPointStore and mountPointCompletion, too.

David Shea dshea at redhat.com
Wed Mar 19 14:14:57 UTC 2014


On 03/19/2014 03:41 AM, Vratislav Podzimek wrote:
> On Tue, 2014-03-18 at 14:40 -0400, Chris Lumens wrote:
>> ---
>>   pyanaconda/ui/gui/spokes/custom.glade | 9 +++++++++
>>   1 file changed, 9 insertions(+)
>>
>> diff --git a/pyanaconda/ui/gui/spokes/custom.glade b/pyanaconda/ui/gui/spokes/custom.glade
>> index e26129a..81938e9 100644
>> --- a/pyanaconda/ui/gui/spokes/custom.glade
>> +++ b/pyanaconda/ui/gui/spokes/custom.glade
>> @@ -3,6 +3,15 @@
>>   <interface>
>>     <!-- interface-requires gtk+ 3.2 -->
>>     <!-- interface-requires AnacondaWidgets 1.0 -->
>> +  <object class="GtkListStore" id="mountPointStore">
>> +    <columns>
>> +      <!-- column-name path -->
>> +      <column type="gchararray"/>
>> +    </columns>
>> +  </object>
>> +  <object class="GtkEntryCompletion" id="mountPointCompletion">
>> +    <property name="model">mountPointStore</property>
>> +  </object>
>>     <object class="AnacondaSpokeWindow" id="customStorageWindow">
>>       <property name="can_focus">False</property>
>>       <property name="events">GDK_KEY_RELEASE_MASK | GDK_STRUCTURE_MASK</property>
> NACK. The custom spoke actually doesn't need those two objects. They
> were incorrectly listed in the builderObjects list. Sending a new patch.
>

If that's the case then there's also a problem with this in custom.glade:

                                   <object class="GtkEntry" 
id="mountPointEntry">
                                     <property 
name="visible">True</property>
                                     <property 
name="can_focus">True</property>
                                     <property 
name="hexpand">True</property>
                                     <property 
name="invisible_char">●</property>
                                     <property 
name="completion">mountPointCompletion</property>
                                     <signal name="changed" 
handler="on_value_changed" swapped="no"/>
                                   </object>



More information about the anaconda-patches mailing list