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

« back to all changes in this revision

Viewing changes to extensions/error-viewer/error-viewer.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:
42
42
 
43
43
enum
44
44
{
45
 
        PROP_WINDOW,
46
 
        PROP_TREEVIEW,
47
 
};
48
 
 
49
 
static const
50
 
EphyDialogProperty properties [] =
51
 
{
52
 
        { "error_viewer",       NULL, PT_NORMAL, 0 },
53
 
        { "error_list",         NULL, PT_NORMAL, 0 },
54
 
 
55
 
        { NULL }
56
 
};
57
 
 
58
 
enum
59
 
{
60
45
        COL_ICON,
61
46
        COL_TEXT,
62
47
        N_COLUMNS
216
201
        ErrorViewerPrivate *priv = dialog->priv;
217
202
 
218
203
        priv->window = ephy_dialog_get_control (EPHY_DIALOG (dialog),
219
 
                                                properties[PROP_WINDOW].id);
 
204
                                                "error_viewer");
220
205
        priv->treeview = ephy_dialog_get_control (EPHY_DIALOG (dialog),
221
 
                                                  properties[PROP_TREEVIEW].id);
 
206
                                                  "error_list");
222
207
 
223
208
        gtk_window_set_icon_name (GTK_WINDOW (priv->window),
224
209
                                  GTK_STOCK_DIALOG_ERROR);
271
256
        dialog->priv->num_active = 0;
272
257
 
273
258
        ephy_dialog_construct (EPHY_DIALOG (dialog),
274
 
                               properties,
275
259
                               SHARE_DIR "/glade/error-viewer.glade",
276
260
                               "error_viewer",
277
261
                               GETTEXT_PACKAGE);