Remove some default 'dummy' store entries as not required.

This commit is contained in:
Robert Fewell 2022-07-29 11:28:55 +01:00
parent dea1a89e81
commit 09e5c46dfd
4 changed files with 0 additions and 24 deletions

View File

@ -230,9 +230,7 @@ gnc_style_sheet_new (StyleSheetDialog * ssd)
g_assert (ssd); g_assert (ssd);
/* Erase the initial dummy entry. */
template_model = gtk_combo_box_get_model (GTK_COMBO_BOX(template_combo)); template_model = gtk_combo_box_get_model (GTK_COMBO_BOX(template_combo));
gtk_list_store_clear (GTK_LIST_STORE(template_model));
/* put in the list of style sheet type names */ /* put in the list of style sheet type names */
for (; !scm_is_null (templates); templates = SCM_CDR(templates)) for (; !scm_is_null (templates); templates = SCM_CDR(templates))

View File

@ -2,27 +2,11 @@
<!-- Generated with glade 3.38.2 --> <!-- Generated with glade 3.38.2 -->
<interface> <interface>
<requires lib="gtk+" version="3.22"/> <requires lib="gtk+" version="3.22"/>
<object class="GtkListStore" id="currency_liststore">
<columns>
<!-- column-name item -->
<column type="gchararray"/>
</columns>
<data>
<row>
<col id="0" translatable="yes">Dummy</col>
</row>
</data>
</object>
<object class="GtkListStore" id="date_format_liststore"> <object class="GtkListStore" id="date_format_liststore">
<columns> <columns>
<!-- column-name item --> <!-- column-name item -->
<column type="gchararray"/> <column type="gchararray"/>
</columns> </columns>
<data>
<row>
<col id="0" translatable="yes">Dummy</col>
</row>
</data>
</object> </object>
<object class="GtkAssistant" id="qif_import_assistant"> <object class="GtkAssistant" id="qif_import_assistant">
<property name="can-focus">False</property> <property name="can-focus">False</property>

View File

@ -697,11 +697,6 @@
<!-- column-name item --> <!-- column-name item -->
<column type="gchararray"/> <column type="gchararray"/>
</columns> </columns>
<data>
<row>
<col id="0" translatable="yes">Dummy</col>
</row>
</data>
</object> </object>
<object class="GtkDialog" id="new_style_sheet_dialog"> <object class="GtkDialog" id="new_style_sheet_dialog">
<property name="can-focus">False</property> <property name="can-focus">False</property>

View File

@ -3805,7 +3805,6 @@ gnc_ui_qif_import_assistant_make (QIFImportWindow *qif_win)
GtkWidget *box; GtkWidget *box;
builder = gtk_builder_new (); builder = gtk_builder_new ();
gnc_builder_add_from_file (builder, "assistant-qif-import.glade", "currency_liststore");
gnc_builder_add_from_file (builder, "assistant-qif-import.glade", "date_format_liststore"); gnc_builder_add_from_file (builder, "assistant-qif-import.glade", "date_format_liststore");
gnc_builder_add_from_file (builder, "assistant-qif-import.glade", "qif_import_assistant"); gnc_builder_add_from_file (builder, "assistant-qif-import.glade", "qif_import_assistant");