diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2010-04-13 22:02:53 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2010-04-19 17:55:58 +0800 |
commit | f9d98f63fe3eaf8b3871df629445343c59d6da76 (patch) | |
tree | 3fe38ba837ab8ed8b8ffcaeb95d858aea3c5d9d9 /src/empathy-new-chatroom-dialog.c | |
parent | 6a00d34eec703d3c3044e7471dd2c8e370e145c9 (diff) | |
download | gsoc2013-empathy-f9d98f63fe3eaf8b3871df629445343c59d6da76.tar gsoc2013-empathy-f9d98f63fe3eaf8b3871df629445343c59d6da76.tar.gz gsoc2013-empathy-f9d98f63fe3eaf8b3871df629445343c59d6da76.tar.bz2 gsoc2013-empathy-f9d98f63fe3eaf8b3871df629445343c59d6da76.tar.lz gsoc2013-empathy-f9d98f63fe3eaf8b3871df629445343c59d6da76.tar.xz gsoc2013-empathy-f9d98f63fe3eaf8b3871df629445343c59d6da76.tar.zst gsoc2013-empathy-f9d98f63fe3eaf8b3871df629445343c59d6da76.zip |
Replace EphySpinner by GtkSpinner
Fixes bug #598446
Diffstat (limited to 'src/empathy-new-chatroom-dialog.c')
-rw-r--r-- | src/empathy-new-chatroom-dialog.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/empathy-new-chatroom-dialog.c b/src/empathy-new-chatroom-dialog.c index c814e4433..9cd439874 100644 --- a/src/empathy-new-chatroom-dialog.c +++ b/src/empathy-new-chatroom-dialog.c @@ -43,7 +43,6 @@ #include <libempathy-gtk/empathy-ui-utils.h> #include "empathy-new-chatroom-dialog.h" -#include "ephy-spinner.h" #define DEBUG_FLAG EMPATHY_DEBUG_OTHER #include <libempathy/empathy-debug.h> @@ -235,9 +234,7 @@ empathy_new_chatroom_dialog_show (GtkWindow *parent) new_chatroom_dialog_model_setup (dialog); /* Add throbber */ - dialog->throbber = ephy_spinner_new (); - ephy_spinner_set_size (EPHY_SPINNER (dialog->throbber), GTK_ICON_SIZE_LARGE_TOOLBAR); - gtk_widget_show (dialog->throbber); + dialog->throbber = gtk_spinner_new (); gtk_table_attach (GTK_TABLE (dialog->table_info), dialog->throbber, 2, 3, 0, 1, @@ -491,7 +488,8 @@ new_chatroom_dialog_account_changed_cb (GtkComboBox *combobox, dialog->room_list = NULL; } - ephy_spinner_stop (EPHY_SPINNER (dialog->throbber)); + gtk_spinner_stop (GTK_SPINNER (dialog->throbber)); + gtk_widget_hide (dialog->throbber); new_chatroom_dialog_model_clear (dialog); if (dialog->account != NULL) { @@ -553,7 +551,8 @@ new_chatroom_dialog_account_changed_cb (GtkComboBox *combobox, listing = empathy_tp_roomlist_is_listing (dialog->room_list); if (listing) { - ephy_spinner_start (EPHY_SPINNER (dialog->throbber)); + gtk_spinner_start (GTK_SPINNER (dialog->throbber)); + gtk_widget_show (dialog->throbber); } } @@ -659,9 +658,11 @@ new_chatroom_dialog_listing_cb (EmpathyTpRoomlist *room_list, /* Update the throbber */ if (listing) { - ephy_spinner_start (EPHY_SPINNER (dialog->throbber)); + gtk_spinner_start (GTK_SPINNER (dialog->throbber)); + gtk_widget_show (dialog->throbber); } else { - ephy_spinner_stop (EPHY_SPINNER (dialog->throbber)); + gtk_spinner_stop (GTK_SPINNER (dialog->throbber)); + gtk_widget_hide (dialog->throbber); } } |