aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2009-09-24 00:24:24 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2009-09-24 00:24:24 +0800
commit0e34ca788bcf7edd644139166175145b12ca037c (patch)
tree614861324b8612b4ef1f838f2f1de9c829cf57e8
parent428ac420a4d6ccc2b7468c59232c98e05619f5fa (diff)
parente1d586491b6dff96f88e9311390162d1d2798df7 (diff)
downloadgsoc2013-empathy-0e34ca788bcf7edd644139166175145b12ca037c.tar
gsoc2013-empathy-0e34ca788bcf7edd644139166175145b12ca037c.tar.gz
gsoc2013-empathy-0e34ca788bcf7edd644139166175145b12ca037c.tar.bz2
gsoc2013-empathy-0e34ca788bcf7edd644139166175145b12ca037c.tar.lz
gsoc2013-empathy-0e34ca788bcf7edd644139166175145b12ca037c.tar.xz
gsoc2013-empathy-0e34ca788bcf7edd644139166175145b12ca037c.tar.zst
gsoc2013-empathy-0e34ca788bcf7edd644139166175145b12ca037c.zip
Merge branch 'missing-icon'
-rw-r--r--src/empathy-accounts-dialog.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index e10f72270..e57c80393 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -302,11 +302,19 @@ account_dialog_create_settings_widget (EmpathyAccountsDialog *dialog,
icon_name = empathy_account_settings_get_icon_name (settings);
+ if (!gtk_icon_theme_has_icon (gtk_icon_theme_get_default (),
+ icon_name))
+ /* show the default icon; keep this in sync with the default
+ * one in empathy-accounts-dialog.ui.
+ */
+ icon_name = GTK_STOCK_CUT;
+
gtk_image_set_from_icon_name (GTK_IMAGE (priv->image_type),
icon_name, GTK_ICON_SIZE_DIALOG);
gtk_widget_set_tooltip_text (priv->image_type,
empathy_protocol_name_to_display_name
(empathy_account_settings_get_protocol (settings)));
+ gtk_widget_show (priv->image_type);
accounts_dialog_update_name_label (dialog,
empathy_account_settings_get_display_name (settings));