[empathy: 12/53] Make sure the toolbar labels are shown.
- From: Jonny Lamb <jonnylamb src gnome org>
- To: svn-commits-list gnome org
- Subject: [empathy: 12/53] Make sure the toolbar labels are shown.
- Date: Thu, 4 Jun 2009 12:16:03 -0400 (EDT)
commit 810744148160705f76412551b28daadaf7d29da8
Author: Jonny Lamb <jonny lamb collabora co uk>
Date: Mon Apr 20 02:15:47 2009 +0100
Make sure the toolbar labels are shown.
Signed-off-by: Jonny Lamb <jonny lamb collabora co uk>
---
src/empathy-debug-dialog.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/empathy-debug-dialog.c b/src/empathy-debug-dialog.c
index c5d6dad..754d9bc 100644
--- a/src/empathy-debug-dialog.c
+++ b/src/empathy-debug-dialog.c
@@ -285,6 +285,7 @@ debug_dialog_constructor (GType type,
GtkWidget *vbox;
GtkWidget *toolbar;
GtkWidget *image;
+ GtkWidget *label;
GtkToolItem *item;
GtkCellRenderer *renderer;
GtkWidget *scrolled_win;
@@ -310,7 +311,9 @@ debug_dialog_constructor (GType type,
/* Account */
item = gtk_tool_item_new ();
gtk_widget_show (GTK_WIDGET (item));
- gtk_container_add (GTK_CONTAINER (item), gtk_label_new (_("Account ")));
+ label = gtk_label_new (_("Account "));
+ gtk_widget_show (label);
+ gtk_container_add (GTK_CONTAINER (item), label);
gtk_toolbar_insert (GTK_TOOLBAR (toolbar), item, -1);
priv->account_chooser = empathy_account_chooser_new ();
@@ -366,7 +369,9 @@ debug_dialog_constructor (GType type,
/* Level */
item = gtk_tool_item_new ();
gtk_widget_show (GTK_WIDGET (item));
- gtk_container_add (GTK_CONTAINER (item), gtk_label_new (_("Level ")));
+ label = gtk_label_new (_("Level "));
+ gtk_widget_show (label);
+ gtk_container_add (GTK_CONTAINER (item), label);
gtk_toolbar_insert (GTK_TOOLBAR (toolbar), item, -1);
priv->filter = gtk_combo_box_new_text ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]