[empathy: 50/53] Add level label to priv struct.
- From: Jonny Lamb <jonnylamb src gnome org>
- To: svn-commits-list gnome org
- Subject: [empathy: 50/53] Add level label to priv struct.
- Date: Thu, 4 Jun 2009 12:19:15 -0400 (EDT)
commit cb3f09f50537a6cac40a2e1a5d30e045ad426a20
Author: Jonny Lamb <jonny lamb collabora co uk>
Date: Thu Jun 4 16:18:26 2009 +0100
Add level label to priv struct.
Signed-off-by: Jonny Lamb <jonny lamb collabora co uk>
---
src/empathy-debug-dialog.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/empathy-debug-dialog.c b/src/empathy-debug-dialog.c
index 93edfc7..2bf45aa 100644
--- a/src/empathy-debug-dialog.c
+++ b/src/empathy-debug-dialog.c
@@ -75,6 +75,7 @@ typedef struct
GtkToolItem *copy_button;
GtkToolItem *clear_button;
GtkToolItem *pause_button;
+ GtkToolItem *level_label;
GtkWidget *level_filter;
/* TreeView */
@@ -982,12 +983,12 @@ debug_dialog_constructor (GType type,
gtk_toolbar_insert (GTK_TOOLBAR (toolbar), item, -1);
/* Level */
- item = gtk_tool_item_new ();
- gtk_widget_show (GTK_WIDGET (item));
+ priv->level_label = gtk_tool_item_new ();
+ gtk_widget_show (GTK_WIDGET (priv->level_label));
label = gtk_label_new (_("Level "));
gtk_widget_show (label);
- gtk_container_add (GTK_CONTAINER (item), label);
- gtk_toolbar_insert (GTK_TOOLBAR (toolbar), item, -1);
+ gtk_container_add (GTK_CONTAINER (priv->level_label), label);
+ gtk_toolbar_insert (GTK_TOOLBAR (toolbar), priv->level_label, -1);
priv->level_filter = gtk_combo_box_new_text ();
gtk_widget_show (priv->level_filter);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]