mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix ups for dialog-commodity
This commit is contained in:
parent
4a81e94b66
commit
84e3b303f4
@ -992,10 +992,12 @@ gnc_ui_build_commodity_dialog(const char * selected_namespace,
|
|||||||
retval->table = GTK_WIDGET(gtk_builder_get_object (builder, "edit_table"));
|
retval->table = GTK_WIDGET(gtk_builder_get_object (builder, "edit_table"));
|
||||||
sec_label = GTK_WIDGET(gtk_builder_get_object (builder, "security_label"));
|
sec_label = GTK_WIDGET(gtk_builder_get_object (builder, "security_label"));
|
||||||
gtk_container_child_get(GTK_CONTAINER(retval->table), sec_label,
|
gtk_container_child_get(GTK_CONTAINER(retval->table), sec_label,
|
||||||
"bottom-attach", &retval->comm_section_top, NULL);
|
"top-attach", &retval->comm_section_top, NULL);
|
||||||
|
|
||||||
widget = GTK_WIDGET(gtk_builder_get_object (builder, "quote_label"));
|
widget = GTK_WIDGET(gtk_builder_get_object (builder, "quote_label"));
|
||||||
gtk_container_child_get(GTK_CONTAINER(retval->table), widget,
|
gtk_container_child_get(GTK_CONTAINER(retval->table), widget,
|
||||||
"top-attach", &retval->comm_section_bottom, NULL);
|
"top-attach", &retval->comm_section_bottom, NULL);
|
||||||
|
|
||||||
gtk_container_child_get(GTK_CONTAINER(retval->table),
|
gtk_container_child_get(GTK_CONTAINER(retval->table),
|
||||||
retval->user_symbol_entry, "top-attach",
|
retval->user_symbol_entry, "top-attach",
|
||||||
&retval->comm_symbol_line, NULL);
|
&retval->comm_symbol_line, NULL);
|
||||||
@ -1029,12 +1031,11 @@ gnc_ui_build_commodity_dialog(const char * selected_namespace,
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
guint row;
|
gtk_grid_set_row_spacing(GTK_GRID(retval->table), 0);
|
||||||
|
|
||||||
widget = GTK_WIDGET(gtk_builder_get_object (builder, "unknown_source_alignment"));
|
widget = GTK_WIDGET(gtk_builder_get_object (builder, "unknown_source_alignment"));
|
||||||
gtk_container_child_get(GTK_CONTAINER(retval->table), widget,
|
|
||||||
"top-attach", &row, NULL);
|
|
||||||
gtk_widget_destroy(widget);
|
gtk_widget_destroy(widget);
|
||||||
|
|
||||||
widget = GTK_WIDGET(gtk_builder_get_object (builder, "unknown_source_box"));
|
widget = GTK_WIDGET(gtk_builder_get_object (builder, "unknown_source_box"));
|
||||||
gtk_widget_destroy(widget);
|
gtk_widget_destroy(widget);
|
||||||
}
|
}
|
||||||
@ -1072,10 +1073,12 @@ gnc_ui_build_commodity_dialog(const char * selected_namespace,
|
|||||||
/* Determine the price quote of the dialog */
|
/* Determine the price quote of the dialog */
|
||||||
widget = GTK_WIDGET(gtk_builder_get_object (builder, "fq_warning_alignment"));
|
widget = GTK_WIDGET(gtk_builder_get_object (builder, "fq_warning_alignment"));
|
||||||
gtk_container_child_get(GTK_CONTAINER(retval->table), widget,
|
gtk_container_child_get(GTK_CONTAINER(retval->table), widget,
|
||||||
"bottom-attach", &retval->fq_section_top, NULL);
|
"top-attach", &retval->fq_section_top, NULL);
|
||||||
widget = GTK_WIDGET(gtk_builder_get_object (builder, "quote_tz_alignment"));
|
|
||||||
|
widget = GTK_WIDGET(gtk_builder_get_object (builder, "bottom_alignment"));
|
||||||
gtk_container_child_get(GTK_CONTAINER(retval->table), widget,
|
gtk_container_child_get(GTK_CONTAINER(retval->table), widget,
|
||||||
"bottom-attach", &retval->fq_section_bottom, NULL);
|
"top-attach", &retval->fq_section_bottom, NULL);
|
||||||
|
|
||||||
gnc_ui_update_fq_info (retval);
|
gnc_ui_update_fq_info (retval);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -658,6 +658,22 @@
|
|||||||
<property name="top_attach">3</property>
|
<property name="top_attach">3</property>
|
||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkAlignment" id="bottom_alignment">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<child>
|
||||||
|
<placeholder/>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">0</property>
|
||||||
|
<property name="top_attach">16</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<placeholder/>
|
||||||
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<placeholder/>
|
<placeholder/>
|
||||||
</child>
|
</child>
|
||||||
|
Loading…
Reference in New Issue
Block a user