aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-01-15 20:15:27 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-01-18 19:04:00 +0800
commit7a3f2ebca0e3b23f384a6173645e94b4a424704d (patch)
treebc8d35a63014146a0d633d35d7515c5a94a88b21 /src
parent2680f3635db17529e00ea200a625c53e0a0b0209 (diff)
downloadgsoc2013-empathy-7a3f2ebca0e3b23f384a6173645e94b4a424704d.tar
gsoc2013-empathy-7a3f2ebca0e3b23f384a6173645e94b4a424704d.tar.gz
gsoc2013-empathy-7a3f2ebca0e3b23f384a6173645e94b4a424704d.tar.bz2
gsoc2013-empathy-7a3f2ebca0e3b23f384a6173645e94b4a424704d.tar.lz
gsoc2013-empathy-7a3f2ebca0e3b23f384a6173645e94b4a424704d.tar.xz
gsoc2013-empathy-7a3f2ebca0e3b23f384a6173645e94b4a424704d.tar.zst
gsoc2013-empathy-7a3f2ebca0e3b23f384a6173645e94b4a424704d.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/empathy-accounts-dialog.c24
1 files changed, 0 insertions, 24 deletions
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,