[Glade-users] Help to port sound-juicer to GtkBuilder



Hello.

I looked at the code and noticed that there is no such things as
GMAudioProfileChoose widget defined in gnome-media package. It's
simply a combo box with some predefined things.

<widget class="Custom" id="audio_profile">
?<property name="visible">True</property>
?<property name="can_focus">True</property>
?<property name="creation_function">gm_audio_profile_choose_new</property>
?<signal name="changed" handler="prefs_profile_changed"/>
</widget>

<object class="GMAudioProfileEdit" id="audio_profile">
?<property name="visible">True</property>
?<property name="can_focus">True</property>
?<signal name="changed" handler="prefs_profile_changed"/>
</object>

Those two snippets are not equal. First snippet creates combo box
while second snippet creates dialog.

I'm not sure how to fix this mess. One way would be to define
GMAudioProfileChoose custom widget inside gnome-media package, add it
to Glade catalog file and then use it as any custom widget.

If this cannot be done, one can still manually insert combo box into
the horizontal box. This is ugly, but it may be reasonable to do if
the urge to remove libglade is strong enough.

Tadej


-- 
Tadej Borov?ak
tadeboro.blogspot.com
tadeboro at gmail.com
tadej.borovsak at gmail.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]