~ubuntu-branches/ubuntu/quantal/epiphany-extensions/quantal

« back to all changes in this revision

Viewing changes to extensions/actions/ephy-actions-extension-editor-dialog.c

  • Committer: Bazaar Package Importer
  • Author(s): Frederic Peters
  • Date: 2011-04-14 19:04:24 UTC
  • mfrom: (1.1.43 upstream) (2.3.16 experimental)
  • Revision ID: james.westby@ubuntu.com-20110414190424-df2o8wz2pei97hbd
Tags: 3.0.0-2
debian/control.in: bump build-dep on epiphany.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
};
55
55
 
56
56
enum {
57
 
        PROP_ACTIONS_EDITOR,
58
 
 
59
 
        PROP_VIEW,
60
 
        PROP_SELECTION_COUNT_LABEL,
61
 
        PROP_ADD_BUTTON,
62
 
        PROP_REMOVE_BUTTON,
63
 
        PROP_PROPERTIES_BUTTON,
64
 
        PROP_CLOSE_BUTTON
65
 
};
66
 
 
67
 
static const
68
 
EphyDialogProperty properties[] = {
69
 
        { "actions_editor",             NULL, PT_NORMAL, 0 },
70
 
 
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 },
76
 
 
77
 
        { NULL }
78
 
};
79
 
 
80
 
enum {
81
57
        COLUMN_NODE,
82
58
        COLUMN_LABEL,
83
59
        N_COLUMNS
389
365
                (dialog, GTK_STOCK_PROPERTIES,
390
366
                 G_CALLBACK(ephy_actions_extension_editor_dialog_edit_selected));
391
367
 
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,
 
370
                               "actions_editor",
395
371
                               GETTEXT_PACKAGE);
396
372
 
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),
405
381
                NULL);
406
382
        g_signal_connect (dialog->priv->properties_button, "clicked",
407
383
                          G_CALLBACK (ephy_actions_extension_editor_dialog_properties_clicked_cb),