diff options
author | mbkma <[email protected]> | 2021-03-02 19:28:51 +0100 |
---|---|---|
committer | Robert Antoni Buj Gelonch <[email protected]> | 2021-03-03 12:26:06 +0100 |
commit | 26d478b8732626c29a80347df66ebd1a520742be (patch) | |
tree | ea2edd310736fe7cdbb1e01c6141221029d2eaed /data | |
parent | 6a834d2a5462c2c0e6e5af9b552f7db5d857bd56 (diff) | |
download | mozo-26d478b8732626c29a80347df66ebd1a520742be.tar.bz2 mozo-26d478b8732626c29a80347df66ebd1a520742be.tar.xz |
rewrite mozo.ui from scratch
Diffstat (limited to 'data')
-rw-r--r-- | data/mozo.ui | 1039 |
1 files changed, 457 insertions, 582 deletions
diff --git a/data/mozo.ui b/data/mozo.ui index 72dfea0..593037a 100644 --- a/data/mozo.ui +++ b/data/mozo.ui @@ -1,7 +1,167 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- Generated with glade 3.22.1 --> +<!-- Generated with glade 3.38.2 --> <interface> - <requires lib="gtk+" version="3.14"/> + <requires lib="gtk+" version="3.24"/> + <object class="GtkImage" id="cancel-icon"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="icon-name">process-stop</property> + </object> + <object class="GtkImage" id="close-icon"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="icon-name">window-close</property> + </object> + <object class="GtkImage" id="delete-icon"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="icon-name">edit-delete</property> + </object> + <object class="GtkImage" id="help-icon"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="icon-name">help-browser</property> + </object> + <object class="GtkImage" id="move-down-icon"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="icon-name">down</property> + </object> + <object class="GtkImage" id="move-up-icon"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="icon-name">up</property> + </object> + <object class="GtkImage" id="new-item-icon"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="icon-name">list-add</property> + </object> + <object class="GtkImage" id="new-menu-icon"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="icon-name">document-new</property> + </object> + <object class="GtkImage" id="properties-icon"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="icon-name">document-properties</property> + </object> + <object class="GtkImage" id="redo-icon"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="icon-name">edit-redo</property> + </object> + <object class="GtkImage" id="revert-icon"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="icon-name">document-revert</property> + </object> + <object class="GtkImage" id="revert-icon1"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="icon-name">document-revert</property> + </object> + <object class="GtkDialog" id="revertdialog"> + <property name="can-focus">False</property> + <property name="title" translatable="yes">Revert Changes?</property> + <property name="resizable">False</property> + <property name="type-hint">dialog</property> + <child internal-child="vbox"> + <object class="GtkBox"> + <property name="can-focus">False</property> + <property name="margin-start">6</property> + <property name="margin-end">6</property> + <property name="margin-top">6</property> + <property name="margin-bottom">6</property> + <property name="orientation">vertical</property> + <property name="spacing">2</property> + <child internal-child="action_area"> + <object class="GtkButtonBox"> + <property name="can-focus">False</property> + <property name="layout-style">end</property> + <child> + <object class="GtkButton" id="cancel_revert_button"> + <property name="label" translatable="yes">_Cancel</property> + <property name="visible">True</property> + <property name="can-focus">True</property> + <property name="receives-default">True</property> + <property name="image">cancel-icon</property> + <property name="use-underline">True</property> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkButton" id="revert_button1"> + <property name="label" translatable="yes">_Revert</property> + <property name="visible">True</property> + <property name="can-focus">True</property> + <property name="receives-default">True</property> + <property name="image">revert-icon1</property> + <property name="use-underline">True</property> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="icon-name">dialog-question</property> + <property name="icon_size">6</property> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="padding">6</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="label" translatable="yes">Revert all menus to original settings?</property> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="padding">12</property> + <property name="position">1</property> + </packing> + </child> + </object> + </child> + <action-widgets> + <action-widget response="-6">cancel_revert_button</action-widget> + <action-widget response="-8">revert_button1</action-widget> + </action-widgets> + </object> <object class="GtkUIManager" id="uimanager1"> <child> <object class="GtkActionGroup" id="actiongroup1"> @@ -37,686 +197,397 @@ </popup> </ui> </object> - <object class="GtkMenu" constructor="uimanager1" id="edit_menu"> + <object class="GtkImage" id="undo-icon"> <property name="visible">True</property> - <property name="can_focus">False</property> + <property name="can-focus">False</property> + <property name="icon-name">edit-undo</property> </object> <object class="GtkDialog" id="mainwindow"> - <property name="width_request">675</property> - <property name="height_request">530</property> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="border_width">5</property> + <property name="can-focus">False</property> <property name="title" translatable="yes">Main Menu</property> - <property name="window_position">center</property> - <property name="type_hint">normal</property> + <property name="default-width">675</property> + <property name="default-height">530</property> + <property name="type-hint">normal</property> <signal name="close" handler="on_close_button_clicked" swapped="no"/> <signal name="delete-event" handler="on_delete_event" swapped="no"/> <signal name="destroy" handler="on_close_button_clicked" swapped="no"/> <signal name="style-updated" handler="on_style_updated" swapped="no"/> - <child> - <placeholder/> - </child> <child internal-child="vbox"> - <object class="GtkBox" id="dialog-vbox5"> - <property name="visible">True</property> - <property name="can_focus">False</property> + <object class="GtkBox"> + <property name="can-focus">False</property> + <property name="margin-start">6</property> + <property name="margin-end">6</property> + <property name="margin-top">6</property> + <property name="margin-bottom">6</property> + <property name="orientation">vertical</property> <property name="spacing">2</property> <child internal-child="action_area"> - <object class="GtkButtonBox" id="dialog-action_area5"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="layout_style">end</property> + <object class="GtkButtonBox"> + <property name="can-focus">False</property> + <property name="layout-style">end</property> <child> <object class="GtkButton" id="help_button"> - <property name="label">gtk-help</property> + <property name="label" translatable="yes">_Help</property> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="can_default">True</property> - <property name="receives_default">False</property> - <property name="use_stock">True</property> + <property name="can-focus">True</property> + <property name="receives-default">True</property> + <property name="image">help-icon</property> + <property name="use-underline">True</property> <signal name="clicked" handler="on_help_button_clicked" swapped="no"/> </object> <packing> - <property name="expand">False</property> - <property name="fill">False</property> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">0</property> </packing> </child> <child> <object class="GtkButton" id="undo_button"> - <property name="label">gtk-undo</property> + <property name="label" translatable="yes">_Undo</property> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="can_default">True</property> - <property name="has_default">True</property> - <property name="receives_default">False</property> - <property name="use_stock">True</property> - <signal name="clicked" handler="on_mainwindow_undo" swapped="no"/> + <property name="can-focus">True</property> + <property name="receives-default">True</property> + <property name="image">undo-icon</property> + <property name="use-underline">True</property> + <signal name="clicked" handler="on_undo_button_clicked" swapped="no"/> </object> <packing> - <property name="expand">False</property> - <property name="fill">False</property> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">1</property> </packing> </child> <child> <object class="GtkButton" id="redo_button"> - <property name="label">gtk-redo</property> + <property name="label" translatable="yes">R_edo</property> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="can_default">True</property> - <property name="has_default">True</property> - <property name="receives_default">False</property> - <property name="use_stock">True</property> - <signal name="clicked" handler="on_mainwindow_redo" swapped="no"/> + <property name="can-focus">True</property> + <property name="receives-default">True</property> + <property name="image">redo-icon</property> + <property name="use-underline">True</property> + <signal name="clicked" handler="on_redo_button_clicked" swapped="no"/> </object> <packing> - <property name="expand">False</property> - <property name="fill">False</property> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">2</property> </packing> </child> <child> <object class="GtkButton" id="revert_button"> - <property name="label">gtk-revert-to-saved</property> + <property name="label" translatable="yes">_Revert</property> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="can_default">True</property> - <property name="receives_default">False</property> - <property name="tooltip_text" translatable="yes">Restore the default menu layout</property> - <property name="use_stock">True</property> + <property name="can-focus">True</property> + <property name="receives-default">True</property> + <property name="image">revert-icon</property> + <property name="use-underline">True</property> <signal name="clicked" handler="on_revert_button_clicked" swapped="no"/> </object> <packing> - <property name="expand">False</property> - <property name="fill">False</property> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">3</property> </packing> </child> <child> <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="can_focus">True</property> - <property name="can_default">True</property> - <property name="has_default">True</property> - <property name="receives_default">False</property> - <property name="use_stock">True</property> + <property name="can-focus">True</property> + <property name="receives-default">True</property> + <property name="image">close-icon</property> + <property name="use-underline">True</property> <signal name="clicked" handler="on_close_button_clicked" swapped="no"/> </object> <packing> - <property name="expand">False</property> - <property name="fill">False</property> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">4</property> </packing> </child> </object> <packing> <property name="expand">False</property> - <property name="fill">True</property> - <property name="pack_type">end</property> + <property name="fill">False</property> <property name="position">0</property> </packing> </child> <child> - <object class="GtkAlignment" id="alignment9"> + <object class="GtkBox"> <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="border_width">5</property> + <property name="can-focus">False</property> <child> - <object class="GtkHBox" id="hbox2"> - <property name="can_focus">False</property> - <property name="spacing">6</property> + <object class="GtkPaned"> + <property name="visible">True</property> + <property name="can-focus">True</property> <child> - <object class="GtkHPaned" id="hpaned1"> + <object class="GtkBox"> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="position">200</property> + <property name="can-focus">False</property> + <property name="orientation">vertical</property> <child> - <object class="GtkVBox" id="vbox4"> + <object class="GtkLabel"> <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="spacing">6</property> - <child> - <object class="GtkLabel" id="label20"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label" translatable="yes">_Menus:</property> - <property name="use_underline">True</property> - <property name="mnemonic_widget">menu_tree</property> - <property name="single_line_mode">True</property> - <property name="xalign">0</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">0</property> - </packing> - </child> + <property name="can-focus">False</property> + <property name="halign">start</property> + <property name="margin-start">4</property> + <property name="margin-bottom">2</property> + <property name="label" translatable="yes">_Menus:</property> + <property name="use-underline">True</property> + <property name="mnemonic-widget">menu_tree</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkScrolledWindow"> + <property name="visible">True</property> + <property name="can-focus">True</property> + <property name="shadow-type">in</property> <child> - <object class="GtkScrolledWindow" id="scrolledwindow3"> + <object class="GtkTreeView" id="menu_tree"> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="shadow_type">in</property> - <child> - <object class="GtkTreeView" id="menu_tree"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="has_focus">True</property> - <property name="headers_visible">False</property> - <signal name="cursor-changed" handler="on_menu_tree_cursor_changed" swapped="no"/> - <signal name="drag-data-get" handler="on_menu_tree_drag_data_get" swapped="no"/> - <signal name="drag-data-received" handler="on_menu_tree_drag_data_received" swapped="no"/> - <child internal-child="selection"> - <object class="GtkTreeSelection" id="treeview-selection1"/> - </child> - </object> + <property name="can-focus">True</property> + <property name="headers-visible">False</property> + <signal name="cursor-changed" handler="on_menu_tree_cursor_changed" swapped="no"/> + <signal name="drag-data-get" handler="on_menu_tree_drag_data_get" swapped="no"/> + <signal name="drag-data-received" handler="on_menu_tree_drag_data_received" swapped="no"/> + <child internal-child="selection"> + <object class="GtkTreeSelection" id="treeview-selection1"/> </child> </object> - <packing> - <property name="expand">True</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> </child> </object> <packing> - <property name="resize">False</property> - <property name="shrink">True</property> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">1</property> </packing> </child> + </object> + <packing> + <property name="resize">True</property> + <property name="shrink">True</property> + </packing> + </child> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="orientation">vertical</property> <child> - <object class="GtkVBox" id="vbox5"> + <object class="GtkLabel"> <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="spacing">6</property> - <child> - <object class="GtkLabel" id="label21"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label" translatable="yes">It_ems:</property> - <property name="use_underline">True</property> - <property name="mnemonic_widget">item_tree</property> - <property name="single_line_mode">True</property> - <property name="xalign">0</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">0</property> - </packing> - </child> + <property name="can-focus">False</property> + <property name="halign">start</property> + <property name="margin-start">4</property> + <property name="margin-bottom">2</property> + <property name="label" translatable="yes">_Items:</property> + <property name="use-underline">True</property> + <property name="mnemonic-widget">item_tree</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkScrolledWindow"> + <property name="visible">True</property> + <property name="can-focus">True</property> + <property name="shadow-type">in</property> <child> - <object class="GtkHBox" id="hbox16"> + <object class="GtkTreeView" id="item_tree"> <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="spacing">6</property> - <child> - <object class="GtkScrolledWindow" id="scrolledwindow2"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="shadow_type">in</property> - <child> - <object class="GtkTreeView" id="item_tree"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="rules_hint">True</property> - <signal name="button-press-event" handler="on_item_tree_popup_menu" swapped="no"/> - <signal name="cursor-changed" handler="on_item_tree_cursor_changed" swapped="no"/> - <signal name="cursor-changed" handler="on_item_tree_cursor_changed" swapped="no"/> - <signal name="drag-data-get" handler="on_item_tree_drag_data_get" swapped="no"/> - <signal name="drag-data-received" handler="on_item_tree_drag_data_received" swapped="no"/> - <signal name="key-press-event" handler="on_item_tree_key_press_event" swapped="no"/> - <signal name="popup-menu" handler="on_item_tree_popup_menu" swapped="no"/> - <signal name="row-activated" handler="on_item_tree_row_activated" swapped="no"/> - <child internal-child="selection"> - <object class="GtkTreeSelection" id="treeview-selection2"/> - </child> - </object> - </child> - </object> - <packing> - <property name="expand">True</property> - <property name="fill">True</property> - <property name="position">0</property> - </packing> - </child> - <child> - <object class="GtkVBox" id="vbox6"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="spacing">6</property> - <child> - <object class="GtkVButtonBox" id="vbuttonbox1"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="spacing">6</property> - <property name="layout_style">start</property> - <child> - <object class="GtkButton" id="new_menu_button"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="can_default">True</property> - <property name="receives_default">False</property> - <signal name="clicked" handler="on_new_menu_button_clicked" swapped="no"/> - <child> - <object class="GtkAlignment" id="alignment7"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="xscale">0</property> - <property name="yscale">0</property> - <child> - <object class="GtkHBox" id="hbox14"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="spacing">2</property> - <child> - <object class="GtkImage" id="image21"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="stock">gtk-new</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">0</property> - </packing> - </child> - <child> - <object class="GtkLabel" id="label18"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label" translatable="yes">_New Menu</property> - <property name="use_underline">True</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">1</property> - </packing> - </child> - </object> - </child> - </object> - </child> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">0</property> - </packing> - </child> - <child> - <object class="GtkButton" id="new_item_button"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="can_default">True</property> - <property name="receives_default">False</property> - <signal name="clicked" handler="on_new_item_button_clicked" swapped="no"/> - <child> - <object class="GtkAlignment" id="alignment8"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="xscale">0</property> - <property name="yscale">0</property> - <child> - <object class="GtkHBox" id="hbox15"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="spacing">2</property> - <child> - <object class="GtkImage" id="image22"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="stock">gtk-add</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">0</property> - </packing> - </child> - <child> - <object class="GtkLabel" id="label19"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label" translatable="yes">Ne_w Item</property> - <property name="use_underline">True</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">1</property> - </packing> - </child> - </object> - </child> - </object> - </child> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">1</property> - </packing> - </child> - <child> - <object class="GtkButton" id="new_separator_button"> - <property name="label" translatable="yes">New _Separator</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="can_default">True</property> - <property name="receives_default">False</property> - <property name="use_underline">True</property> - <signal name="clicked" handler="on_new_separator_button_clicked" swapped="no"/> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">2</property> - </packing> - </child> - <child> - <object class="GtkButton" id="properties_button"> - <property name="label">gtk-properties</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_stock">True</property> - <signal name="clicked" handler="on_properties_button_clicked" swapped="no"/> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">3</property> - </packing> - </child> - <child> - <object class="GtkButton" id="delete_button"> - <property name="label">gtk-delete</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_stock">True</property> - <signal name="clicked" handler="on_delete_button_clicked" swapped="no"/> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">4</property> - </packing> - </child> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">0</property> - </packing> - </child> - <child> - <object class="GtkAlignment" id="alignment12"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="top_padding">12</property> - <child> - <object class="GtkVButtonBox" id="vbuttonbox2"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="spacing">6</property> - <property name="layout_style">start</property> - <child> - <object class="GtkButton" id="move_up_button"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="can_default">True</property> - <property name="receives_default">False</property> - <signal name="clicked" handler="on_move_up_button_clicked" swapped="no"/> - <child> - <object class="GtkAlignment" id="alignment10"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="xscale">0</property> - <property name="yscale">0</property> - <child> - <object class="GtkHBox" id="hbox17"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="spacing">2</property> - <child> - <object class="GtkImage" id="image23"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="stock">gtk-go-up</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">0</property> - </packing> - </child> - <child> - <object class="GtkLabel" id="label22"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label" translatable="yes">Move Up</property> - <property name="use_underline">True</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">1</property> - </packing> - </child> - </object> - </child> - </object> - </child> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">0</property> - </packing> - </child> - <child> - <object class="GtkButton" id="move_down_button"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="can_default">True</property> - <property name="receives_default">False</property> - <signal name="clicked" handler="on_move_down_button_clicked" swapped="no"/> - <child> - <object class="GtkAlignment" id="alignment11"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="xscale">0</property> - <property name="yscale">0</property> - <child> - <object class="GtkHBox" id="hbox18"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="spacing">2</property> - <child> - <object class="GtkImage" id="image24"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="stock">gtk-go-down</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">0</property> - </packing> - </child> - <child> - <object class="GtkLabel" id="label23"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label" translatable="yes">Move Down</property> - <property name="use_underline">True</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">1</property> - </packing> - </child> - </object> - </child> - </object> - </child> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">1</property> - </packing> - </child> - </object> - </child> - </object> - <packing> - <property name="expand">True</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> - </child> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> + <property name="can-focus">True</property> + <signal name="button-press-event" handler="on_item_tree_popup_menu" swapped="no"/> + <signal name="cursor-changed" handler="on_item_tree_cursor_changed" swapped="no"/> + <signal name="drag-data-get" handler="on_item_tree_drag_data_get" swapped="no"/> + <signal name="drag-data-received" handler="on_item_tree_drag_data_received" swapped="no"/> + <signal name="key-press-event" handler="on_item_tree_key_press_event" swapped="no"/> + <signal name="popup-menu" handler="on_item_tree_popup_menu" swapped="no"/> + <signal name="row-activated" handler="on_item_tree_row_activated" swapped="no"/> + <child internal-child="selection"> + <object class="GtkTreeSelection" id="treeview-selection2"/> </child> </object> - <packing> - <property name="expand">True</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> </child> </object> <packing> - <property name="resize">True</property> - <property name="shrink">True</property> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">1</property> </packing> </child> </object> <packing> - <property name="expand">True</property> - <property name="fill">True</property> - <property name="position">0</property> + <property name="resize">True</property> + <property name="shrink">True</property> </packing> </child> </object> - </child> - </object> - <packing> - <property name="expand">True</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> - </child> - </object> - </child> - <action-widgets> - <action-widget response="-11">help_button</action-widget> - <action-widget response="1">undo_button</action-widget> - <action-widget response="2">redo_button</action-widget> - <action-widget response="0">revert_button</action-widget> - <action-widget response="-7">close_button</action-widget> - </action-widgets> - <accelerator key="Escape" signal="close"/> - </object> - <object class="GtkDialog" id="revertdialog"> - <property name="can_focus">False</property> - <property name="border_width">5</property> - <property name="title" translatable="yes">Revert Changes?</property> - <property name="resizable">False</property> - <property name="type_hint">dialog</property> - <child> - <placeholder/> - </child> - <child internal-child="vbox"> - <object class="GtkBox" id="dialog-vbox6"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="spacing">2</property> - <child internal-child="action_area"> - <object class="GtkButtonBox" id="dialog-action_area6"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="layout_style">end</property> - <child> - <object class="GtkButton" id="cancel_revert_button"> - <property name="label">gtk-cancel</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="can_default">True</property> - <property name="receives_default">False</property> - <property name="use_stock">True</property> - </object> <packing> - <property name="expand">False</property> - <property name="fill">False</property> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">0</property> </packing> </child> <child> - <object class="GtkButton" id="button2"> - <property name="label">gtk-revert-to-saved</property> + <object class="GtkBox"> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="can_default">True</property> - <property name="receives_default">False</property> - <property name="use_stock">True</property> + <property name="can-focus">False</property> + <property name="margin-top">22</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <child> + <object class="GtkButtonBox"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <property name="layout-style">start</property> + <child> + <object class="GtkButton" id="new_menu_button"> + <property name="label" translatable="yes">_New Menu</property> + <property name="visible">True</property> + <property name="can-focus">True</property> + <property name="receives-default">True</property> + <property name="image">new-menu-icon</property> + <property name="use-underline">True</property> + <signal name="clicked" handler="on_new_menu_button_clicked" swapped="no"/> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkButton" id="new_item_button"> + <property name="label" translatable="yes">Ne_w Item</property> + <property name="visible">True</property> + <property name="can-focus">True</property> + <property name="receives-default">True</property> + <property name="image">new-item-icon</property> + <property name="use-underline">True</property> + <signal name="clicked" handler="on_new_item_button_clicked" swapped="no"/> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkButton" id="new_separator_button"> + <property name="label" translatable="yes">New _Seperator</property> + <property name="visible">True</property> + <property name="can-focus">True</property> + <property name="receives-default">True</property> + <property name="use-underline">True</property> + <signal name="clicked" handler="on_new_separator_button_clicked" swapped="no"/> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> + <child> + <object class="GtkButton" id="properties_button"> + <property name="label" translatable="yes">_Properties</property> + <property name="visible">True</property> + <property name="can-focus">True</property> + <property name="receives-default">True</property> + <property name="image">properties-icon</property> + <property name="use-underline">True</property> + <signal name="clicked" handler="on_properties_button_clicked" swapped="no"/> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">3</property> + </packing> + </child> + <child> + <object class="GtkButton" id="delete_button"> + <property name="label" translatable="yes">_Delete</property> + <property name="visible">True</property> + <property name="can-focus">True</property> + <property name="receives-default">True</property> + <property name="image">delete-icon</property> + <property name="use-underline">True</property> + <signal name="clicked" handler="on_delete_button_clicked" swapped="no"/> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">4</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkButtonBox"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="margin-top">12</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <property name="layout-style">start</property> + <child> + <object class="GtkButton" id="move_up_button"> + <property name="label" translatable="yes">Move _Up</property> + <property name="visible">True</property> + <property name="can-focus">True</property> + <property name="receives-default">True</property> + <property name="image">move-up-icon</property> + <property name="use-underline">True</property> + <signal name="clicked" handler="on_move_up_button_clicked" swapped="no"/> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkButton" id="move_down_button"> + <property name="label" translatable="yes">Move _Down</property> + <property name="visible">True</property> + <property name="can-focus">True</property> + <property name="receives-default">True</property> + <property name="image">move-down-icon</property> + <property name="use-underline">True</property> + <signal name="clicked" handler="on_move_down_button_clicked" swapped="no"/> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> </object> <packing> <property name="expand">False</property> <property name="fill">False</property> - <property name="position">1</property> - </packing> - </child> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="pack_type">end</property> - <property name="position">0</property> - </packing> - </child> - <child> - <object class="GtkHBox" id="hbox19"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="border_width">5</property> - <property name="spacing">8</property> - <child> - <object class="GtkImage" id="image25"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="xalign">0</property> - <property name="icon_name">gtk-dialog-question</property> - <property name="icon_size">6</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">0</property> - </packing> - </child> - <child> - <object class="GtkLabel" id="label24"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label" translatable="yes">Revert all menus to original settings?</property> - <property name="xalign">0</property> - <property name="yalign">0</property> - </object> - <packing> - <property name="expand">True</property> - <property name="fill">True</property> + <property name="padding">6</property> <property name="position">1</property> </packing> </child> @@ -724,14 +595,18 @@ <packing> <property name="expand">True</property> <property name="fill">True</property> + <property name="padding">6</property> <property name="position">1</property> </packing> </child> </object> </child> <action-widgets> - <action-widget response="-6">cancel_revert_button</action-widget> - <action-widget response="-8">button2</action-widget> + <action-widget response="-11">help_button</action-widget> + <action-widget response="1">undo_button</action-widget> + <action-widget response="2">redo_button</action-widget> + <action-widget response="0">revert_button</action-widget> + <action-widget response="-7">close_button</action-widget> </action-widgets> </object> </interface> |