From c91ff321c1ba587317e022e9bb13e1d28857dee7 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sun, 31 Aug 2003 18:10:11 +0000 Subject: *** empty log message *** --- src/ephy-window.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/ephy-window.c') diff --git a/src/ephy-window.c b/src/ephy-window.c index 241bd01c1..779fb46c8 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -69,7 +69,7 @@ static GtkActionEntry ephy_menu_entries [] = { { "Go", NULL, N_("_Go") }, { "Tabs", NULL, N_("_Tabs") }, { "Help", NULL, N_("_Help") }, - { "PopupMenu", NULL, "" }, + { "PopupAction", NULL, "" }, /* File menu */ { "FileNewWindow", GTK_STOCK_NEW, N_("_New Window"), "N", @@ -154,7 +154,7 @@ static GtkActionEntry ephy_menu_entries [] = { { "ViewZoomNormal", GTK_STOCK_ZOOM_100, N_("_Normal Size"), NULL, N_("Use the normal text size"), G_CALLBACK (window_cmd_view_zoom_normal) }, - { "ViewEncoding", N_("_Encoding"), NULL, NULL, NULL, NULL }, + { "ViewEncoding", NULL, N_("_Encoding") }, { "ViewPageSource", EPHY_STOCK_VIEWSOURCE, N_("_Page Source"), "U", N_("View the source code of the page"), G_CALLBACK (window_cmd_view_page_source) }, @@ -643,6 +643,10 @@ setup_window (EphyWindow *window) g_clear_error (&err); } + /* FIXME trick to force update */ + gtk_ui_manager_get_widget (GTK_UI_MANAGER (window->ui_merge), + "/menubar"); + window->priv->toolbar = toolbar_new (window); gtk_widget_show (GTK_WIDGET (window->priv->toolbar)); gtk_box_pack_end (GTK_BOX (window->priv->menu_dock), @@ -1368,7 +1372,7 @@ ephy_window_init (EphyWindow *window) g_object_ref (ephy_shell); - /* Initializ the menus */ + /* Initialize the menus */ window->priv->tabs_menu = ephy_tabs_menu_new (window); window->priv->fav_menu = ephy_favorites_menu_new (window); window->priv->enc_menu = ephy_encoding_menu_new (window); -- cgit v1.2.3