diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-04-02 17:41:44 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-04-02 17:41:44 +0800 |
commit | 37bf5e7f8e4a5817cdac6a8ab144a66b80642ece (patch) | |
tree | 9b1bdcb6d87037d3ace0518f84691d9d66f4d685 /libempathy-gtk/empathy-chat.c | |
parent | 68ecbb2a612256870b834351ad7b762532aa86c9 (diff) | |
download | gsoc2013-empathy-37bf5e7f8e4a5817cdac6a8ab144a66b80642ece.tar gsoc2013-empathy-37bf5e7f8e4a5817cdac6a8ab144a66b80642ece.tar.gz gsoc2013-empathy-37bf5e7f8e4a5817cdac6a8ab144a66b80642ece.tar.bz2 gsoc2013-empathy-37bf5e7f8e4a5817cdac6a8ab144a66b80642ece.tar.lz gsoc2013-empathy-37bf5e7f8e4a5817cdac6a8ab144a66b80642ece.tar.xz gsoc2013-empathy-37bf5e7f8e4a5817cdac6a8ab144a66b80642ece.tar.zst gsoc2013-empathy-37bf5e7f8e4a5817cdac6a8ab144a66b80642ece.zip |
Fix some coding style and move group chat glade into empathy-chat.glade
svn path=/trunk/; revision=838
Diffstat (limited to 'libempathy-gtk/empathy-chat.c')
-rw-r--r-- | libempathy-gtk/empathy-chat.c | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c index 082f33c92..6d0225951 100644 --- a/libempathy-gtk/empathy-chat.c +++ b/libempathy-gtk/empathy-chat.c @@ -65,33 +65,34 @@ #define COMPOSING_STOP_TIMEOUT 5 struct _EmpathyChatPriv { - EmpathyLogManager *log_manager; - EmpathyTpChat *tp_chat; - McAccount *account; - MissionControl *mc; - GtkWidget *widget; - guint composing_stop_timeout_id; - gboolean sensitive; - gchar *id; - GSList *sent_messages; - gint sent_messages_index; - GList *compositors; - guint scroll_idle_id; - gboolean first_tp_chat; - GList *backlog_messages; - gboolean is_first_char; - guint block_events_timeout_id; - TpHandleType handle_type; - gchar *name; - gchar *tooltip; - const gchar *icon_name; + EmpathyTpChat *tp_chat; + gchar *name; + gchar *tooltip; + const gchar *icon_name; + GtkWidget *widget; + + EmpathyLogManager *log_manager; + McAccount *account; + MissionControl *mc; + guint composing_stop_timeout_id; + gboolean sensitive; + gchar *id; + GSList *sent_messages; + gint sent_messages_index; + GList *compositors; + guint scroll_idle_id; + gboolean first_tp_chat; + GList *backlog_messages; + gboolean is_first_char; + guint block_events_timeout_id; + TpHandleType handle_type; /* Used to automatically shrink a window that has temporarily * grown due to long input. */ - gint padding_height; - gint default_window_height; - gint last_input_height; - gboolean vscroll_visible; + gint padding_height; + gint default_window_height; + gint last_input_height; + gboolean vscroll_visible; }; static void empathy_chat_class_init (EmpathyChatClass *klass); @@ -1220,8 +1221,6 @@ empathy_chat_init (EmpathyChat *chat) chat->view = empathy_chat_view_new (); chat->input_text_view = gtk_text_view_new (); - priv->is_first_char = TRUE; - g_object_set (chat->input_text_view, "pixels-above-lines", 2, "pixels-below-lines", 2, @@ -1231,6 +1230,7 @@ empathy_chat_init (EmpathyChat *chat) "wrap-mode", GTK_WRAP_WORD_CHAR, NULL); + priv->is_first_char = TRUE; priv->log_manager = empathy_log_manager_new (); priv->default_window_height = -1; priv->vscroll_visible = FALSE; |