2007-06-12 Murray Cumming <murrayc@murrayc.com>
[modest] / src / maemo / modest-main-window-ui-dimming.h
index 01d6edb..a397a9a 100644 (file)
@@ -36,7 +36,7 @@ static const ModestDimmingEntry modest_main_window_menu_dimming_entries [] = {
 
        /* View Menu */
        { "/MenuBar/ViewMenu", NULL },
-       { "/MenuBar/ViewMenu/ViewSortMenu", NULL },
+       { "/MenuBar/ViewMenu/ViewSortMenu", G_CALLBACK(modest_ui_dimming_rules_on_sort) },
        { "/MenuBar/ViewMenu/ViewToggleFoldersMenu", NULL },
        { "/MenuBar/ViewMenu/ViewToggleFullscreenMenu", NULL },
        { "/MenuBar/ViewMenu/ViewShowToolbarMainMenu", NULL },
@@ -47,7 +47,7 @@ static const ModestDimmingEntry modest_main_window_menu_dimming_entries [] = {
        { "/MenuBar/ToolsMenu", NULL },
        { "/MenuBar/ToolsMenu/ToolsSettingsMenu", NULL },
        { "/MenuBar/ToolsMenu/ToolsAccountsMenu", NULL },
-       { "/MenuBar/ToolsMenu/ToolsSMTPServersMenu", NULL },
+       { "/MenuBar/ToolsMenu/ToolsSMTPServersMenu", G_CALLBACK(modest_ui_dimming_rules_on_tools_smtp_servers) },
        { "/MenuBar/ToolsMenu/ToolsSendReceiveMainMenu", NULL },
        { "/MenuBar/ToolsMenu/ToolsSendReceiveMainMenu/ToolsSendReceiveAllMenu", NULL },
        { "/MenuBar/ToolsMenu/ToolsSendReceiveCancelSendingMenu", NULL },
@@ -95,7 +95,7 @@ static const ModestDimmingEntry modest_main_window_toolbar_dimming_entries [] =
        { "/ToolBar/ToolbarMessageReply", G_CALLBACK(modest_ui_dimming_rules_on_reply_msg) },
        { "/ToolBar/ToolbarDeleteMessage", G_CALLBACK(modest_ui_dimming_rules_on_delete_msg) },
        { "/ToolBar/ToolbarToggleView", NULL },
-       { "/ToolBar/ToolbarSort", NULL },
+       { "/ToolBar/ToolbarSort", G_CALLBACK(modest_ui_dimming_rules_on_sort) },
        { "/ToolBar/ToolbarSendReceive", NULL },
        { "/ToolBar/ToolbarCancel", NULL },
 };