Ignore:
Timestamp:
Aug 22, 2010, 6:02:21 PM (11 years ago)
Author:
sam
Message:

Add an about dialogue and fix an initialisation bug in the map viewer
scrollbar handling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gtk/editor.xml

    r162 r163  
    33  <requires lib="gtk+" version="2.16"/>
    44  <!-- interface-naming-policy project-wide -->
    5   <object class="GtkWindow" id="window1">
     5  <object class="GtkWindow" id="window">
    66    <property name="title" translatable="yes">Deus Hax Editor</property>
    77    <signal name="delete_event" handler="gtk_main_quit"/>
     
    6464                        <property name="use_underline">True</property>
    6565                        <property name="use_stock">True</property>
     66                        <property name="always_show_image">True</property>
     67                        <signal name="activate" handler="gtk_main_quit"/>
    6668                      </object>
    6769                    </child>
     
    135137                        <property name="use_underline">True</property>
    136138                        <property name="use_stock">True</property>
     139                        <property name="always_show_image">True</property>
     140                        <signal name="activate" handler="gtk_widget_show" object="aboutdialog"/>
    137141                      </object>
    138142                    </child>
     
    245249    <property name="page_size">10</property>
    246250  </object>
     251  <object class="GtkAboutDialog" id="aboutdialog">
     252    <property name="border_width">5</property>
     253    <property name="modal">True</property>
     254    <property name="window_position">center</property>
     255    <property name="type_hint">normal</property>
     256    <property name="program_name">Deus Hax Editor</property>
     257    <property name="copyright" translatable="yes">&#xA9; 2010 Sam Hocevar &lt;sam@hocevar.net&gt;</property>
     258    <property name="website">http://deushax.zoy.org/</property>
     259    <signal name="close" handler="gtk_widget_hide" object="aboutdialog"/>
     260    <signal name="response" handler="gtk_widget_hide" object="aboutdialog"/>
     261    <signal name="delete_event" handler="gtk_widget_hide" object="aboutdialog"/>
     262    <signal name="delete_event" handler="gtk_true"/>
     263    <child internal-child="vbox">
     264      <object class="GtkVBox" id="dialog-vbox1">
     265        <property name="visible">True</property>
     266        <property name="orientation">vertical</property>
     267        <property name="spacing">2</property>
     268        <child>
     269          <placeholder/>
     270        </child>
     271        <child internal-child="action_area">
     272          <object class="GtkHButtonBox" id="dialog-action_area1">
     273            <property name="visible">True</property>
     274            <property name="layout_style">end</property>
     275          </object>
     276          <packing>
     277            <property name="expand">False</property>
     278            <property name="pack_type">end</property>
     279            <property name="position">0</property>
     280          </packing>
     281        </child>
     282      </object>
     283    </child>
     284  </object>
    247285</interface>
Note: See TracChangeset for help on using the changeset viewer.