[ekiga] Dropped unknown icon in favor of avatar-default.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] Dropped unknown icon in favor of avatar-default.
- Date: Sun, 6 May 2012 11:05:58 +0000 (UTC)
commit 97853769e363d8883abd6026fe3a5fe269fd6e07
Author: Damien Sandras <dsandras beip be>
Date: Sun May 6 12:40:01 2012 +0200
Dropped unknown icon in favor of avatar-default.
This icon is used for SIP/H.323 numbers without presence associated with
them (e.g. a cellphone number).
lib/engine/gui/gtk-core/gtk-core.cpp | 4 ----
lib/engine/gui/gtk-frontend/roster-view-gtk.cpp | 2 +-
lib/gui/gmstockicons.c | 1 -
lib/gui/gmstockicons.h | 1 -
4 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/lib/engine/gui/gtk-core/gtk-core.cpp b/lib/engine/gui/gtk-core/gtk-core.cpp
index 6f86c18..ac819f2 100644
--- a/lib/engine/gui/gtk-core/gtk-core.cpp
+++ b/lib/engine/gui/gtk-core/gtk-core.cpp
@@ -47,10 +47,6 @@ Gtk::Core::Core ()
gnomemeeting_stock_icons_init ();
- icon_set = gtk_icon_factory_lookup_default (GM_STOCK_STATUS_UNKNOWN);
- gtk_icon_factory_add (factory, "unknown", icon_set);
- gtk_icon_set_unref (icon_set);
-
icon_set = gtk_icon_factory_lookup_default (GM_STOCK_STATUS_INACALL);
gtk_icon_factory_add (factory, "inacall", icon_set);
gtk_icon_set_unref (icon_set);
diff --git a/lib/engine/gui/gtk-frontend/roster-view-gtk.cpp b/lib/engine/gui/gtk-frontend/roster-view-gtk.cpp
index abad1bd..8948003 100644
--- a/lib/engine/gui/gtk-frontend/roster-view-gtk.cpp
+++ b/lib/engine/gui/gtk-frontend/roster-view-gtk.cpp
@@ -994,7 +994,7 @@ on_presentity_added (RosterViewGtk* self,
if (gtk_tree_selection_iter_is_selected (selection, &filtered_iter))
should_emit = TRUE;
- std::string icon = "user-offline";
+ std::string icon = "avatar-default";
if (presentity->get_presence () != "unknown")
icon = "user-" + presentity->get_presence ();
gtk_tree_store_set (self->priv->store, &iter,
diff --git a/lib/gui/gmstockicons.c b/lib/gui/gmstockicons.c
index 31ccc74..ab13f67 100644
--- a/lib/gui/gmstockicons.c
+++ b/lib/gui/gmstockicons.c
@@ -58,7 +58,6 @@ gnomemeeting_stock_icons_init (void)
{
{ GM_STOCK_COLOR_BRIGHTNESS_CONTRAST, gm_color_brightness_contrast_stock_data },
- { GM_STOCK_STATUS_UNKNOWN, gm_status_unknown_stock_data },
{ GM_STOCK_STATUS_INACALL, gm_status_inacall_stock_data_16 },
{ GM_STOCK_STATUS_RINGING, gm_status_ringing_stock_data_16 },
diff --git a/lib/gui/gmstockicons.h b/lib/gui/gmstockicons.h
index ad23b5b..1745638 100644
--- a/lib/gui/gmstockicons.h
+++ b/lib/gui/gmstockicons.h
@@ -64,7 +64,6 @@ G_BEGIN_DECLS
#define GM_STOCK_CALL_RECEIVED "gm_call_received_stock"
#define GM_STOCK_CALL_TRANSFER "gm_call_transfer_stock"
-#define GM_STOCK_STATUS_UNKNOWN "gm_status_unknown_stock"
#define GM_STOCK_STATUS_INACALL "gm_status_inacall_stock_16"
#define GM_STOCK_STATUS_RINGING "gm_status_ringing_stock_16"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]