Hello all,

I've reimplemented FormCredits for the GNOME frontend using our current 
libglade method.  In addition I had to alter gnome_helpers and add some 
casts as gcc 2.96 was choking on some of the font related functions.

It's a complete rewrite, I preferred the Gnome::About look and feel but 
GUII is GUII and this is consistent with the other frontends.

All corrections are greatly appreciated.

Cheers
Koz
<?xml version="1.0"?>
<GTK-Interface>

<project>
  <name>diahelpcopyright</name>
  <program_name>diahelpcopyright</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>
</project>

<widget>
  <class>GnomeDialog</class>
  <name>DiaHelpCopyright</name>
  <type>GTK_WINDOW_DIALOG</type>
  <position>GTK_WIN_POS_NONE</position>
  <modal>False</modal>
  <allow_shrink>False</allow_shrink>
  <allow_grow>False</allow_grow>
  <auto_shrink>False</auto_shrink>
  <auto_close>True</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>copyright_button_ok</name>
        <can_default>True</can_default>
        <can_focus>True</can_focus>
        <stock_button>GNOME_STOCK_BUTTON_OK</stock_button>
      </widget>
    </widget>

    <widget>
      <class>GtkVBox</class>
      <name>vbox1</name>
      <homogeneous>False</homogeneous>
      <spacing>0</spacing>
      <child>
        <padding>0</padding>
        <expand>True</expand>
        <fill>True</fill>
      </child>

      <widget>
        <class>GtkFrame</class>
        <name>frame3</name>
        <label_xalign>0</label_xalign>
        <shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type>
        <child>
          <padding>0</padding>
          <expand>False</expand>
          <fill>False</fill>
        </child>

        <widget>
          <class>GtkLabel</class>
          <name>copyright_copyright</name>
          <label></label>
          <justify>GTK_JUSTIFY_CENTER</justify>
          <wrap>True</wrap>
          <xalign>0.5</xalign>
          <yalign>0.5</yalign>
          <xpad>5</xpad>
          <ypad>5</ypad>
        </widget>
      </widget>

      <widget>
        <class>GtkFrame</class>
        <name>frame2</name>
        <label_xalign>0</label_xalign>
        <shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type>
        <child>
          <padding>0</padding>
          <expand>False</expand>
          <fill>False</fill>
        </child>

        <widget>
          <class>GtkLabel</class>
          <name>copyright_disclaimer</name>
          <label></label>
          <justify>GTK_JUSTIFY_CENTER</justify>
          <wrap>True</wrap>
          <xalign>0.5</xalign>
          <yalign>0.5</yalign>
          <xpad>5</xpad>
          <ypad>5</ypad>
        </widget>
      </widget>

      <widget>
        <class>GtkFrame</class>
        <name>frame1</name>
        <label_xalign>0</label_xalign>
        <shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type>
        <child>
          <padding>0</padding>
          <expand>False</expand>
          <fill>False</fill>
        </child>

        <widget>
          <class>GtkLabel</class>
          <name>copyright_license</name>
          <label></label>
          <justify>GTK_JUSTIFY_CENTER</justify>
          <wrap>True</wrap>
          <xalign>0.5</xalign>
          <yalign>0.5</yalign>
          <xpad>5</xpad>
          <ypad>5</ypad>
        </widget>
      </widget>
    </widget>
  </widget>
</widget>

</GTK-Interface>

copyright.diff.gz

Reply via email to