fix sensitivity of menu items in compose_redirect()

This commit is contained in:
Paul Mangan 2002-11-18 13:01:50 +00:00
parent ea43446614
commit c6ddbfd269
3 changed files with 13 additions and 7 deletions

View file

@ -1,3 +1,9 @@
2002-11-18 [paul] 0.8.5claws168
* src/compose.c
fix sensitivity of menu items in compose_redirect():
allow only the necessary items
2002-11-18 [paul] 0.8.5claws167
* src/compose.c

View file

@ -11,7 +11,7 @@ MINOR_VERSION=8
MICRO_VERSION=5
INTERFACE_AGE=0
BINARY_AGE=0
EXTRA_VERSION=claws167
EXTRA_VERSION=claws168
VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
dnl set $target

View file

@ -1279,19 +1279,19 @@ Compose *compose_redirect(PrefsAccount *account, MsgInfo *msginfo)
menu_set_sensitive(ifactory, "/File/Insert file", FALSE);
menu_set_sensitive(ifactory, "/File/Attach file", FALSE);
menu_set_sensitive(ifactory, "/File/Insert signature", FALSE);
menu_set_sensitive(ifactory, "/Edit/Paste", FALSE);
menu_set_sensitive(ifactory, "/Edit/Wrap current paragraph", FALSE);
menu_set_sensitive(ifactory, "/Edit/Wrap all long lines", FALSE);
menu_set_sensitive(ifactory, "/Edit/Edit with external editor", FALSE);
menu_set_sensitive(ifactory, "/Message/Attach", FALSE);
menu_set_sensitive(ifactory, "/Edit", FALSE);
menu_set_sensitive(ifactory, "/Spelling", FALSE);
menu_set_sensitive(ifactory, "/Message/Save to draft folder", FALSE);
menu_set_sensitive(ifactory, "/Message/Save and keep editing", FALSE);
#if USE_GPGME
menu_set_sensitive(ifactory, "/Message/Sign", FALSE);
menu_set_sensitive(ifactory, "/Message/Encrypt", FALSE);
menu_set_sensitive(ifactory, "/Message/Mode/MIME", FALSE);
menu_set_sensitive(ifactory, "/Message/Mode/Inline", FALSE);
#endif
menu_set_sensitive(ifactory, "/Message/Priority", FALSE);
menu_set_sensitive(ifactory, "/Message/Request Return Receipt", FALSE);
menu_set_sensitive(ifactory, "/Tools/Template", FALSE);
menu_set_sensitive(ifactory, "/Tools", FALSE);
gtk_widget_set_sensitive(compose->toolbar->insert_btn, FALSE);
gtk_widget_set_sensitive(compose->toolbar->attach_btn, FALSE);