~ubuntu-branches/ubuntu/trusty/epiphany-extensions/trusty

« back to all changes in this revision

Viewing changes to extensions/extensions-manager-ui/extensions-manager-ui.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:
52
52
 
53
53
enum
54
54
{
55
 
        PROP_WINDOW,
56
 
        PROP_TREEVIEW,
57
 
};
58
 
 
59
 
static const
60
 
EphyDialogProperty properties [] =
61
 
{
62
 
        { "extensions_manager_ui",      NULL, PT_NORMAL, 0 },
63
 
        { "extensions_treeview",        NULL, PT_NORMAL, 0 },
64
 
 
65
 
        { NULL }
66
 
};
67
 
 
68
 
enum
69
 
{
70
55
        COL_INFO,       /* EphyExtensionInfo* */
71
56
        COL_NAME,       /* Search column */
72
57
        COL_TOGGLE,     /* enabled? */
342
327
        ExtensionsManagerUIPrivate *priv = dialog->priv;
343
328
 
344
329
        priv->window = ephy_dialog_get_control (EPHY_DIALOG (dialog),
345
 
                                                properties[PROP_WINDOW].id);
 
330
                                                "extensions_manager_ui");
346
331
        priv->treeview = ephy_dialog_get_control (EPHY_DIALOG (dialog),
347
 
                                                  properties[PROP_TREEVIEW].id);
 
332
                                                  "extensions_treeview");
348
333
 
349
334
        g_signal_connect (priv->window, "response",
350
335
                          G_CALLBACK (extensions_manager_ui_response_cb), dialog);
439
424
                (ephy_shell_get_extensions_manager (ephy_shell));
440
425
 
441
426
        ephy_dialog_construct (EPHY_DIALOG (dialog),
442
 
                               properties,
443
427
                               SHARE_DIR "/ui/extensions-manager-ui.ui",
444
428
                               "extensions_manager_ui",
445
429
                               GETTEXT_PACKAGE);