evolution r34973 - in branches/mbarnes-composer: composer ui
- From: mbarnes svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r34973 - in branches/mbarnes-composer: composer ui
- Date: Thu, 7 Feb 2008 20:36:16 +0000 (GMT)
Author: mbarnes
Date: Thu Feb 7 20:36:16 2008
New Revision: 34973
URL: http://svn.gnome.org/viewvc/evolution?rev=34973&view=rev
Log:
Remove support for "Delete All", which was unused anyway.
Modified:
branches/mbarnes-composer/composer/e-msg-composer.c
branches/mbarnes-composer/ui/evolution-message-composer.xml
Modified: branches/mbarnes-composer/composer/e-msg-composer.c
==============================================================================
--- branches/mbarnes-composer/composer/e-msg-composer.c (original)
+++ branches/mbarnes-composer/composer/e-msg-composer.c Thu Feb 7 20:36:16 2008
@@ -1679,38 +1679,6 @@
}
static void
-menu_edit_delete_all_cb (BonoboUIComponent *uic, gpointer data, const char *path)
-{
-#if 0 /* GTKHTML-EDITOR */
- EMsgComposer *composer = E_MSG_COMPOSER (data);
- EMsgComposerPrivate *p = composer->priv;
- CORBA_Environment ev;
-
- CORBA_exception_init (&ev);
-
- GNOME_GtkHTML_Editor_Engine_undoBegin (p->eeditor_engine, "Delete all but signature", "Undelete all", &ev);
- GNOME_GtkHTML_Editor_Engine_freeze (p->eeditor_engine, &ev);
- GNOME_GtkHTML_Editor_Engine_runCommand (p->eeditor_engine, "disable-selection", &ev);
- GNOME_GtkHTML_Editor_Engine_runCommand (p->eeditor_engine, "text-default-color", &ev);
- GNOME_GtkHTML_Editor_Engine_runCommand (p->eeditor_engine, "bold-off", &ev);
- GNOME_GtkHTML_Editor_Engine_runCommand (p->eeditor_engine, "italic-off", &ev);
- GNOME_GtkHTML_Editor_Engine_runCommand (p->eeditor_engine, "underline-off", &ev);
- GNOME_GtkHTML_Editor_Engine_runCommand (p->eeditor_engine, "strikeout-off", &ev);
- GNOME_GtkHTML_Editor_Engine_runCommand (p->eeditor_engine, "select-all", &ev);
- GNOME_GtkHTML_Editor_Engine_runCommand (p->eeditor_engine, "delete", &ev);
- GNOME_GtkHTML_Editor_Engine_setParagraphData (p->eeditor_engine, "signature", "0", &ev);
- GNOME_GtkHTML_Editor_Engine_setParagraphData (p->eeditor_engine, "orig", "0", &ev);
- e_msg_composer_show_sig_file (composer);
- GNOME_GtkHTML_Editor_Engine_runCommand (p->eeditor_engine, "style-normal", &ev);
- GNOME_GtkHTML_Editor_Engine_thaw (p->eeditor_engine, &ev);
- GNOME_GtkHTML_Editor_Engine_undoEnd (p->eeditor_engine, &ev);
-
- CORBA_exception_free (&ev);
- /* printf ("delete all\n"); */
-#endif /* GTKHTML-EDITOR */
-}
-
-static void
menu_format_html_cb (BonoboUIComponent *component,
const char *path,
Bonobo_UIComponent_EventType type,
@@ -1781,14 +1749,12 @@
BONOBO_UI_VERB ("FileSend", menu_file_send_cb),
- BONOBO_UI_VERB ("DeleteAll", menu_edit_delete_all_cb),
BONOBO_UI_VERB ("InsertXSendOptions", menu_send_options_cb),
BONOBO_UI_VERB_END
};
static EPixmap pixcache [] = {
- E_PIXMAP ("/commands/DeleteAll", "edit-delete", E_ICON_SIZE_MENU),
E_PIXMAP ("/commands/FileAttach", "mail-attachment", E_ICON_SIZE_MENU),
E_PIXMAP ("/commands/FileClose", "window-close", E_ICON_SIZE_MENU),
E_PIXMAP ("/commands/FileOpen", "document-open", E_ICON_SIZE_MENU),
Modified: branches/mbarnes-composer/ui/evolution-message-composer.xml
==============================================================================
--- branches/mbarnes-composer/ui/evolution-message-composer.xml (original)
+++ branches/mbarnes-composer/ui/evolution-message-composer.xml Thu Feb 7 20:36:16 2008
@@ -31,10 +31,6 @@
accel="*Ctrl*m"
pixtype="pixbuf"/>
- <cmd name="DeleteAll" _label="_Delete all"
- pixtype="pixbuf"
- _tip="Delete all but signature"/>
-
<cmd name="RequestReceipt" _label="R_equest Read Receipt"
_tip="Get delivery notification when your message is read"
type="toggle" state="0"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]