diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-11-26 01:50:01 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-11-26 18:34:43 +0800 |
commit | 38fb31535052089c55fc012d3356758363ae7bb3 (patch) | |
tree | 2fc301b8fc69fdcfaf88d512b68a0a681ca1d0e0 /src/empathy-chatrooms-window.c | |
parent | 1e3bb1380521ae6bb0b16ceb98e36834aeba70d8 (diff) | |
download | gsoc2013-empathy-38fb31535052089c55fc012d3356758363ae7bb3.tar gsoc2013-empathy-38fb31535052089c55fc012d3356758363ae7bb3.tar.gz gsoc2013-empathy-38fb31535052089c55fc012d3356758363ae7bb3.tar.bz2 gsoc2013-empathy-38fb31535052089c55fc012d3356758363ae7bb3.tar.lz gsoc2013-empathy-38fb31535052089c55fc012d3356758363ae7bb3.tar.xz gsoc2013-empathy-38fb31535052089c55fc012d3356758363ae7bb3.tar.zst gsoc2013-empathy-38fb31535052089c55fc012d3356758363ae7bb3.zip |
Always display the 'Room' column (#586678)
There is no reason to only display it when an account is selected.
Diffstat (limited to 'src/empathy-chatrooms-window.c')
-rw-r--r-- | src/empathy-chatrooms-window.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/empathy-chatrooms-window.c b/src/empathy-chatrooms-window.c index 6f2c8c24c..aae8aac32 100644 --- a/src/empathy-chatrooms-window.c +++ b/src/empathy-chatrooms-window.c @@ -52,8 +52,6 @@ typedef struct { GtkWidget *button_remove; GtkWidget *button_edit; GtkWidget *button_close; - - gint room_column; } EmpathyChatroomsWindow; static void chatrooms_window_destroy_cb (GtkWidget *widget, @@ -278,7 +276,6 @@ chatrooms_window_model_add_columns (EmpathyChatroomsWindow *window) NULL); count = gtk_tree_view_append_column (view, column); gtk_tree_view_column_set_sort_column_id (column, count - 1); - window->room_column = count - 1; /* Chatroom auto connect */ cell = gtk_cell_renderer_toggle_new (); @@ -306,7 +303,6 @@ chatrooms_window_model_refresh_data (EmpathyChatroomsWindow *window, GtkTreeModel *model; GtkListStore *store; GtkTreeIter iter; - GtkTreeViewColumn *column; EmpathyAccountChooser *account_chooser; TpAccount *account; GList *chatrooms, *l; @@ -322,17 +318,6 @@ chatrooms_window_model_refresh_data (EmpathyChatroomsWindow *window, chatrooms = empathy_chatroom_manager_get_chatrooms (window->manager, account); - /* Sort out columns, we only show the server column for - * selected protocol types, such as Jabber. - */ - if (account) { - column = gtk_tree_view_get_column (view, window->room_column); - gtk_tree_view_column_set_visible (column, TRUE); - } else { - column = gtk_tree_view_get_column (view, window->room_column); - gtk_tree_view_column_set_visible (column, FALSE); - } - /* Clean out the store */ gtk_list_store_clear (store); |