Files linked to dialog-find-account.glade

This commit is contained in:
Robert Fewell 2017-06-20 09:19:10 +01:00
parent 16c4be0219
commit 390912ad74
2 changed files with 32 additions and 33 deletions

View File

@ -265,9 +265,9 @@ gnc_find_account_dialog_create (GtkWidget *parent, FindAccountDialog *facc_dialo
ENTER(" "); ENTER(" ");
builder = gtk_builder_new(); builder = gtk_builder_new();
gnc_builder_add_from_file (builder, "dialog-find-account.glade", "list-store"); gnc_builder_add_from_file (builder, "dialog-find-account.glade", "list-store");
gnc_builder_add_from_file (builder, "dialog-find-account.glade", "Find Account Dialog"); gnc_builder_add_from_file (builder, "dialog-find-account.glade", "find_account_dialog");
dialog = GTK_WIDGET(gtk_builder_get_object (builder, "Find Account Dialog")); dialog = GTK_WIDGET(gtk_builder_get_object (builder, "find_account_dialog"));
facc_dialog->dialog = dialog; facc_dialog->dialog = dialog;
facc_dialog->session = gnc_get_current_session(); facc_dialog->session = gnc_get_current_session();

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.20.0 -->
<interface> <interface>
<requires lib="gtk+" version="2.16"/> <requires lib="gtk+" version="3.10"/>
<!-- interface-naming-policy toplevel-contextual -->
<object class="GtkListStore" id="list-store"> <object class="GtkListStore" id="list-store">
<columns> <columns>
<!-- column-name account_full_name --> <!-- column-name account_full_name -->
@ -18,7 +18,7 @@
<column type="gchararray"/> <column type="gchararray"/>
</columns> </columns>
</object> </object>
<object class="GtkDialog" id="Find Account Dialog"> <object class="GtkDialog" id="find_account_dialog">
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="border_width">6</property> <property name="border_width">6</property>
<property name="title" translatable="yes">Find Account Dialog</property> <property name="title" translatable="yes">Find Account Dialog</property>
@ -28,23 +28,11 @@
<signal name="destroy" handler="gnc_find_account_dialog_window_destroy_cb" swapped="no"/> <signal name="destroy" handler="gnc_find_account_dialog_window_destroy_cb" swapped="no"/>
<signal name="response" handler="gnc_find_account_dialog_response_cb" swapped="no"/> <signal name="response" handler="gnc_find_account_dialog_response_cb" swapped="no"/>
<child internal-child="vbox"> <child internal-child="vbox">
<object class="GtkVBox" id="dialog-vbox2"> <object class="GtkBox" id="dialog-vbox2">
<property name="can_focus">False</property> <property name="can_focus">False</property>
<child> <property name="orientation">vertical</property>
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="ypad">10</property>
<property name="label" translatable="yes">Search the Account List</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
<child internal-child="action_area"> <child internal-child="action_area">
<object class="GtkHButtonBox" id="dialog-action_area1"> <object class="GtkButtonBox" id="dialog-action_area1">
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="layout_style">end</property> <property name="layout_style">end</property>
<child> <child>
@ -53,6 +41,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="receives_default">False</property> <property name="receives_default">False</property>
<property name="halign">start</property>
<property name="active">True</property> <property name="active">True</property>
<property name="draw_indicator">True</property> <property name="draw_indicator">True</property>
</object> </object>
@ -64,11 +53,11 @@
</child> </child>
<child> <child>
<object class="GtkButton" id="jumpto_button"> <object class="GtkButton" id="jumpto_button">
<property name="label">gtk-jump-to</property> <property name="label" translatable="yes">_Jump To</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="receives_default">False</property> <property name="receives_default">False</property>
<property name="use_stock">True</property> <property name="use_underline">True</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -78,13 +67,13 @@
</child> </child>
<child> <child>
<object class="GtkButton" id="close_button"> <object class="GtkButton" id="close_button">
<property name="label">gtk-close</property> <property name="label" translatable="yes">_Close</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="can_default">True</property> <property name="can_default">True</property>
<property name="has_default">True</property> <property name="has_default">True</property>
<property name="receives_default">False</property> <property name="receives_default">False</property>
<property name="use_stock">True</property> <property name="use_underline">True</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -101,7 +90,21 @@
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkHBox" id="hbox-radio"> <object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_bottom">6</property>
<property name="label" translatable="yes">&lt;b&gt;Search the Account List&lt;/b&gt;</property>
<property name="use_markup">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkBox" id="hbox-radio">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="border_width">5</property> <property name="border_width">5</property>
@ -148,13 +151,14 @@
<object class="GtkScrolledWindow" id="scrolledwindow2"> <object class="GtkScrolledWindow" id="scrolledwindow2">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="hscrollbar_policy">automatic</property>
<property name="vscrollbar_policy">automatic</property>
<child> <child>
<object class="GtkTreeView" id="treeview"> <object class="GtkTreeView" id="treeview">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="model">list-store</property> <property name="model">list-store</property>
<child internal-child="selection">
<object class="GtkTreeSelection" id="treeview-selection1"/>
</child>
<child> <child>
<object class="GtkTreeViewColumn" id="account_full_name"> <object class="GtkTreeViewColumn" id="account_full_name">
<property name="resizable">True</property> <property name="resizable">True</property>
@ -180,7 +184,6 @@
<object class="GtkLabel" id="filter-label"> <object class="GtkLabel" id="filter-label">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="ypad">5</property>
<property name="label" translatable="yes">Case insensative searching is available on 'Account Full Name'.</property> <property name="label" translatable="yes">Case insensative searching is available on 'Account Full Name'.</property>
<property name="justify">center</property> <property name="justify">center</property>
</object> </object>
@ -191,7 +194,7 @@
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkHBox" id="hbox2"> <object class="GtkBox" id="hbox2">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<child> <child>
@ -210,11 +213,8 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="invisible_char">●</property> <property name="invisible_char">●</property>
<property name="invisible_char_set">True</property>
<property name="primary_icon_activatable">False</property> <property name="primary_icon_activatable">False</property>
<property name="secondary_icon_activatable">False</property> <property name="secondary_icon_activatable">False</property>
<property name="primary_icon_sensitive">True</property>
<property name="secondary_icon_sensitive">True</property>
</object> </object>
<packing> <packing>
<property name="expand">True</property> <property name="expand">True</property>
@ -258,7 +258,6 @@
<object class="GtkLabel" id="label2"> <object class="GtkLabel" id="label2">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="ypad">5</property>
<property name="label" translatable="yes">Select a row and then press 'jump to' to jump to account in the Account Tree, <property name="label" translatable="yes">Select a row and then press 'jump to' to jump to account in the Account Tree,
if account should not be shown, this will be temporarily overridden.</property> if account should not be shown, this will be temporarily overridden.</property>
<property name="justify">center</property> <property name="justify">center</property>