+2002-03-16 [melvin] 0.7.4claws16
+
+ * src/mainwindow.c
+ * src/compose.c
+ * src/prefs_actions.c
+ Moved "Edit/Actions" to "Tool/Actions"
+ Made mainwindow/compose window sensitive as soon as
+ no child process is running anymore even if the io dialog
+ is open.
+ Fixed a struct being initialized with a non constant char*
+
2002-03-16 [christoph] 0.7.4claws15
* configure.in
MICRO_VERSION=4
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=claws14
+EXTRA_VERSION=claws16
VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
dnl set $target
"<control><alt>L", compose_wrap_line_all, 0, NULL},
{N_("/_Edit/Edit with e_xternal editor"),
"<shift><control>X", compose_ext_editor_cb, 0, NULL},
- {N_("/_Edit/---"), NULL, NULL, 0, "<Separator>"},
- {N_("/_Edit/Actio_ns"), NULL, NULL, 0, "<Branch>"},
#if USE_PSPELL
{N_("/_Spelling"), NULL, NULL, 0, "<Branch>"},
{N_("/_Spelling/_Check all or check selection"),
{N_("/_Tool/Show _ruler"), NULL, compose_toggle_ruler_cb, 0, "<ToggleItem>"},
{N_("/_Tool/_Address book"), "<shift><control>A", compose_address_cb , 0, NULL},
{N_("/_Tool/_Template"), NULL, NULL, 0, "<Branch>"},
+ {N_("/_Tool/Actio_ns"), NULL, NULL, 0, "<Branch>"},
{N_("/_Help"), NULL, NULL, 0, "<Branch>"},
{N_("/_Help/_About"), NULL, about_show, 0, NULL}
};
}
#endif
- update_compose_actions_menu(ifactory, "/Edit/Actions", compose);
+ update_compose_actions_menu(ifactory, "/Tool/Actions", compose);
undostruct = undo_init(text);
{N_("/_Edit/_Find in current message..."),
"<control>F", search_cb, 0, NULL},
{N_("/_Edit/_Search folder..."), "<shift><control>F", search_cb, 1, NULL},
- {N_("/_Edit/---"), NULL, NULL, 0, "<Separator>"},
- {N_("/_Edit/Actio_ns"), NULL, NULL, 0, "<Branch>"},
-
{N_("/_View"), NULL, NULL, 0, "<Branch>"},
{N_("/_View/Separate _Folder Tree"), NULL, NULL, SEPARATE_ACTION + SEPARATE_FOLDER, "<ToggleItem>"},
{N_("/_View/Separate _Message View"), NULL, NULL, SEPARATE_ACTION + SEPARATE_MESSAGE, "<ToggleItem>"},
{N_("/_Tool/_Create filter rule/by _Subject"),
NULL, create_filter_cb, FILTER_BY_SUBJECT, NULL},
{N_("/_Tool/---"), NULL, NULL, 0, "<Separator>"},
+ {N_("/_Tool/Actio_ns"), NULL, NULL, 0, "<Branch>"},
+ {N_("/_Tool/---"), NULL, NULL, 0, "<Separator>"},
{N_("/_Tool/E_xecute"), "X", execute_summary_cb, 0, NULL},
{N_("/_Tool/---"), NULL, NULL, 0, "<Separator>"},
{N_("/_Tool/_Log window"), "<control>L", log_window_show_cb, 0, NULL},
/* {"/File/Close", M_UNLOCKED}, */
{"/File/Exit" , M_UNLOCKED},
- {"/Edit/Actions" , M_MSG_EXIST},
{"/Edit/Select thread" , M_SINGLE_TARGET_EXIST},
{"/View/Sort" , M_MSG_EXIST},
{"/View/Thread view" , M_EXEC},
{"/Tool/Filter messages" , M_MSG_EXIST|M_EXEC|M_UNLOCKED},
{"/Tool/Create filter rule" , M_SINGLE_TARGET_EXIST|M_UNLOCKED},
{"/Tool/Execute" , M_MSG_EXIST|M_EXEC|M_UNLOCKED},
-
+ {"/Tool/Actions" , M_MSG_EXIST},
{"/Configuration", M_UNLOCKED},
{NULL, 0}
void update_mainwin_actions_menu(GtkItemFactory *ifactory,
MainWindow *mainwin)
{
- update_actions_menu(ifactory, "/Edit/Actions",
+ update_actions_menu(ifactory, "/Tool/Actions",
mainwin_actions_execute_cb,
mainwin);
}
GtkWidget *menu;
GtkItemFactoryEntry ifentry = {
- branch_path, NULL, NULL, 0, "<Branch>"};
+ NULL, NULL, NULL, 0, "<Branch>"};
+ ifentry.path = branch_path;
menuitem = gtk_item_factory_get_item(ifactory, branch_path);
+ g_return_if_fail(menuitem);
/* FIXME: is there a better way to remove unknown submenu items? */
/* Deleting and recreating the parent looses the translation */
menu = GTK_WIDGET(GTK_MENU_ITEM(menuitem)->submenu);
if (!children->nb) {
gtk_widget_set_sensitive(children->abort_btn, FALSE);
gtk_widget_set_sensitive(children->hide_btn, TRUE);
+ gtk_widget_set_sensitive(children->window, TRUE);
if (children->input_hbox)
gtk_widget_set_sensitive(children->input_hbox, FALSE);
}