Gnome-ified menus


Subject: Gnome-ified menus
From: Dom Lachowicz (dominicl@seas.upenn.edu)
Date: Thu Feb 10 2000 - 16:34:28 CST


Hey Guys --

    I had a little free time so I decided to re-implement the AbiWord
menus(using Glade) to have a Gnome look and feel. If some one would like
to hack on things(or see how something like this would look), here's the
glade resource file, which will save you some time.

    The difficulty that I noticed is that menus get genererated in
src/af/ev/ev_UnixMenu.cpp::synthesizeMenu(GtkWidget *wMenuRoot) from a
pre-defined data set. Applying a gnome-patch like what I suggest would
probably lead to an inconsistant build across platforms, since menus
would have to be edited in more than one place for any given change - be
it in layouts, callbacks, strings, etc... I don't see a workaround for
this - other than maybe adding another field to the set returned from
m_pUnixApp->getMenuActionSet() to handle Gnome'ish pixmaps.

    I'd like to hear from other developers on howto maybe implement
this, because I really like the preofessional look and feel of menus
with embedded icons. This doesn't just have to be a gnome-patch either.
You'd just need to include the appropriate icons from Gnome(or wherever)
in your release versions, which might not be so bad since something like
that is already being used for AbiWord's toolbars on Win32.

Comments, suggestions appreciated

-Dom-

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

<project>
  <name>Abiword</name>
  <program_name>abiword</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>False</use_widget_names>
  <output_main_file>True</output_main_file>
  <output_support_files>True</output_support_files>
  <output_build_files>True</output_build_files>
  <backup_source_files>True</backup_source_files>
  <main_source_file>interface.c</main_source_file>
  <main_header_file>interface.h</main_header_file>
  <handler_source_file>callbacks.c</handler_source_file>
  <handler_header_file>callbacks.h</handler_header_file>
  <support_source_file>support.c</support_source_file>
  <support_header_file>support.h</support_header_file>
  <translatable_strings_file></translatable_strings_file>
</project>

