Fix toolbar ui manager load in gnome and maemo ports
authorJose Dapena Paz <jdapena@igalia.com>
Sun, 10 May 2009 11:27:17 +0000 (13:27 +0200)
committerJose Dapena Paz <jdapena@igalia.com>
Sun, 10 May 2009 11:27:17 +0000 (13:27 +0200)
* src/widgets/modest-msg-edit-window-ui.h: properly set the send and find
  toolbar actions, to be for non hildon2 ports, instead of hildon2 port only.

src/widgets/modest-msg-edit-window-ui.h

index bcee8da..02bd710 100644 (file)
@@ -105,7 +105,7 @@ static const GtkActionEntry modest_msg_edit_action_entries [] = {
        { "CloseWindowShortcut", NULL, NULL, "Escape", NULL, NULL },
 
        /* TOOLBAR ACTIONS */
-#ifdef MODEST_TOOLKIT_HILDON2
+#ifndef MODEST_TOOLKIT_HILDON2
        /* Find in page. This is a normal menu option in Hildon2, and a checkbox in the others */
        { "FindInMessage", NULL, N_("mcen_me_viewer_find"), "<CTRL>F", NULL, G_CALLBACK (modest_ui_actions_on_toggle_find_in_page)},
        { "ToolbarSend", MODEST_TOOLBAR_ICON_MAIL_SEND, MODEST_TOOLBAR_ICON_MAIL_SEND,  "<Control>Return", NULL,  G_CALLBACK (modest_ui_actions_on_send) },