60
PROP_SELECTION_COUNT_LABEL,
63
PROP_PROPERTIES_BUTTON,
68
EphyDialogProperty properties[] = {
69
{ "actions_editor", NULL, PT_NORMAL, 0 },
71
{ "view", NULL, PT_NORMAL, 0 },
72
{ "selection_count_label", NULL, PT_NORMAL, 0 },
73
{ "add_button", NULL, PT_NORMAL, 0 },
74
{ "remove_button", NULL, PT_NORMAL, 0 },
75
{ "properties_button", NULL, PT_NORMAL, 0 },
389
365
(dialog, GTK_STOCK_PROPERTIES,
390
366
G_CALLBACK(ephy_actions_extension_editor_dialog_edit_selected));
392
ephy_dialog_construct (EPHY_DIALOG (dialog), properties,
368
ephy_dialog_construct (EPHY_DIALOG (dialog),
393
369
SHARE_DIR "/ui/actions-editor.ui",
394
properties[PROP_ACTIONS_EDITOR].id,
395
371
GETTEXT_PACKAGE);
397
373
ephy_dialog_get_controls (
398
374
EPHY_DIALOG (dialog),
399
properties[PROP_ACTIONS_EDITOR].id, &(dialog->priv->dialog),
400
properties[PROP_VIEW].id, &(dialog->priv->view),
401
properties[PROP_SELECTION_COUNT_LABEL].id, &(dialog->priv->selection_count_label),
402
properties[PROP_REMOVE_BUTTON].id, &(dialog->priv->remove_button),
403
properties[PROP_ADD_BUTTON].id, &(dialog->priv->add_button),
404
properties[PROP_PROPERTIES_BUTTON].id, &(dialog->priv->properties_button),
375
"actions_editor", &(dialog->priv->dialog),
376
"view", &(dialog->priv->view),
377
"selection_count_label", &(dialog->priv->selection_count_label),
378
"remove_button", &(dialog->priv->remove_button),
379
"add_button", &(dialog->priv->add_button),
380
"properties_button", &(dialog->priv->properties_button),
406
382
g_signal_connect (dialog->priv->properties_button, "clicked",
407
383
G_CALLBACK (ephy_actions_extension_editor_dialog_properties_clicked_cb),