diff options
-rw-r--r-- | src/tab-body.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/tab-body.c b/src/tab-body.c index 574d4c4..ac05cae 100644 --- a/src/tab-body.c +++ b/src/tab-body.c @@ -97,6 +97,11 @@ menu_open_image_win_activate_cb(GtkAction __attribute__((unused)) *action, WEBKIT_CONTEXT_MENU_ACTION_##STOCK); \ webkit_context_menu_append(context_menu, menu_item); \ } while (0) +#define NEW_SEPARATOR_ITEM() \ + do { \ + menu_item = webkit_context_menu_item_new_separator(); \ + webkit_context_menu_append(context_menu, menu_item); \ + } while (0) static void context_menu_link_cb(WebKitContextMenu *context_menu, MqTabBody *body) @@ -132,9 +137,9 @@ context_menu_document_cb(WebKitContextMenu *context_menu, MqTabBody *body) NEW_STOCK_ITEM(GO_FORWARD); /* Forward */ NEW_STOCK_ITEM(STOP); /* Stop */ NEW_STOCK_ITEM(RELOAD); /* Reload */ - NEW_STOCK_ITEM(NO_ACTION); /* --- */ + NEW_SEPARATOR_ITEM(); /* --- */ NEW_STOCK_ITEM(SELECT_ALL); /* Select All */ - NEW_STOCK_ITEM(NO_ACTION); /* --- */ + NEW_SEPARATOR_ITEM(); /* --- */ /* View Page Source */ } |