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

« back to all changes in this revision

Viewing changes to extensions/livehttpheaders/livehttpheaders-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:
60
60
 
61
61
enum
62
62
{
63
 
        PROP_DIALOG,
64
 
        PROP_URLS,
65
 
        PROP_REQUEST,
66
 
        PROP_RESPONSE,
67
 
        PROP_CLEAR_CACHE,
68
 
        PROP_CLEAR_HEADERS,
69
 
        PROP_UPDATE,
70
 
        PROP_CLOSE,
71
 
};
72
 
 
73
 
static const
74
 
EphyDialogProperty properties [] =
75
 
{
76
 
        { "livehttpheaders_ui", NULL, PT_NORMAL, 0 },
77
 
        { "urls",               NULL, PT_NORMAL, 0 },
78
 
        { "request",            NULL, PT_NORMAL, 0 },
79
 
        { "response",           NULL, PT_NORMAL, 0 },
80
 
        { "clear_cache",        NULL, PT_NORMAL, 0 },
81
 
        { "clear_headers",      NULL, PT_NORMAL, 0 },
82
 
        { "update",             NULL, PT_NORMAL, 0 },
83
 
        { "close",              NULL, PT_NORMAL, 0 },
84
 
        { NULL }
85
 
};
86
 
 
87
 
enum
88
 
{
89
63
        COL_URLS,
90
64
        N_COLUMNS
91
65
};
281
255
        priv = dialog->priv;
282
256
        
283
257
        ephy_dialog_construct (EPHY_DIALOG (edialog),
284
 
                               properties,
285
258
                               SHARE_DIR "/glade/livehttpheaders-ui.glade",
286
259
                               "livehttpheaders_ui",
287
260
                               GETTEXT_PACKAGE);
288
261
 
289
262
        ephy_dialog_get_controls (edialog,
290
 
                                  properties[PROP_DIALOG].id, &priv->dialog,
291
 
                                  properties[PROP_URLS].id, &priv->treeview,                    
292
 
                                  properties[PROP_REQUEST].id, &priv->a_request,
293
 
                                  properties[PROP_RESPONSE].id, &priv->a_response,
294
 
                                  properties[PROP_CLEAR_HEADERS].id, &priv->clear_headers,
295
 
                                  properties[PROP_CLEAR_CACHE].id, &priv->clear_cache,
296
 
                                  properties[PROP_UPDATE].id, &priv->update,
297
 
                                  properties[PROP_CLOSE].id, &priv->close,
 
263
                                  "livehttpheaders_ui", &priv->dialog,
 
264
                                  "urls", &priv->treeview,                      
 
265
                                  "request", &priv->a_request,
 
266
                                  "response", &priv->a_response,
 
267
                                  "clear_headers", &priv->clear_headers,
 
268
                                  "clear_cache", &priv->clear_cache,
 
269
                                  "update", &priv->update,
 
270
                                  "close", &priv->close,
298
271
                                  NULL);
299
272
 
300
273
        g_signal_connect (priv->dialog, "response",