diff options
author | Felix Kaser <f.kaser@gmx.net> | 2009-12-03 06:37:41 +0800 |
---|---|---|
committer | Felix Kaser <f.kaser@gmx.net> | 2009-12-15 20:52:43 +0800 |
commit | 0346b097ed20b5617d6b2cf4c0e0dc498e7b1516 (patch) | |
tree | 52c927a93c07c16956092b10fb3b7a7caed3743e /src | |
parent | 1a85521a5acf30995d71b86d733ef56c17e619e6 (diff) | |
download | gsoc2013-empathy-0346b097ed20b5617d6b2cf4c0e0dc498e7b1516.tar gsoc2013-empathy-0346b097ed20b5617d6b2cf4c0e0dc498e7b1516.tar.gz gsoc2013-empathy-0346b097ed20b5617d6b2cf4c0e0dc498e7b1516.tar.bz2 gsoc2013-empathy-0346b097ed20b5617d6b2cf4c0e0dc498e7b1516.tar.lz gsoc2013-empathy-0346b097ed20b5617d6b2cf4c0e0dc498e7b1516.tar.xz gsoc2013-empathy-0346b097ed20b5617d6b2cf4c0e0dc498e7b1516.tar.zst gsoc2013-empathy-0346b097ed20b5617d6b2cf4c0e0dc498e7b1516.zip |
added infobar with empty label
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy-accounts-dialog.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c index c89f99827..9bad1d9b7 100644 --- a/src/empathy-accounts-dialog.c +++ b/src/empathy-accounts-dialog.c @@ -78,6 +78,8 @@ typedef struct { GtkWidget *vbox_details; GtkWidget *vbox_name; + GtkWidget *infobar; + GtkWidget *label_status; GtkWidget *frame_no_protocol; GtkWidget *treeview; @@ -1551,6 +1553,7 @@ accounts_dialog_build_ui (EmpathyAccountsDialog *dialog) GtkBuilder *gui; gchar *filename; EmpathyAccountsDialogPriv *priv = GET_PRIV (dialog); + GtkWidget *content_area; #ifdef HAVE_MOBLIN GtkWidget *action_area; #endif @@ -1611,6 +1614,13 @@ accounts_dialog_build_ui (EmpathyAccountsDialog *dialog) if (priv->parent_window) gtk_window_set_transient_for (GTK_WINDOW (priv->window), priv->parent_window); + + priv->infobar = gtk_info_bar_new (); + gtk_box_pack_end_defaults (GTK_BOX (priv->vbox_name), priv->infobar); + + priv->label_status = gtk_label_new (NULL); + content_area = gtk_info_bar_get_content_area (GTK_INFO_BAR (priv->infobar)); + gtk_container_add (GTK_CONTAINER (content_area), priv->label_status); } static void |