<widget>
  <class>GnomeApp</class>
  <name>app1</name>
  <title>Abiword</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>
  <enable_layout_config>True</enable_layout_config>

  <widget>
    <class>GnomeDock</class>
    <child_name>GnomeApp:dock</child_name>
    <name>dock1</name>
    <allow_floating>True</allow_floating>
    <child>
      <padding>0</padding>
      <expand>True</expand>
      <fill>True</fill>
    </child>

    <widget>
      <class>GnomeDockItem</class>
      <name>dockitem1</name>
      <border_width>2</border_width>
      <placement>GNOME_DOCK_TOP</placement>
      <band>0</band>
      <position>0</position>
      <offset>12</offset>
      <locked>False</locked>
      <exclusive>True</exclusive>
      <never_floating>False</never_floating>
      <never_vertical>True</never_vertical>
      <never_horizontal>False</never_horizontal>
      <shadow_type>GTK_SHADOW_OUT</shadow_type>

      <widget>
        <class>GtkMenuBar</class>
        <name>menubar1</name>
        <shadow_type>GTK_SHADOW_NONE</shadow_type>

        <widget>
          <class>GtkMenuItem</class>
          <name>file1</name>
          <stock_item>GNOMEUIINFO_MENU_FILE_TREE</stock_item>

          <widget>
            <class>GtkMenu</class>
            <name>file1_menu</name>

            <widget>
              <class>GtkPixmapMenuItem</class>
              <name>new1</name>
              <accelerator>
                <modifiers>GDK_CONTROL_MASK</modifiers>
                <key>GDK_N</key>
                <signal>activate</signal>
              </accelerator>
              <signal>
                <name>activate</name>
                <handler>on_new1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 20:37:52 GMT</last_modification_time>
              </signal>
              <label>_New</label>
              <right_justify>False</right_justify>
              <stock_icon>GNOME_STOCK_MENU_NEW</stock_icon>
            </widget>

            <widget>
              <class>GtkPixmapMenuItem</class>
              <name>open1</name>
              <accelerator>
                <modifiers>GDK_CONTROL_MASK</modifiers>
                <key>GDK_O</key>
                <signal>activate</signal>
              </accelerator>
              <signal>
                <name>activate</name>
                <handler>on_open1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 20:37:52 GMT</last_modification_time>
              </signal>
              <label>_Open</label>
              <right_justify>False</right_justify>
              <stock_icon>GNOME_STOCK_MENU_OPEN</stock_icon>
            </widget>

            <widget>
              <class>GtkPixmapMenuItem</class>
              <name>save1</name>
              <signal>
                <name>activate</name>
                <handler>on_save1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 20:37:52 GMT</last_modification_time>
              </signal>
              <stock_item>GNOMEUIINFO_MENU_SAVE_ITEM</stock_item>
            </widget>

            <widget>
              <class>GtkPixmapMenuItem</class>
              <name>save_as1</name>
              <signal>
                <name>activate</name>
                <handler>on_save_as1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 20:37:52 GMT</last_modification_time>
              </signal>
              <stock_item>GNOMEUIINFO_MENU_SAVE_AS_ITEM</stock_item>
            </widget>

            <widget>
              <class>GtkMenuItem</class>
              <name>separator1</name>
              <right_justify>False</right_justify>
            </widget>

            <widget>
              <class>GtkPixmapMenuItem</class>
              <name>print_setup1</name>
              <signal>
                <name>activate</name>
                <handler>on_print_setup1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 20:54:28 GMT</last_modification_time>
              </signal>
              <stock_item>GNOMEUIINFO_MENU_PRINT_SETUP_ITEM</stock_item>
            </widget>

            <widget>
              <class>GtkPixmapMenuItem</class>
              <name>print1</name>
              <accelerator>
                <modifiers>GDK_CONTROL_MASK</modifiers>
                <key>GDK_P</key>
                <signal>activate</signal>
              </accelerator>
              <signal>
                <name>activate</name>
                <handler>on_print1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 20:54:41 GMT</last_modification_time>
              </signal>
              <label>_Print</label>
              <right_justify>False</right_justify>
              <stock_icon>GNOME_STOCK_MENU_PRINT</stock_icon>
            </widget>

            <widget>
              <class>GtkMenuItem</class>
              <name>separator2</name>
              <right_justify>False</right_justify>
            </widget>

            <widget>
              <class>GtkPixmapMenuItem</class>
              <name>close1</name>
              <signal>
                <name>activate</name>
                <handler>on_close1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 20:55:21 GMT</last_modification_time>
              </signal>
              <stock_item>GNOMEUIINFO_MENU_CLOSE_ITEM</stock_item>
            </widget>

            <widget>
              <class>GtkPixmapMenuItem</class>
              <name>exit1</name>
              <signal>
                <name>activate</name>
                <handler>on_exit1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 20:37:52 GMT</last_modification_time>
              </signal>
              <stock_item>GNOMEUIINFO_MENU_EXIT_ITEM</stock_item>
            </widget>
          </widget>
        </widget>

        <widget>
          <class>GtkMenuItem</class>
          <name>edit1</name>
          <stock_item>GNOMEUIINFO_MENU_EDIT_TREE</stock_item>

          <widget>
            <class>GtkMenu</class>
            <name>edit1_menu</name>

            <widget>
              <class>GtkPixmapMenuItem</class>
              <name>undo1</name>
              <signal>
                <name>activate</name>
                <handler>on_undo1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 20:56:12 GMT</last_modification_time>
              </signal>
              <stock_item>GNOMEUIINFO_MENU_UNDO_ITEM</stock_item>
            </widget>

            <widget>
              <class>GtkPixmapMenuItem</class>
              <name>redo1</name>
              <signal>
                <name>activate</name>
                <handler>on_redo1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 20:56:31 GMT</last_modification_time>
              </signal>
              <stock_item>GNOMEUIINFO_MENU_REDO_ITEM</stock_item>
            </widget>

            <widget>
              <class>GtkMenuItem</class>
              <name>separator1</name>
              <right_justify>False</right_justify>
            </widget>

            <widget>
              <class>GtkPixmapMenuItem</class>
              <name>cut1</name>
              <signal>
                <name>activate</name>
                <handler>on_cut1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 20:37:52 GMT</last_modification_time>
              </signal>
              <stock_item>GNOMEUIINFO_MENU_CUT_ITEM</stock_item>
            </widget>

            <widget>
              <class>GtkPixmapMenuItem</class>
              <name>copy1</name>
              <signal>
                <name>activate</name>
                <handler>on_copy1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 20:37:52 GMT</last_modification_time>
              </signal>
              <stock_item>GNOMEUIINFO_MENU_COPY_ITEM</stock_item>
            </widget>

            <widget>
              <class>GtkPixmapMenuItem</class>
              <name>paste1</name>
              <signal>
                <name>activate</name>
                <handler>on_paste1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 20:37:52 GMT</last_modification_time>
              </signal>
              <stock_item>GNOMEUIINFO_MENU_PASTE_ITEM</stock_item>
            </widget>

            <widget>
              <class>GtkMenuItem</class>
              <name>clear1</name>
              <accelerator>
                <modifiers>0</modifiers>
                <key>GDK_Delete</key>
                <signal>activate</signal>
              </accelerator>
              <signal>
                <name>activate</name>
                <handler>on_clear1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 20:37:52 GMT</last_modification_time>
              </signal>
              <label>Cle_ar</label>
              <right_justify>False</right_justify>
            </widget>

            <widget>
              <class>GtkMenuItem</class>
              <name>select_all1</name>
              <accelerator>
                <modifiers>GDK_MOD1_MASK</modifiers>
                <key>GDK_A</key>
                <signal>activate</signal>
              </accelerator>
              <signal>
                <name>activate</name>
                <handler>on_select_all1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 20:57:04 GMT</last_modification_time>
              </signal>
              <label>Select A_ll</label>
              <right_justify>False</right_justify>
            </widget>

            <widget>
              <class>GtkMenuItem</class>
              <name>separator1</name>
              <right_justify>False</right_justify>
            </widget>

            <widget>
              <class>GtkPixmapMenuItem</class>
              <name>find1</name>
              <signal>
                <name>activate</name>
                <handler>on_find1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 20:57:38 GMT</last_modification_time>
              </signal>
              <stock_item>GNOMEUIINFO_MENU_FIND_ITEM</stock_item>
            </widget>

            <widget>
              <class>GtkPixmapMenuItem</class>
              <name>replace1</name>
              <accelerator>
                <modifiers>GDK_CONTROL_MASK</modifiers>
                <key>GDK_H</key>
                <signal>activate</signal>
              </accelerator>
              <signal>
                <name>activate</name>
                <handler>on_replace1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 20:57:49 GMT</last_modification_time>
              </signal>
              <label>Replace...</label>
              <right_justify>False</right_justify>
              <stock_icon>GNOME_STOCK_MENU_SRCHRPL</stock_icon>
            </widget>

            <widget>
              <class>GtkPixmapMenuItem</class>
              <name>goto</name>
              <accelerator>
                <modifiers>GDK_CONTROL_MASK</modifiers>
                <key>GDK_G</key>
                <signal>activate</signal>
              </accelerator>
              <signal>
                <name>activate</name>
                <handler>on_goto_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 20:57:56 GMT</last_modification_time>
              </signal>
              <label>_Goto...</label>
              <right_justify>False</right_justify>
              <stock_icon>GNOME_STOCK_MENU_JUMP_TO</stock_icon>
            </widget>

            <widget>
              <class>GtkPixmapMenuItem</class>
              <name>spelling1</name>
              <accelerator>
                <modifiers>0</modifiers>
                <key>GDK_F7</key>
                <signal>activate</signal>
              </accelerator>
              <signal>
                <name>activate</name>
                <handler>on_spelling1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 20:59:12 GMT</last_modification_time>
              </signal>
              <label>Spelling...</label>
              <right_justify>False</right_justify>
              <stock_icon>GNOME_STOCK_MENU_SPELLCHECK</stock_icon>
            </widget>

            <widget>
              <class>GtkMenuItem</class>
              <name>separator2</name>
              <right_justify>False</right_justify>
            </widget>

            <widget>
              <class>GtkPixmapMenuItem</class>
              <name>options1</name>
              <signal>
                <name>activate</name>
                <handler>on_options1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 20:37:52 GMT</last_modification_time>
              </signal>
              <label>Options...</label>
              <right_justify>False</right_justify>
              <stock_icon>GNOME_STOCK_MENU_PROP</stock_icon>
            </widget>
          </widget>
        </widget>

        <widget>
          <class>GtkMenuItem</class>
          <name>view1</name>
          <stock_item>GNOMEUIINFO_MENU_VIEW_TREE</stock_item>

          <widget>
            <class>GtkMenu</class>
            <name>view1_menu</name>

            <widget>
              <class>GtkMenuItem</class>
              <name>toolbars1</name>
              <label>_Toolbars</label>
              <right_justify>False</right_justify>

              <widget>
                <class>GtkMenu</class>
                <name>toolbars1_menu</name>

                <widget>
                  <class>GtkMenuItem</class>
                  <name>standard1</name>
                  <signal>
                    <name>activate</name>
                    <handler>on_standard1_activate</handler>
                    <last_modification_time>Thu, 10 Feb 2000 21:00:24 GMT</last_modification_time>
                  </signal>
                  <label>_Standard</label>
                  <right_justify>False</right_justify>
                </widget>

                <widget>
                  <class>GtkMenuItem</class>
                  <name>formatting1</name>
                  <signal>
                    <name>activate</name>
                    <handler>on_formatting1_activate</handler>
                    <last_modification_time>Thu, 10 Feb 2000 21:00:36 GMT</last_modification_time>
                  </signal>
                  <label>_Formatting</label>
                  <right_justify>False</right_justify>
                </widget>
              </widget>
            </widget>

            <widget>
              <class>GtkCheckMenuItem</class>
              <name>ruler1</name>
              <signal>
                <name>activate</name>
                <handler>on_ruler1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 21:30:45 GMT</last_modification_time>
              </signal>
              <label>_Ruler</label>
              <active>False</active>
              <always_show_toggle>False</always_show_toggle>
            </widget>

            <widget>
              <class>GtkMenuItem</class>
              <name>status_bar1</name>
              <signal>
                <name>activate</name>
                <handler>on_status_bar1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 21:01:12 GMT</last_modification_time>
              </signal>
              <label>_Status Bar</label>
              <right_justify>False</right_justify>
            </widget>

            <widget>
              <class>GtkMenuItem</class>
              <name>separator1</name>
              <right_justify>False</right_justify>
            </widget>

            <widget>
              <class>GtkMenuItem</class>
              <name>show_paragraphs1</name>
              <signal>
                <name>activate</name>
                <handler>on_show_paragraphs1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 21:01:33 GMT</last_modification_time>
              </signal>
              <label>Show Para_graphs</label>
              <right_justify>False</right_justify>
            </widget>

            <widget>
              <class>GtkMenuItem</class>
              <name>header_and_footer1</name>
              <signal>
                <name>activate</name>
                <handler>on_header_and_footer1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 21:01:44 GMT</last_modification_time>
              </signal>
              <label>_Header and Footer</label>
              <right_justify>False</right_justify>
            </widget>

            <widget>
              <class>GtkMenuItem</class>
              <name>zoom1</name>
              <signal>
                <name>activate</name>
                <handler>on_zoom1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 21:02:07 GMT</last_modification_time>
              </signal>
              <label>_Zoom...</label>
              <right_justify>False</right_justify>
            </widget>
          </widget>
        </widget>

        <widget>
          <class>GtkMenuItem</class>
          <name>insert</name>
          <label>Insert</label>
          <right_justify>False</right_justify>

          <widget>
            <class>GtkMenu</class>
            <name>insert_menu</name>

            <widget>
              <class>GtkMenuItem</class>
              <name>break1</name>
              <signal>
                <name>activate</name>
                <handler>on_break1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 21:07:20 GMT</last_modification_time>
              </signal>
              <label>_Break...</label>
              <right_justify>False</right_justify>
            </widget>

            <widget>
              <class>GtkMenuItem</class>
              <name>page_numbers1</name>
              <signal>
                <name>activate</name>
                <handler>on_page_numbers1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 21:07:22 GMT</last_modification_time>
              </signal>
              <label>Page N_umbers...</label>
              <right_justify>False</right_justify>
            </widget>

            <widget>
              <class>GtkPixmapMenuItem</class>
              <name>date_and_time1</name>
              <signal>
                <name>activate</name>
                <handler>on_date_and_time1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 21:07:23 GMT</last_modification_time>
              </signal>
              <label>Date and _Time...</label>
              <right_justify>False</right_justify>
              <stock_icon>GNOME_STOCK_MENU_TIMER</stock_icon>
            </widget>

            <widget>
              <class>GtkMenuItem</class>
              <name>field1</name>
              <signal>
                <name>activate</name>
                <handler>on_field1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 21:07:23 GMT</last_modification_time>
              </signal>
              <label>_Field...</label>
              <right_justify>False</right_justify>
            </widget>

            <widget>
              <class>GtkMenuItem</class>
              <name>symbol1</name>
              <signal>
                <name>activate</name>
                <handler>on_symbol1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 21:07:24 GMT</last_modification_time>
              </signal>
              <label>_Symbol...</label>
              <right_justify>False</right_justify>
            </widget>

            <widget>
              <class>GtkMenuItem</class>
              <name>separator1</name>
              <right_justify>False</right_justify>
            </widget>

            <widget>
              <class>GtkMenuItem</class>
              <name>picture1</name>
              <signal>
                <name>activate</name>
                <handler>on_picture1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 21:07:28 GMT</last_modification_time>
              </signal>
              <label>_Picture...</label>
              <right_justify>False</right_justify>
            </widget>
          </widget>
        </widget>

        <widget>
          <class>GtkMenuItem</class>
          <name>format1</name>
          <label>Format</label>
          <right_justify>False</right_justify>

          <widget>
            <class>GtkMenu</class>
            <name>format1_menu</name>

            <widget>
              <class>GtkPixmapMenuItem</class>
              <name>font1</name>
              <accelerator>
                <modifiers>GDK_CONTROL_MASK</modifiers>
                <key>GDK_D</key>
                <signal>activate</signal>
              </accelerator>
              <signal>
                <name>activate</name>
                <handler>on_font1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 21:12:38 GMT</last_modification_time>
              </signal>
              <label>_Font...</label>
              <right_justify>False</right_justify>
              <stock_icon>GNOME_STOCK_MENU_FONT</stock_icon>
            </widget>

            <widget>
              <class>GtkMenuItem</class>
              <name>paragraph1</name>
              <signal>
                <name>activate</name>
                <handler>on_paragraph1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 21:12:40 GMT</last_modification_time>
              </signal>
              <label>_Paragraph...</label>
              <right_justify>False</right_justify>
            </widget>

            <widget>
              <class>GtkMenuItem</class>
              <name>bullets_and_numbering1</name>
              <signal>
                <name>activate</name>
                <handler>on_bullets_and_numbering1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 21:12:40 GMT</last_modification_time>
              </signal>
              <label>Bullets and _Numbering...</label>
              <right_justify>False</right_justify>
            </widget>

            <widget>
              <class>GtkMenuItem</class>
              <name>borders_and_shading1</name>
              <signal>
                <name>activate</name>
                <handler>on_borders_and_shading1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 21:12:41 GMT</last_modification_time>
              </signal>
              <label>Bor_ders and Shading...</label>
              <right_justify>False</right_justify>
            </widget>

            <widget>
              <class>GtkMenuItem</class>
              <name>separator1</name>
              <right_justify>False</right_justify>
            </widget>

            <widget>
              <class>GtkMenuItem</class>
              <name>columns1</name>
              <signal>
                <name>activate</name>
                <handler>on_columns1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 21:12:42 GMT</last_modification_time>
              </signal>
              <label>_Columns...</label>
              <right_justify>False</right_justify>
            </widget>

            <widget>
              <class>GtkMenuItem</class>
              <name>tabs1</name>
              <signal>
                <name>activate</name>
                <handler>on_tabs1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 21:12:42 GMT</last_modification_time>
              </signal>
              <label>_Tabs...</label>
              <right_justify>False</right_justify>
            </widget>

            <widget>
              <class>GtkMenuItem</class>
              <name>separator2</name>
              <right_justify>False</right_justify>
            </widget>

            <widget>
              <class>GtkCheckMenuItem</class>
              <name>bold1</name>
              <accelerator>
                <modifiers>GDK_CONTROL_MASK</modifiers>
                <key>GDK_B</key>
                <signal>activate</signal>
              </accelerator>
              <signal>
                <name>activate</name>
                <handler>on_bold1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 21:13:00 GMT</last_modification_time>
              </signal>
              <label>_Bold</label>
              <active>False</active>
              <always_show_toggle>False</always_show_toggle>
            </widget>

            <widget>
              <class>GtkCheckMenuItem</class>
              <name>italic1</name>
              <accelerator>
                <modifiers>0</modifiers>
                <key>GDK_I</key>
                <signal>activate</signal>
              </accelerator>
              <signal>
                <name>activate</name>
                <handler>on_italic1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 21:13:01 GMT</last_modification_time>
              </signal>
              <label>_Italic</label>
              <active>False</active>
              <always_show_toggle>False</always_show_toggle>
            </widget>

            <widget>
              <class>GtkCheckMenuItem</class>
              <name>underline1</name>
              <accelerator>
                <modifiers>0</modifiers>
                <key>GDK_U</key>
                <signal>activate</signal>
              </accelerator>
              <signal>
                <name>activate</name>
                <handler>on_underline1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 21:13:01 GMT</last_modification_time>
              </signal>
              <label>_Underline</label>
              <active>False</active>
              <always_show_toggle>False</always_show_toggle>
            </widget>

            <widget>
              <class>GtkCheckMenuItem</class>
              <name>overline1</name>
              <accelerator>
                <modifiers>0</modifiers>
                <key>GDK_T</key>
                <signal>activate</signal>
              </accelerator>
              <signal>
                <name>activate</name>
                <handler>on_overline1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 21:13:02 GMT</last_modification_time>
              </signal>
              <label>_Overline</label>
              <active>False</active>
              <always_show_toggle>False</always_show_toggle>
            </widget>

            <widget>
              <class>GtkCheckMenuItem</class>
              <name>strike1</name>
              <accelerator>
                <modifiers>0</modifiers>
                <key>GDK_K</key>
                <signal>activate</signal>
              </accelerator>
              <signal>
                <name>activate</name>
                <handler>on_strike1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 21:13:02 GMT</last_modification_time>
              </signal>
              <label>Stri_ke</label>
              <active>False</active>
              <always_show_toggle>False</always_show_toggle>
            </widget>

            <widget>
              <class>GtkCheckMenuItem</class>
              <name>supe_rscript1</name>
              <accelerator>
                <modifiers>GDK_CONTROL_MASK</modifiers>
                <key>GDK_=</key>
                <signal>activate</signal>
              </accelerator>
              <signal>
                <name>activate</name>
                <handler>on_supe_rscript1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 21:13:02 GMT</last_modification_time>
              </signal>
              <label>Superscript</label>
              <active>False</active>
              <always_show_toggle>False</always_show_toggle>
            </widget>

            <widget>
              <class>GtkCheckMenuItem</class>
              <name>subscript1</name>
              <accelerator>
                <modifiers>GDK_CONTROL_MASK</modifiers>
                <key>GDK_-</key>
                <signal>activate</signal>
              </accelerator>
              <signal>
                <name>activate</name>
                <handler>on_subscript1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 21:13:03 GMT</last_modification_time>
              </signal>
              <label>_Subscript</label>
              <active>False</active>
              <always_show_toggle>False</always_show_toggle>
            </widget>

            <widget>
              <class>GtkMenuItem</class>
              <name>separator1</name>
              <right_justify>False</right_justify>
            </widget>

            <widget>
              <class>GtkMenuItem</class>
              <name>align1</name>
              <label>_Align...</label>
              <right_justify>False</right_justify>

              <widget>
                <class>GtkMenu</class>
                <name>align1_menu</name>

                <widget>
                  <class>GtkPixmapMenuItem</class>
                  <name>left1</name>
                  <accelerator>
                    <modifiers>GDK_CONTROL_MASK</modifiers>
                    <key>GDK_L</key>
                    <signal>activate</signal>
                  </accelerator>
                  <signal>
                    <name>activate</name>
                    <handler>on_left1_activate</handler>
                    <last_modification_time>Thu, 10 Feb 2000 21:13:52 GMT</last_modification_time>
                  </signal>
                  <label>_Left</label>
                  <right_justify>False</right_justify>
                  <stock_icon>GNOME_STOCK_MENU_ALIGN_LEFT</stock_icon>
                </widget>

                <widget>
                  <class>GtkPixmapMenuItem</class>
                  <name>center1</name>
                  <accelerator>
                    <modifiers>GDK_CONTROL_MASK</modifiers>
                    <key>GDK_E</key>
                    <signal>activate</signal>
                  </accelerator>
                  <signal>
                    <name>activate</name>
                    <handler>on_center1_activate</handler>
                    <last_modification_time>Thu, 10 Feb 2000 21:13:54 GMT</last_modification_time>
                  </signal>
                  <label>_Center</label>
                  <right_justify>False</right_justify>
                  <stock_icon>GNOME_STOCK_MENU_ALIGN_CENTER</stock_icon>
                </widget>

                <widget>
                  <class>GtkPixmapMenuItem</class>
                  <name>right1</name>
                  <accelerator>
                    <modifiers>GDK_CONTROL_MASK</modifiers>
                    <key>GDK_R</key>
                    <signal>activate</signal>
                  </accelerator>
                  <signal>
                    <name>activate</name>
                    <handler>on_right1_activate</handler>
                    <last_modification_time>Thu, 10 Feb 2000 21:13:55 GMT</last_modification_time>
                  </signal>
                  <label>_Right</label>
                  <right_justify>False</right_justify>
                  <stock_icon>GNOME_STOCK_MENU_ALIGN_RIGHT</stock_icon>
                </widget>

                <widget>
                  <class>GtkPixmapMenuItem</class>
                  <name>justify1</name>
                  <accelerator>
                    <modifiers>GDK_CONTROL_MASK</modifiers>
                    <key>GDK_J</key>
                    <signal>activate</signal>
                  </accelerator>
                  <signal>
                    <name>activate</name>
                    <handler>on_justify1_activate</handler>
                    <last_modification_time>Thu, 10 Feb 2000 21:13:55 GMT</last_modification_time>
                  </signal>
                  <label>_Justify</label>
                  <right_justify>False</right_justify>
                  <stock_icon>GNOME_STOCK_MENU_ALIGN_JUSTIFY</stock_icon>
                </widget>
              </widget>
            </widget>

            <widget>
              <class>GtkMenuItem</class>
              <name>style1</name>
              <signal>
                <name>activate</name>
                <handler>on_style1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 21:13:05 GMT</last_modification_time>
              </signal>
              <label>St_yle...</label>
              <right_justify>False</right_justify>
            </widget>
          </widget>
        </widget>

        <widget>
          <class>GtkMenuItem</class>
          <name>window1</name>
          <label>Window</label>
          <right_justify>False</right_justify>

          <widget>
            <class>GtkMenu</class>
            <name>window1_menu</name>

            <widget>
              <class>GtkPixmapMenuItem</class>
              <name>new_window1</name>
              <signal>
                <name>activate</name>
                <handler>on_new_window1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 21:06:47 GMT</last_modification_time>
              </signal>
              <stock_item>GNOMEUIINFO_MENU_NEW_ITEM</stock_item>
              <label>_New Window</label>
            </widget>
          </widget>
        </widget>

        <widget>
          <class>GtkMenuItem</class>
          <name>help1</name>
          <stock_item>GNOMEUIINFO_MENU_HELP_TREE</stock_item>

          <widget>
            <class>GtkMenu</class>
            <name>help1_menu</name>

            <widget>
              <class>GtkPixmapMenuItem</class>
              <name>about_abiword_personal1</name>
              <signal>
                <name>activate</name>
                <handler>on_about_abiword_personal1_activate</handler>
                <last_modification_time>Thu, 10 Feb 2000 20:37:52 GMT</last_modification_time>
              </signal>
              <label>About AbiWord Personal...</label>
              <right_justify>False</right_justify>
              <stock_icon>GNOME_STOCK_MENU_ABOUT</stock_icon>
            </widget>
          </widget>
        </widget>
      </widget>
    </widget>

    <widget>
      <class>GnomeDockItem</class>
      <name>dockitem2</name>
      <border_width>1</border_width>
      <placement>GNOME_DOCK_TOP</placement>
      <band>1</band>
      <position>0</position>
      <offset>0</offset>
      <locked>False</locked>
      <exclusive>True</exclusive>
      <never_floating>False</never_floating>
      <never_vertical>False</never_vertical>
      <never_horizontal>False</never_horizontal>
      <shadow_type>GTK_SHADOW_OUT</shadow_type>

      <widget>
        <class>GtkToolbar</class>
        <name>toolbar1</name>
        <border_width>1</border_width>
        <orientation>GTK_ORIENTATION_HORIZONTAL</orientation>
        <type>GTK_TOOLBAR_BOTH</type>
        <space_size>16</space_size>
        <space_style>GTK_TOOLBAR_SPACE_LINE</space_style>
        <relief>GTK_RELIEF_NORMAL</relief>
        <tooltips>True</tooltips>

        <widget>
          <class>GtkButton</class>
          <child_name>Toolbar:button</child_name>
          <name>button1</name>
          <tooltip>New File</tooltip>
          <label>New</label>
          <stock_pixmap>GNOME_STOCK_PIXMAP_NEW</stock_pixmap>
        </widget>

        <widget>
          <class>GtkButton</class>
          <child_name>Toolbar:button</child_name>
          <name>button2</name>
          <tooltip>Open File</tooltip>
          <label>Open</label>
          <stock_pixmap>GNOME_STOCK_PIXMAP_OPEN</stock_pixmap>
        </widget>

        <widget>
          <class>GtkButton</class>
          <child_name>Toolbar:button</child_name>
          <name>button3</name>
          <tooltip>Save File</tooltip>
          <label>Save</label>
          <stock_pixmap>GNOME_STOCK_PIXMAP_SAVE</stock_pixmap>
        </widget>
      </widget>
    </widget>

    <widget>
      <class>Placeholder</class>
      <child_name>GnomeDock:contents</child_name>
    </widget>
  </widget>

  <widget>
    <class>GnomeAppBar</class>
    <child_name>GnomeApp:appbar</child_name>
    <name>appbar1</name>
    <has_progress>True</has_progress>
    <has_status>True</has_status>
    <child>
      <padding>0</padding>
      <expand>True</expand>
      <fill>True</fill>
    </child>
  </widget>
</widget>

</GTK-Interface>



This archive was generated by hypermail 2b25 : Thu Feb 10 2000 - 16:34:01 CST