[empathy] Stop greysing and blinking the protocol icon
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy] Stop greysing and blinking the protocol icon
- Date: Mon, 18 Jan 2010 14:01:10 +0000 (UTC)
commit 7a3f2ebca0e3b23f384a6173645e94b4a424704d
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Fri Jan 15 12:15:27 2010 +0000
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 files changed, 0 insertions(+), 24 deletions(-)
---
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index 96d97cb..225bf36 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]