[gnome-chat] embed: Adjust the names of the widgets



commit 00661acf9b2911a80cba7fd4e0e1e6c13937ad5a
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed Sep 11 15:05:32 2013 +0200

    embed: Adjust the names of the widgets

 src/chat-embed.c  |    6 +++---
 src/chat-embed.ui |    4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/chat-embed.c b/src/chat-embed.c
index 9e81edc..acf793e 100644
--- a/src/chat-embed.c
+++ b/src/chat-embed.c
@@ -45,7 +45,7 @@ struct _ChatEmbedPrivate
   GtkWidget *main_input_area;
   GtkWidget *sidebar_frame;
   GtkWidget *status_area;
-  GtkWidget *status_area_label;
+  GtkWidget *status_area_nickname;
   GtkWidget *status_area_presence_icon;
   GtkWidget *status_area_presence_message;
   GtkWidget *toolbar;
@@ -135,7 +135,7 @@ chat_embed_row_activated (ChatEmbed *self, GtkListBoxRow *row)
 
   nickname = tp_account_get_nickname (account);
   markup = g_markup_printf_escaped ("<b>%s</b>", nickname);
-  gtk_label_set_markup (GTK_LABEL (priv->status_area_label), markup);
+  gtk_label_set_markup (GTK_LABEL (priv->status_area_nickname), markup);
 
   presence = tp_account_get_current_presence (account, NULL, &status_message);
   if (status_message == NULL)
@@ -261,7 +261,7 @@ chat_embed_class_init (ChatEmbedClass *class)
   gtk_widget_class_bind_template_child_private (widget_class, ChatEmbed, main_input_area);
   gtk_widget_class_bind_template_child_private (widget_class, ChatEmbed, sidebar_frame);
   gtk_widget_class_bind_template_child_private (widget_class, ChatEmbed, status_area);
-  gtk_widget_class_bind_template_child_private (widget_class, ChatEmbed, status_area_label);
+  gtk_widget_class_bind_template_child_private (widget_class, ChatEmbed, status_area_nickname);
   gtk_widget_class_bind_template_child_private (widget_class, ChatEmbed, status_area_presence_icon);
   gtk_widget_class_bind_template_child_private (widget_class, ChatEmbed, status_area_presence_message);
 }
diff --git a/src/chat-embed.ui b/src/chat-embed.ui
index 8c7d277..697d0aa 100644
--- a/src/chat-embed.ui
+++ b/src/chat-embed.ui
@@ -48,7 +48,7 @@
                     <property name="can_focus">False</property>
                     <property name="visible">True</property>
                     <child>
-                      <object class="GtkGrid" id="status_area_grid">
+                      <object class="GtkGrid" id="status_area_grid0">
                         <property name="can_focus">False</property>
                         <property name="hexpand">True</property>
                         <property name="orientation">horizontal</property>
@@ -62,7 +62,7 @@
                             <property name="vexpand">False</property>
                             <property name="visible">True</property>
                             <child>
-                              <object class="GtkLabel" id="status_area_label">
+                              <object class="GtkLabel" id="status_area_nickname">
                                 <property name="can_focus">False</property>
                                 <property name="ellipsize">end</property>
                                 <property name="halign">start</property>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]