diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2007-05-08 03:48:22 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2007-05-08 03:48:22 +0800 |
commit | c7010d43264dafca66ff65540c5d6666f1c66e2a (patch) | |
tree | b9913e0042b112a9e97eeb7b00521459a568b58c /src/empathy-main.c | |
parent | 6e542b100fd2efcfb7b8a3b58bf173fed1e3e494 (diff) | |
download | gsoc2013-empathy-c7010d43264dafca66ff65540c5d6666f1c66e2a.tar gsoc2013-empathy-c7010d43264dafca66ff65540c5d6666f1c66e2a.tar.gz gsoc2013-empathy-c7010d43264dafca66ff65540c5d6666f1c66e2a.tar.bz2 gsoc2013-empathy-c7010d43264dafca66ff65540c5d6666f1c66e2a.tar.lz gsoc2013-empathy-c7010d43264dafca66ff65540c5d6666f1c66e2a.tar.xz gsoc2013-empathy-c7010d43264dafca66ff65540c5d6666f1c66e2a.tar.zst gsoc2013-empathy-c7010d43264dafca66ff65540c5d6666f1c66e2a.zip |
[darcs-to-svn @ Use icon-name API instead of stock icons and update tango icons]
svn path=/trunk/; revision=32
Diffstat (limited to 'src/empathy-main.c')
-rw-r--r-- | src/empathy-main.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/empathy-main.c b/src/empathy-main.c index 2aea589f6..fb5684aa3 100644 --- a/src/empathy-main.c +++ b/src/empathy-main.c @@ -35,8 +35,8 @@ #include <libempathy/gossip-debug.h> #include <libempathy-gtk/empathy-main-window.h> +#include <libempathy-gtk/empathy-images.h> #include <libempathy-gtk/gossip-status-presets.h> -#include <libempathy-gtk/gossip-stock.h> #include <libempathy-gtk/gossip-accounts-dialog.h> #define DEBUG_DOMAIN "Empathy" @@ -104,7 +104,6 @@ static void destroy_cb (GtkWidget *window, gpointer user_data) { - gossip_stock_finalize (); gtk_main_quit (); } @@ -130,9 +129,6 @@ main (int argc, char *argv[]) gtk_init (&argc, &argv); - /* FIXME: This is a horrible hack */ - gossip_stock_init (gtk_window_new (GTK_WINDOW_TOPLEVEL)); - /* Setting up MC */ monitor = mc_account_monitor_new (); mc = mission_control_new (tp_get_bus ()); @@ -154,7 +150,7 @@ main (int argc, char *argv[]) NULL); /* Setting up the tray icon */ - icon = gtk_status_icon_new_from_stock (GOSSIP_STOCK_MESSAGE); + icon = gtk_status_icon_new_from_icon_name (EMPATHY_IMAGE_MESSAGE); gtk_status_icon_set_tooltip (icon, "Empathy - click here to show/hide the main window"); gtk_status_icon_set_visible (icon, TRUE); g_signal_connect (icon, "activate", |