2001-02-27 Miguel de Icaza <miguel@ximian.com> * gui/e-day-view.c (e_day_view_on_event_right_click): Reorganize the menus to have entries always in a consistent fashion, as reported to the genepool mailing list. (e_day_view_on_event_right_click): Added a FIXME comment to the FIXME comment without a FIXME. Now we use e_popup_menu. This allows us to hide/show items on demand, and to sensitize/de-sensitize items depending on their state. This will also let us add icon support (when we get nice icons for this) * gui/e-week-view.c (e_week_view_show_popup_menu): Ditto. The files popup-menu.c and popup-menu.h can now be removed. 2001-03-01 Miguel de Icaza <miguel@ximian.com> * folder-browser.c (on_right_click): Move the context menus to the toplevel code; Use enumerations for the various bitfield constants. Add support for hiding items that are not required (read/unread and delete/undelete). This requires my previous patch, as it assumes "Open" does the right thing instead of having two operations: Open and Edit. 2001-02-28 Miguel de Icaza <miguel@ximian.com> * folder-browser.c (on_right_click): Removed draft folders op here, since open_msg now does the right thing (edit or view). * folder-browser-factory.c (update_pixmaps): Removed MessageEdit from here. * mail-callbacks.c (open_msg): New function, does the "right thing" to a message (either, edit or open). * folder-browser-factory.c: Register new command here. (update_pixmaps): Rename keys that have been shuffled around. (update_pixmaps): Rename to match new updates on xml file. Rename MessageOpenNewWindow to MessageOpen. Change action from "view_message" to "open_message". * mail-callbacks.c (mark_all_as_seen): New command. Marks all messages as seen. 2001-03-06 Miguel de Icaza <miguel@ximian.com> * evolution-tasks.xml: Added "File/New/Task" as well. * evolution-mail.xml: Added "File/New/Mail Message" at the top with binding C-n. * evolution-calendar.xml: Set the binding for New Appointment to C-n * evolution-contact-editor.xml: Set the toolbar to hlook=text vlook=icon; Set all icons priority-text to 1. * evolution-addressbook.xml: Added "Contact" to the New menu. * evolution.xml: Provide an entry point to put "New" items on the first level. We are going to need some Bonobo support to "hide" objects when other objects appear (like, having Mail Message bound to C-S-X in the global space, and when we switch to Mail, we only show the entry that has C-n as the binding). 2001-02-28 Miguel de Icaza <miguel@ximian.com> * evolution.xml: Moved Importer after the Folder operations per Dan's proposal. * evolution-addressbook.xml: Renamed Settings/AddressBook Configuration to Tools/Settings. Make all the items have "Print" items that use the same icon instead of a collection of icons. * evolution-calendar.xml: Moved "Calendar Preferences" from "Settings" to "Tools/Settings". * evolution-mail.xml: Settings menu is fully gone. All things that run a dialog now end up in "Tools" while actions end up in "Actions". Hence I am right. Renamed "Mail Configuration..." to "Identieies and Servers" Move MessageMarkAsRead, MessageMarkAsUnRead to Edit menu. Add MessageMarkAllAsRead. Remove "Print Message" from Message menu. Remove "Print Preview Message" from Message menu. Leave them on the "File" menu. Renamed "Reply to Sender" to "Reply" (awaiting Ettore's permission). Renamed "Messages" to "Actions". Open Message renamed to "Open Selected Items" (as this is what it actually does). Moved "Save Message As" to "File" menu. Added "Properties" to the File/Folder submenu. Edit menu now looks like this: Message Move, Message Copy, Select All, Invert Selection, Delete, Undelete, Mark as Read, Mark as Unread. Some of them were moved from the "Messages" menu. "Forward message" shortcut changed to C-f Tools menu created. Create Rule From message moved to "Tools". * evolution.xml: Added Tools menu. Moved Edit/Customize to Tools/Customize Toolbar. Added File/Folder submenu. Duplicate "New Folder" in here. 2001-02-28 Miguel de Icaza <miguel@ximian.com> * menus/gal-view-menus.c (build_menus): Add translation string here. svn path=/trunk/; revision=8572
258 lines
8.6 KiB
XML
258 lines
8.6 KiB
XML
<Root>
|
|
<!--
|
|
|
|
/* Menu bar */
|
|
|
|
static GnomeUIInfo file_new_menu[] = {
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Appointment"), NULL, NULL),
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: Meeting Re_quest"), NULL, NULL),
|
|
GNOMEUIINFO_SEPARATOR,
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Mail Message"), NULL, NULL),
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Contact"), NULL, NULL),
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Task"), NULL, NULL),
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: Task _Request"), NULL, NULL),
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Journal Entry"), NULL, NULL),
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Note"), NULL, NULL),
|
|
GNOMEUIINFO_SEPARATOR,
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: Ch_oose Form..."), NULL, NULL),
|
|
GNOMEUIINFO_END
|
|
};
|
|
|
|
static GnomeUIInfo file_page_setup_menu[] = {
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Memo Style"), NULL, NULL),
|
|
GNOMEUIINFO_SEPARATOR,
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: Define Print _Styles..."), NULL, NULL),
|
|
GNOMEUIINFO_END
|
|
};
|
|
|
|
static GnomeUIInfo file_menu[] = {
|
|
GNOMEUIINFO_MENU_NEW_SUBTREE (file_new_menu),
|
|
GNOMEUIINFO_SEPARATOR,
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: S_end"), NULL, NULL),
|
|
GNOMEUIINFO_SEPARATOR,
|
|
GNOMEUIINFO_MENU_SAVE_ITEM (file_save_cb, NULL),
|
|
GNOMEUIINFO_MENU_SAVE_AS_ITEM (file_save_as_cb, NULL),
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: Save Attac_hments..."), NULL, NULL),
|
|
GNOMEUIINFO_SEPARATOR,
|
|
GNOMEUIINFO_ITEM_NONE (N_("_Delete"), NULL, delete_cb),
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Move to Folder..."), NULL, NULL),
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: Cop_y to Folder..."), NULL, NULL),
|
|
GNOMEUIINFO_SEPARATOR,
|
|
GNOMEUIINFO_SUBTREE (N_("Page Set_up"), file_page_setup_menu),
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: Print Pre_view"), NULL, NULL),
|
|
GNOMEUIINFO_MENU_PRINT_ITEM (print_cb, NULL),
|
|
GNOMEUIINFO_SEPARATOR,
|
|
GNOMEUIINFO_MENU_PROPERTIES_ITEM (NULL, NULL),
|
|
GNOMEUIINFO_SEPARATOR,
|
|
GNOMEUIINFO_MENU_CLOSE_ITEM (file_close_cb, NULL),
|
|
GNOMEUIINFO_END
|
|
};
|
|
|
|
static GnomeUIInfo edit_object_menu[] = {
|
|
GNOMEUIINFO_ITEM_NONE ("FIXME: what goes here?", NULL, NULL),
|
|
GNOMEUIINFO_END
|
|
};
|
|
|
|
static GnomeUIInfo edit_menu[] = {
|
|
GNOMEUIINFO_MENU_UNDO_ITEM (NULL, NULL),
|
|
GNOMEUIINFO_MENU_REDO_ITEM (NULL, NULL),
|
|
GNOMEUIINFO_SEPARATOR,
|
|
GNOMEUIINFO_MENU_CUT_ITEM (NULL, NULL),
|
|
GNOMEUIINFO_MENU_COPY_ITEM (NULL, NULL),
|
|
GNOMEUIINFO_MENU_PASTE_ITEM (NULL, NULL),
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: Paste _Special..."), NULL, NULL),
|
|
GNOMEUIINFO_SEPARATOR,
|
|
GNOMEUIINFO_MENU_CLEAR_ITEM (NULL, NULL),
|
|
GNOMEUIINFO_MENU_SELECT_ALL_ITEM (NULL, NULL),
|
|
GNOMEUIINFO_SEPARATOR,
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: Mark as U_nread"), NULL, NULL),
|
|
GNOMEUIINFO_SEPARATOR,
|
|
GNOMEUIINFO_MENU_FIND_ITEM (NULL, NULL),
|
|
GNOMEUIINFO_MENU_FIND_AGAIN_ITEM (NULL, NULL),
|
|
GNOMEUIINFO_SUBTREE (N_("_Object"), edit_object_menu),
|
|
GNOMEUIINFO_END
|
|
};
|
|
|
|
static GnomeUIInfo view_previous_menu[] = {
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Item"), NULL, NULL),
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Unread Item"), NULL, NULL),
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: Fi_rst Item in Folder"), NULL, NULL),
|
|
GNOMEUIINFO_END
|
|
};
|
|
|
|
static GnomeUIInfo view_next_menu[] = {
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Item"), NULL, NULL),
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Unread Item"), NULL, NULL),
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Last Item in Folder"), NULL, NULL),
|
|
GNOMEUIINFO_END
|
|
};
|
|
|
|
static GnomeUIInfo view_toolbars_menu[] = {
|
|
{ GNOME_APP_UI_TOGGLEITEM, N_("FIXME: _Standard"), NULL, NULL, NULL, NULL,
|
|
GNOME_APP_PIXMAP_NONE, NULL, 0, 0, NULL },
|
|
{ GNOME_APP_UI_TOGGLEITEM, N_("FIXME: __Formatting"), NULL, NULL, NULL, NULL,
|
|
GNOME_APP_PIXMAP_NONE, NULL, 0, 0, NULL },
|
|
GNOMEUIINFO_SEPARATOR,
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Customize..."), NULL, NULL),
|
|
GNOMEUIINFO_END
|
|
};
|
|
|
|
static GnomeUIInfo view_menu[] = {
|
|
GNOMEUIINFO_SUBTREE (N_("Pre_vious"), view_previous_menu),
|
|
GNOMEUIINFO_SUBTREE (N_("Ne_xt"), view_next_menu),
|
|
GNOMEUIINFO_SEPARATOR,
|
|
GNOMEUIINFO_SUBTREE (N_("_Toolbars"), view_toolbars_menu),
|
|
GNOMEUIINFO_END
|
|
};
|
|
|
|
static GnomeUIInfo insert_menu[] = {
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: _File..."), NULL, NULL),
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: It_em..."), NULL, NULL),
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Object..."), NULL, NULL),
|
|
GNOMEUIINFO_END
|
|
};
|
|
|
|
static GnomeUIInfo format_menu[] = {
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Font..."), NULL, NULL),
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Paragraph..."), NULL, NULL),
|
|
GNOMEUIINFO_END
|
|
};
|
|
|
|
static GnomeUIInfo tools_forms_menu[] = {
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: Ch_oose Form..."), NULL, NULL),
|
|
GNOMEUIINFO_SEPARATOR,
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: Desi_gn This Form"), NULL, NULL),
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: D_esign a Form..."), NULL, NULL),
|
|
GNOMEUIINFO_SEPARATOR,
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: Publish _Form..."), NULL, NULL),
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: Pu_blish Form As..."), NULL, NULL),
|
|
GNOMEUIINFO_SEPARATOR,
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: Script _Debugger"), NULL, NULL),
|
|
GNOMEUIINFO_END
|
|
};
|
|
|
|
static GnomeUIInfo tools_menu[] = {
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Spelling..."), NULL, NULL),
|
|
GNOMEUIINFO_SEPARATOR,
|
|
GNOMEUIINFO_SUBTREE (N_("_Forms"), tools_forms_menu),
|
|
GNOMEUIINFO_END
|
|
};
|
|
|
|
static GnomeUIInfo actions_menu[] = {
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: _New Contact"), NULL, NULL),
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: New _Contact from Same Company"), NULL, NULL),
|
|
GNOMEUIINFO_SEPARATOR,
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: New _Letter to Contact"), NULL, NULL),
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: New _Message to Contact"), NULL, NULL),
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: New Meetin_g with Contact"), NULL, NULL),
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Plan a Meeting..."), NULL, NULL),
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: New _Task for Contact"), NULL, NULL),
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: New _Journal Entry for Contact"), NULL, NULL),
|
|
GNOMEUIINFO_SEPARATOR,
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Flag for Follow Up..."), NULL, NULL),
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Display Map of Address"), NULL, NULL),
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Open Web Page"), NULL, NULL),
|
|
GNOMEUIINFO_SEPARATOR,
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: Forward as _vCard"), NULL, NULL),
|
|
GNOMEUIINFO_ITEM_NONE (N_("FIXME: For_ward"), NULL, NULL)
|
|
};
|
|
|
|
static GnomeUIInfo help_menu[] = {
|
|
GNOMEUIINFO_ITEM_NONE ("FIXME: fix Bonobo so it supports help items!", NULL, NULL),
|
|
GNOMEUIINFO_END
|
|
};
|
|
|
|
static GnomeUIInfo main_menu[] = {
|
|
GNOMEUIINFO_MENU_FILE_TREE (file_menu),
|
|
GNOMEUIINFO_MENU_EDIT_TREE (edit_menu),
|
|
GNOMEUIINFO_MENU_VIEW_TREE (view_menu),
|
|
GNOMEUIINFO_SUBTREE (N_("_Insert"), insert_menu),
|
|
GNOMEUIINFO_SUBTREE (N_("F_ormat"), format_menu),
|
|
GNOMEUIINFO_SUBTREE (N_("_Tools"), tools_menu),
|
|
GNOMEUIINFO_SUBTREE (N_("Actio_ns"), actions_menu),
|
|
GNOMEUIINFO_MENU_HELP_TREE (help_menu),
|
|
GNOMEUIINFO_END
|
|
};
|
|
-->
|
|
<menu>
|
|
|
|
<submenu name="File" _label="_File">
|
|
|
|
<menuitem name="Save" verb="ContactEditorSave"
|
|
_label="_Save"
|
|
pixtype="stock" pixname="Save"/>
|
|
|
|
<menuitem name="SaveAs" verb="ContactEditorSaveAs"
|
|
_label="Save _As..."
|
|
pixtype="stock" pixname="SaveAs"/>
|
|
|
|
<separator/>
|
|
|
|
<menuitem name="SendAs" verb="ContactEditorSendAs"
|
|
_label="Se_nd contact to other..."/>
|
|
|
|
<menuitem name="SendTo" verb="ContactEditorSendTo"
|
|
_label="Send _message to contact..."/>
|
|
|
|
<separator/>
|
|
|
|
<menuitem name="Delete" verb="ContactEditorDelete"
|
|
_label="Delete..."
|
|
pixtype="stock" pixname="Trash"/>
|
|
|
|
<separator/>
|
|
|
|
<placeholder name="Print">
|
|
|
|
<menuitem name="Print" verb="ContactEditorPrint"
|
|
_label="_Print..."
|
|
pixtype="stock" pixname="Print"/>
|
|
|
|
<menuitem name="PrintEnv" verb="ContactEditorPrintEnvelope"
|
|
_label="Print En_velope..."
|
|
pixtype="stock" pixname="Print"/>
|
|
|
|
</placeholder>
|
|
|
|
<separator/>
|
|
|
|
<menuitem name="Close" verb="ContactEditorClose"
|
|
_label="Close"
|
|
pixtype="stock" pixname="Close"/>
|
|
|
|
</submenu>
|
|
</menu>
|
|
|
|
<dockitem name="Toolbar" relief="none" behavior="exclusive"
|
|
hlook="text" vlook="icon">
|
|
<toolitem name="Save and Close" _label="Save and Close"
|
|
_tip="Save the contact and close the dialog box" verb="ContactEditorSaveClose"
|
|
pixtype="stock" pixname="Save" priority="1"/>
|
|
|
|
<separator/>
|
|
|
|
<toolitem name="Print" _label="Print..."
|
|
_tip="Print this item" verb="ContactEditorPrint"
|
|
pixtype="stock" pixname="Print" priority="1"/>
|
|
|
|
<toolitem name="Delete" _label="Delete..."
|
|
_tip="Delete this item" verb="ContactEditorDelete"
|
|
pixtype="stock" pixname="Trash" priority="1"/>
|
|
|
|
<!--
|
|
<toolitem name="Help" _label="Help"
|
|
_tip="See online help" verb="ContactEditorHelp"
|
|
pixtype="stock" pixname="Help"/>
|
|
|
|
GNOMEUIINFO_ITEM_STOCK (N_("FIXME: Previous"),
|
|
N_("Go to the previous item"), NULL,
|
|
GNOME_STOCK_PIXMAP_BACK),
|
|
GNOMEUIINFO_ITEM_STOCK (N_("FIXME: Next"),
|
|
N_("Go to the next item"), NULL,
|
|
GNOME_STOCK_PIXMAP_FORWARD),
|
|
-->
|
|
|
|
</dockitem>
|
|
|
|
</Root>
|