gtk_widget_show (hpaned);
browser->panel = g_object_new (MIDORI_TYPE_PANEL,
"action-group", browser->action_group,
- "menu", browser->menu_tools,
NULL);
g_object_connect (browser->panel,
"signal::notify::page",
GtkWidget* toolbook;
GtkWidget* notebook;
GtkActionGroup* action_group;
- GtkMenu* menu;
gboolean show_titles;
gboolean show_controls;
PROP_SHADOW_TYPE,
PROP_ACTION_GROUP,
- PROP_MENU,
PROP_PAGE,
PROP_SHOW_TITLES,
PROP_SHOW_CONTROLS,
GTK_TYPE_ACTION_GROUP,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * MidoriWebSettings:menu:
- *
- * This is the menu that holds the panel menu items.
- *
- * You shouldn't use this menu or add items.
- *
- * Deprecated: 0.1.9
- */
- g_object_class_install_property (gobject_class,
- PROP_MENU,
- g_param_spec_object (
- "menu",
- "Menu",
- "Menu to hold panel items",
- GTK_TYPE_MENU,
- G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
-
g_object_class_install_property (gobject_class,
PROP_PAGE,
g_param_spec_int (
case PROP_ACTION_GROUP:
katze_object_assign (panel->action_group, g_value_dup_object (value));
break;
- case PROP_MENU:
- katze_object_assign (panel->menu, g_value_dup_object (value));
- break;
case PROP_PAGE:
midori_panel_set_current_page (panel, g_value_get_int (value));
break;
case PROP_ACTION_GROUP:
g_value_set_object (value, panel->action_group);
break;
- case PROP_MENU:
- g_value_set_object (value, panel->menu);
- break;
case PROP_PAGE:
g_value_set_int (value, midori_panel_get_current_page (panel));
break;