
2000-12-06 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added gal-view-collection.c, gal-view-etable.c, gal-view-factory-etable.c, gal-view-factory.c, gal-view-collection.h, gal-view-etable.h, gal-view-factory-etable.h, and gal-view-factory.h. * gal-define-views-dialog.c, gal-define-views-dialog.h: Rewrote this to take a GalViewCollection. This now passes its collection to the new view dialog but still doesn't get its list of views from the collection. * gal-define-views-model.c: Changed this to use the gal_view_get_title function instead of the "title" gtk argument. * gal-define-views.glade, gal-define-views.glade.h: Changed this dialog to be a bit cleaner. * gal-view-collection.c, gal-view-collection.h: A collection of views and view factories. * gal-view-etable.c, gal-view-etable.h: An implementation of the view class. This stores an ETableSpecification and the current ETableState. * gal-view-factory-etable.c, gal-view-factory-etable.h: An implementation of the view factory class. This stores an ETableSpecification and creates GalViewEtables when requested. * gal-view-factory.c, gal-view-factory.h: A new virtual class. Its primary job is to return new GalViews. * gal-view-new-dialog.c, gal-view-new-dialog.h: Added a collection argument to the new function here so that it can get a list of factories to choose from. * gal-view-new-dialog.glade, gal-view-new-dialog.glade.h: Added a CList for the list of factories to choose from. * gal-view.c, gal-view.h: Changed this to be a virtual class. svn path=/trunk/; revision=6811
314 lines
7.6 KiB
XML
314 lines
7.6 KiB
XML
<?xml version="1.0"?>
|
|
<GTK-Interface>
|
|
|
|
<project>
|
|
<name>gal-define-views</name>
|
|
<program_name>gal-define-views</program_name>
|
|
<directory></directory>
|
|
<source_directory>src</source_directory>
|
|
<pixmaps_directory>pixmaps</pixmaps_directory>
|
|
<language>C</language>
|
|
<gnome_support>True</gnome_support>
|
|
<gettext_support>True</gettext_support>
|
|
<use_widget_names>True</use_widget_names>
|
|
<output_main_file>False</output_main_file>
|
|
<output_support_files>False</output_support_files>
|
|
<output_build_files>False</output_build_files>
|
|
<gnome_help_support>True</gnome_help_support>
|
|
<output_translatable_strings>True</output_translatable_strings>
|
|
<translatable_strings_file>gal-define-views.glade.h</translatable_strings_file>
|
|
</project>
|
|
|
|
<widget>
|
|
<class>GnomeDialog</class>
|
|
<name>dialog1</name>
|
|
<visible>False</visible>
|
|
<title>Define Views for "%s"</title>
|
|
<type>GTK_WINDOW_TOPLEVEL</type>
|
|
<position>GTK_WIN_POS_NONE</position>
|
|
<modal>False</modal>
|
|
<allow_shrink>False</allow_shrink>
|
|
<allow_grow>True</allow_grow>
|
|
<auto_shrink>False</auto_shrink>
|
|
<auto_close>False</auto_close>
|
|
<hide_on_close>False</hide_on_close>
|
|
|
|
<widget>
|
|
<class>GtkVBox</class>
|
|
<child_name>GnomeDialog:vbox</child_name>
|
|
<name>dialog-vbox1</name>
|
|
<homogeneous>False</homogeneous>
|
|
<spacing>8</spacing>
|
|
<child>
|
|
<padding>4</padding>
|
|
<expand>True</expand>
|
|
<fill>True</fill>
|
|
</child>
|
|
|
|
<widget>
|
|
<class>GtkHButtonBox</class>
|
|
<child_name>GnomeDialog:action_area</child_name>
|
|
<name>dialog-action_area1</name>
|
|
<layout_style>GTK_BUTTONBOX_END</layout_style>
|
|
<spacing>8</spacing>
|
|
<child_min_width>85</child_min_width>
|
|
<child_min_height>27</child_min_height>
|
|
<child_ipad_x>7</child_ipad_x>
|
|
<child_ipad_y>0</child_ipad_y>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>False</expand>
|
|
<fill>True</fill>
|
|
<pack>GTK_PACK_END</pack>
|
|
</child>
|
|
|
|
<widget>
|
|
<class>GtkButton</class>
|
|
<name>button1</name>
|
|
<can_default>True</can_default>
|
|
<can_focus>True</can_focus>
|
|
<stock_button>GNOME_STOCK_BUTTON_OK</stock_button>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkButton</class>
|
|
<name>button7</name>
|
|
<can_default>True</can_default>
|
|
<can_focus>True</can_focus>
|
|
<stock_button>GNOME_STOCK_BUTTON_CANCEL</stock_button>
|
|
</widget>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkTable</class>
|
|
<name>table-top</name>
|
|
<rows>5</rows>
|
|
<columns>1</columns>
|
|
<homogeneous>False</homogeneous>
|
|
<row_spacing>6</row_spacing>
|
|
<column_spacing>6</column_spacing>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>True</expand>
|
|
<fill>True</fill>
|
|
</child>
|
|
|
|
<widget>
|
|
<class>GtkFrame</class>
|
|
<name>frame1</name>
|
|
<label>Description</label>
|
|
<label_xalign>0</label_xalign>
|
|
<shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type>
|
|
<child>
|
|
<left_attach>0</left_attach>
|
|
<right_attach>1</right_attach>
|
|
<top_attach>3</top_attach>
|
|
<bottom_attach>4</bottom_attach>
|
|
<xpad>0</xpad>
|
|
<ypad>0</ypad>
|
|
<xexpand>False</xexpand>
|
|
<yexpand>False</yexpand>
|
|
<xshrink>False</xshrink>
|
|
<yshrink>False</yshrink>
|
|
<xfill>True</xfill>
|
|
<yfill>True</yfill>
|
|
</child>
|
|
|
|
<widget>
|
|
<class>GtkTable</class>
|
|
<name>table-description</name>
|
|
<border_width>6</border_width>
|
|
<rows>1</rows>
|
|
<columns>2</columns>
|
|
<homogeneous>False</homogeneous>
|
|
<row_spacing>6</row_spacing>
|
|
<column_spacing>6</column_spacing>
|
|
</widget>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkHBox</class>
|
|
<name>hbox1</name>
|
|
<homogeneous>False</homogeneous>
|
|
<spacing>6</spacing>
|
|
<child>
|
|
<left_attach>0</left_attach>
|
|
<right_attach>1</right_attach>
|
|
<top_attach>1</top_attach>
|
|
<bottom_attach>2</bottom_attach>
|
|
<xpad>0</xpad>
|
|
<ypad>0</ypad>
|
|
<xexpand>True</xexpand>
|
|
<yexpand>True</yexpand>
|
|
<xshrink>False</xshrink>
|
|
<yshrink>False</yshrink>
|
|
<xfill>True</xfill>
|
|
<yfill>True</yfill>
|
|
</child>
|
|
|
|
<widget>
|
|
<class>Custom</class>
|
|
<name>custom-table</name>
|
|
<creation_function>gal_define_views_dialog_create_etable</creation_function>
|
|
<int1>0</int1>
|
|
<int2>0</int2>
|
|
<last_modification_time>Fri, 10 Nov 2000 16:37:39 GMT</last_modification_time>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>True</expand>
|
|
<fill>True</fill>
|
|
</child>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkVBox</class>
|
|
<name>vbox1</name>
|
|
<homogeneous>False</homogeneous>
|
|
<spacing>6</spacing>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>False</expand>
|
|
<fill>False</fill>
|
|
</child>
|
|
|
|
<widget>
|
|
<class>GtkButton</class>
|
|
<name>button-new</name>
|
|
<can_focus>True</can_focus>
|
|
<label>_New...</label>
|
|
<relief>GTK_RELIEF_NORMAL</relief>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>False</expand>
|
|
<fill>False</fill>
|
|
</child>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkButton</class>
|
|
<name>button-copy</name>
|
|
<can_focus>True</can_focus>
|
|
<label>_Copy...</label>
|
|
<relief>GTK_RELIEF_NORMAL</relief>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>False</expand>
|
|
<fill>False</fill>
|
|
</child>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkButton</class>
|
|
<name>button-modify</name>
|
|
<can_focus>True</can_focus>
|
|
<label>_Edit...</label>
|
|
<relief>GTK_RELIEF_NORMAL</relief>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>False</expand>
|
|
<fill>False</fill>
|
|
</child>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkButton</class>
|
|
<name>button-delete</name>
|
|
<can_focus>True</can_focus>
|
|
<label>_Delete...</label>
|
|
<relief>GTK_RELIEF_NORMAL</relief>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>False</expand>
|
|
<fill>False</fill>
|
|
</child>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkHButtonBox</class>
|
|
<name>hbuttonbox1</name>
|
|
<layout_style>GTK_BUTTONBOX_END</layout_style>
|
|
<spacing>6</spacing>
|
|
<child_min_width>85</child_min_width>
|
|
<child_min_height>27</child_min_height>
|
|
<child_ipad_x>7</child_ipad_x>
|
|
<child_ipad_y>0</child_ipad_y>
|
|
<child>
|
|
<left_attach>0</left_attach>
|
|
<right_attach>1</right_attach>
|
|
<top_attach>4</top_attach>
|
|
<bottom_attach>5</bottom_attach>
|
|
<xpad>0</xpad>
|
|
<ypad>0</ypad>
|
|
<xexpand>False</xexpand>
|
|
<yexpand>False</yexpand>
|
|
<xshrink>False</xshrink>
|
|
<yshrink>False</yshrink>
|
|
<xfill>True</xfill>
|
|
<yfill>True</yfill>
|
|
</child>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkAlignment</class>
|
|
<name>alignment3</name>
|
|
<xalign>0</xalign>
|
|
<yalign>0.5</yalign>
|
|
<xscale>0</xscale>
|
|
<yscale>1</yscale>
|
|
<child>
|
|
<left_attach>0</left_attach>
|
|
<right_attach>1</right_attach>
|
|
<top_attach>2</top_attach>
|
|
<bottom_attach>3</bottom_attach>
|
|
<xpad>0</xpad>
|
|
<ypad>0</ypad>
|
|
<xexpand>False</xexpand>
|
|
<yexpand>False</yexpand>
|
|
<xshrink>False</xshrink>
|
|
<yshrink>False</yshrink>
|
|
<xfill>True</xfill>
|
|
<yfill>True</yfill>
|
|
</child>
|
|
|
|
<widget>
|
|
<class>GtkButton</class>
|
|
<name>button-reset</name>
|
|
<can_focus>True</can_focus>
|
|
<label>Re_set to Factory Defaults...</label>
|
|
<relief>GTK_RELIEF_NORMAL</relief>
|
|
</widget>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkLabel</class>
|
|
<name>label-views</name>
|
|
<label>Views for "%s"</label>
|
|
<justify>GTK_JUSTIFY_LEFT</justify>
|
|
<wrap>False</wrap>
|
|
<xalign>0</xalign>
|
|
<yalign>0.5</yalign>
|
|
<xpad>0</xpad>
|
|
<ypad>0</ypad>
|
|
<child>
|
|
<left_attach>0</left_attach>
|
|
<right_attach>1</right_attach>
|
|
<top_attach>0</top_attach>
|
|
<bottom_attach>1</bottom_attach>
|
|
<xpad>0</xpad>
|
|
<ypad>0</ypad>
|
|
<xexpand>False</xexpand>
|
|
<yexpand>False</yexpand>
|
|
<xshrink>False</xshrink>
|
|
<yshrink>False</yshrink>
|
|
<xfill>True</xfill>
|
|
<yfill>False</yfill>
|
|
</child>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
|
|
</GTK-Interface>
|