diff options
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-main-window.c | 2 | ||||
-rw-r--r-- | libempathy-gtk/gossip-new-chatroom-dialog.c | 113 |
2 files changed, 46 insertions, 69 deletions
diff --git a/libempathy-gtk/empathy-main-window.c b/libempathy-gtk/empathy-main-window.c index aa49cffe0..b10f6c8d6 100644 --- a/libempathy-gtk/empathy-main-window.c +++ b/libempathy-gtk/empathy-main-window.c @@ -82,7 +82,7 @@ typedef struct { GtkWidget *throbber; /* Widgets that are enabled when there is... */ - GList *widgets_connected; /* ... connected accounts */ + GList *widgets_connected; /* ... connected accounts */ GList *widgets_disconnected; /* ... disconnected accounts */ /* Status popup */ diff --git a/libempathy-gtk/gossip-new-chatroom-dialog.c b/libempathy-gtk/gossip-new-chatroom-dialog.c index 6c16ecb11..3200d543d 100644 --- a/libempathy-gtk/gossip-new-chatroom-dialog.c +++ b/libempathy-gtk/gossip-new-chatroom-dialog.c @@ -96,74 +96,51 @@ enum { COL_COUNT }; -static void -new_chatroom_dialog_response_cb (GtkWidget *widget, - gint response, - GossipNewChatroomDialog *dialog); -static void -new_chatroom_dialog_destroy_cb (GtkWidget *widget, - GossipNewChatroomDialog *dialog); -static void -new_chatroom_dialog_model_setup (GossipNewChatroomDialog *dialog); -static void -new_chatroom_dialog_model_add_columns (GossipNewChatroomDialog *dialog); -static void -new_chatroom_dialog_update_buttons (GossipNewChatroomDialog *dialog); -static void -new_chatroom_dialog_update_widgets (GossipNewChatroomDialog *dialog); -static void -new_chatroom_dialog_account_changed_cb (GtkComboBox *combobox, - GossipNewChatroomDialog *dialog); -static void -new_chatroom_dialog_model_add (GossipNewChatroomDialog *dialog, - EmpathyRoomListItem *item); -static void -new_chatroom_dialog_model_clear (GossipNewChatroomDialog *dialog); -static GList * -new_chatroom_dialog_model_get_selected (GossipNewChatroomDialog *dialog); -static gboolean -new_chatroom_dialog_model_filter_func (GtkTreeModel *model, - GtkTreeIter *iter, - GossipNewChatroomDialog *dialog); -static void -new_chatroom_dialog_model_row_activated_cb (GtkTreeView *tree_view, - GtkTreePath *path, - GtkTreeViewColumn *column, - GossipNewChatroomDialog *dialog); -static void -new_chatroom_dialog_model_row_inserted_cb (GtkTreeModel *model, - GtkTreePath *path, - GtkTreeIter *iter, - GossipNewChatroomDialog *dialog); -static void -new_chatroom_dialog_model_row_deleted_cb (GtkTreeModel *model, - GtkTreePath *path, - GossipNewChatroomDialog *dialog); -static void -new_chatroom_dialog_model_selection_changed (GtkTreeSelection *selection, - GossipNewChatroomDialog *dialog); -static void -new_chatroom_dialog_set_defaults (GossipNewChatroomDialog *dialog); -static void -new_chatroom_dialog_join (GossipNewChatroomDialog *dialog); -static void -new_chatroom_dialog_request_handles_cb (DBusGProxy *proxy, - GArray *handles, - GError *error, - McAccount *account); -static void -new_chatroom_dialog_entry_changed_cb (GtkWidget *entry, - GossipNewChatroomDialog *dialog); -static void -new_chatroom_dialog_browse_start (GossipNewChatroomDialog *dialog); -static void -new_chatroom_dialog_browse_stop (GossipNewChatroomDialog *dialog); -static void -new_chatroom_dialog_entry_server_activate_cb (GtkWidget *widget, - GossipNewChatroomDialog *dialog); -static void -new_chatroom_dialog_togglebutton_refresh_toggled_cb (GtkWidget *widget, - GossipNewChatroomDialog *dialog); +static void new_chatroom_dialog_response_cb (GtkWidget *widget, + gint response, + GossipNewChatroomDialog *dialog); +static void new_chatroom_dialog_destroy_cb (GtkWidget *widget, + GossipNewChatroomDialog *dialog); +static void new_chatroom_dialog_model_setup (GossipNewChatroomDialog *dialog); +static void new_chatroom_dialog_model_add_columns (GossipNewChatroomDialog *dialog); +static void new_chatroom_dialog_update_buttons (GossipNewChatroomDialog *dialog); +static void new_chatroom_dialog_update_widgets (GossipNewChatroomDialog *dialog); +static void new_chatroom_dialog_account_changed_cb (GtkComboBox *combobox, + GossipNewChatroomDialog *dialog); +static void new_chatroom_dialog_model_add (GossipNewChatroomDialog *dialog, + EmpathyRoomListItem *item); +static void new_chatroom_dialog_model_clear (GossipNewChatroomDialog *dialog); +static GList * new_chatroom_dialog_model_get_selected (GossipNewChatroomDialog *dialog); +static gboolean new_chatroom_dialog_model_filter_func (GtkTreeModel *model, + GtkTreeIter *iter, + GossipNewChatroomDialog *dialog); +static void new_chatroom_dialog_model_row_activated_cb (GtkTreeView *tree_view, + GtkTreePath *path, + GtkTreeViewColumn *column, + GossipNewChatroomDialog *dialog); +static void new_chatroom_dialog_model_row_inserted_cb (GtkTreeModel *model, + GtkTreePath *path, + GtkTreeIter *iter, + GossipNewChatroomDialog *dialog); +static void new_chatroom_dialog_model_row_deleted_cb (GtkTreeModel *model, + GtkTreePath *path, + GossipNewChatroomDialog *dialog); +static void new_chatroom_dialog_model_selection_changed (GtkTreeSelection *selection, + GossipNewChatroomDialog *dialog); +static void new_chatroom_dialog_set_defaults (GossipNewChatroomDialog *dialog); +static void new_chatroom_dialog_join (GossipNewChatroomDialog *dialog); +static void new_chatroom_dialog_request_handles_cb (DBusGProxy *proxy, + GArray *handles, + GError *error, + McAccount *account); +static void new_chatroom_dialog_entry_changed_cb (GtkWidget *entry, + GossipNewChatroomDialog *dialog); +static void new_chatroom_dialog_browse_start (GossipNewChatroomDialog *dialog); +static void new_chatroom_dialog_browse_stop (GossipNewChatroomDialog *dialog); +static void new_chatroom_dialog_entry_server_activate_cb (GtkWidget *widget, + GossipNewChatroomDialog *dialog); +static void new_chatroom_dialog_togglebutton_refresh_toggled_cb (GtkWidget *widget, + GossipNewChatroomDialog *dialog); static GossipNewChatroomDialog *dialog_p = NULL; |