From 7a3f2ebca0e3b23f384a6173645e94b4a424704d Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Fri, 15 Jan 2010 12:15:27 +0000 Subject: Stop greysing and blinking the protocol icon We now have another icon showing the connection status so there is no point to display it (in an unclear way) in the protocol icon as well. --- src/empathy-accounts-dialog.c | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'src/empathy-accounts-dialog.c') diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c index 96d97cb14..225bf365c 100644 --- a/src/empathy-accounts-dialog.c +++ b/src/empathy-accounts-dialog.c @@ -899,7 +899,6 @@ accounts_dialog_model_protocol_pixbuf_data_func (GtkTreeViewColumn *tree_column, gchar *icon_name; GdkPixbuf *pixbuf; TpConnectionStatus status; - EmpathyAccountsDialogPriv *priv = GET_PRIV (dialog); gtk_tree_model_get (model, iter, COL_STATUS, &status, @@ -909,29 +908,6 @@ accounts_dialog_model_protocol_pixbuf_data_func (GtkTreeViewColumn *tree_column, icon_name = empathy_account_settings_get_icon_name (settings); pixbuf = empathy_pixbuf_from_icon_name (icon_name, GTK_ICON_SIZE_BUTTON); - if (pixbuf) - { - if (status == TP_CONNECTION_STATUS_DISCONNECTED || - (status == TP_CONNECTION_STATUS_CONNECTING && - !priv->connecting_show)) - { - GdkPixbuf *modded_pixbuf; - - modded_pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB, - TRUE, - 8, - gdk_pixbuf_get_width (pixbuf), - gdk_pixbuf_get_height (pixbuf)); - - gdk_pixbuf_saturate_and_pixelate (pixbuf, - modded_pixbuf, - 1.0, - TRUE); - g_object_unref (pixbuf); - pixbuf = modded_pixbuf; - } - } - g_object_set (cell, "visible", TRUE, "pixbuf", pixbuf, -- cgit v1.2.3