add spinner, remove debug messages

This commit is contained in:
Mario Hüttel 2018-05-16 20:07:41 +02:00
parent 7aa593fdf9
commit f5f381b37a
2 changed files with 14 additions and 4 deletions

View File

@ -36,6 +36,18 @@
<property name="position">0</property> <property name="position">0</property>
</packing> </packing>
</child> </child>
<child>
<object class="GtkSpinner">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="active">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child> <child>
<object class="GtkButton" id="button-load-mapping"> <object class="GtkButton" id="button-load-mapping">
<property name="label" translatable="yes">Load Mapping</property> <property name="label" translatable="yes">Load Mapping</property>
@ -47,7 +59,7 @@
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
<property name="fill">True</property> <property name="fill">True</property>
<property name="position">1</property> <property name="position">2</property>
</packing> </packing>
</child> </child>
<child> <child>
@ -61,7 +73,7 @@
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
<property name="fill">True</property> <property name="fill">True</property>
<property name="position">2</property> <property name="position">3</property>
</packing> </packing>
</child> </child>
</object> </object>

View File

@ -123,11 +123,9 @@ void generate_layer_widgets(GtkListBox *listbox, GList *libs)
{ {
GList *cell_list = NULL; GList *cell_list = NULL;
struct gds_library *lib; struct gds_library *lib;
printf("foo?\n");
clear_list_box_widgets(listbox); clear_list_box_widgets(listbox);
gtk_list_box_set_sort_func(listbox, sort_func, NULL, NULL); gtk_list_box_set_sort_func(listbox, sort_func, NULL, NULL);
printf("layers deleted\n");
for (; libs != NULL; libs = libs->next) { for (; libs != NULL; libs = libs->next) {
lib = (struct gds_library *)libs->data; lib = (struct gds_library *)libs->data;