-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The attached patch changes it to use the new icon now.

Alan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGnodN1FNW1LDdr0IRAtY6AJ0aFiCFAbbAK97InOBVpdg+991ngQCfeNyo
/YtBQtahMM9mBKmCIbniOv4=
=IWpl
-----END PGP SIGNATURE-----

#! /bin/sh /usr/share/dpatch/dpatch-run
## 22_new_icon.dpatch by  <[EMAIL PROTECTED]>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad 
mozilla-traybiff-1.2.3~/components/nsMessengerFreeDesktopIntegration.cpp 
mozilla-traybiff-1.2.3/components/nsMessengerFreeDesktopIntegration.cpp
--- mozilla-traybiff-1.2.3~/components/nsMessengerFreeDesktopIntegration.cpp    
2007-07-18 01:22:57.000000000 +0100
+++ mozilla-traybiff-1.2.3/components/nsMessengerFreeDesktopIntegration.cpp     
2007-07-18 22:17:59.000000000 +0100
@@ -88,6 +88,7 @@
 // One day, we should use an icon from chrome.
 // Meanwhile, we'll embed the icon:
 #include "trayBiffIcon.h"
+#include "trayBiffIconGrey.h"
 
 // Path to the New Mail Led control files
 const char* HW_INDICATOR_CONTROL_FILENAMES[] = {
@@ -965,7 +966,8 @@
                        {
                                ClearToolTip();
                                GError* err = NULL;
-                               GdkPixbuf* pixbuf = 
gdk_pixbuf_new_from_file_at_scale(mBrandIconPath.get(), ICON_WIDTH, 
ICON_HEIGHT, FALSE, &err);
+                               //GdkPixbuf* pixbuf = 
gdk_pixbuf_new_from_file_at_scale(mBrandIconPath.get(), ICON_WIDTH, 
ICON_HEIGHT, FALSE, &err);
+                               GdkPixbuf* pixbuf = 
gdk_pixbuf_new_from_inline(-1, tray_biff_icon_grey, FALSE, NULL);
                                if (pixbuf != NULL)
                                {
                                        
egg_status_icon_set_from_pixbuf(mTrayIcon, pixbuf);
diff -urNad mozilla-traybiff-1.2.3~/components/trayBiffIconGrey.h 
mozilla-traybiff-1.2.3/components/trayBiffIconGrey.h
--- mozilla-traybiff-1.2.3~/components/trayBiffIconGrey.h       1970-01-01 
01:00:00.000000000 +0100
+++ mozilla-traybiff-1.2.3/components/trayBiffIconGrey.h        2007-07-18 
22:15:40.000000000 +0100
@@ -0,0 +1,71 @@
+/* GdkPixbuf RGBA C-Source image dump 1-byte-run-length-encoded */
+
+#ifdef __SUNPRO_C
+#pragma align 4 (tray_biff_icon_grey)
+#endif
+#ifdef __GNUC__
+static const guint8 tray_biff_icon_grey[] __attribute__ ((__aligned__ (4))) = 
+#else
+static const guint8 tray_biff_icon_grey[] = 
+#endif
+{ ""
+  /* Pixbuf magic (0x47646b50) */
+  "GdkP"
+  /* length: header (24) + pixel_data (836) */
+  "\0\0\3\\"
+  /* pixdata_type (0x2010002) */
+  "\2\1\0\2"
+  /* rowstride (64) */
+  "\0\0\0@"
+  /* width (16) */
+  "\0\0\0\20"
+  /* height (16) */
+  "\0\0\0\20"
+  /* pixel_data: */
+  "\211\0\0\0\0\5\243\270\277\0\0\0\0\0\227\261\267\0\0\0\0\0\227\253\263"
+  "\0\212\0\0\0\0\7\245\273\301\0\235\264\273\0\201\232\241\0\216\253\262"
+  "\0m\204\211\0\231\261\267\0\214\237\246\0\212\0\0\0\0\5\201\233\241\0"
+  "\216\245\262\0\216\230\262\0\216\243\262\0_sw\0\212\0\0\0\0\10\227\261"
+  "\267\0\216\253\262\0\216\232\262\0\216\221\262\0\216\230\262\0\216\253"
+  "\262\0\224\257\266\0\0\0\0\0\202\307\311\317\377\25\302\305\314\377\277"
+  "\301\307\377\273\276\305\377\267\273\301\377\263\267\275\377\257\263"
+  "\271\377\254\260\266\377\250\254\262\377\244\251\256\377\241\246\253"
+  "\377\235\242\247\377\231\236\243\377\225\232\237\377\0\0\0s\303\306\315"
+  "\377\311\315\321\377\360\361\362\377\374\374\374\377\371\371\373\377"
+  "\370\370\372\377\366\366\370\377\205\364\365\370\377\\\337\341\347\377"
+  "\303\307\315\377\217\224\231\377\0\0\0\221\300\303\312\377\356\357\360"
+  "\377\255\263\271\377\353\355\357\377\370\370\372\377\366\366\370\377"
+  "\364\365\370\377\362\363\366\377\361\361\365\377\364\365\370\377\355"
+  "\356\363\377\337\341\347\377\250\257\266\377\317\325\333\377\213\222"
+  "\227\377\0\0\0\223\274\277\306\377\374\374\374\377\351\353\355\377\240"
+  "\250\256\377\347\350\353\377\364\365\370\377\362\363\366\377\361\361"
+  "\365\377\360\360\364\377\355\356\363\377\337\341\347\377\236\245\254"
+  "\377\321\325\333\377\335\340\347\377\210\216\222\377\0\0\0\224\270\274"
+  "\302\377\371\371\373\377\370\370\372\377\344\345\350\377\226\236\244"
+  "\377\341\343\347\377\361\361\365\377\360\360\364\377\355\356\363\377"
+  "\336\340\346\377\224\234\242\377\316\322\330\377\335\340\347\377\330"
+  "\334\344\377\203\212\217\377\0\0\0\224\265\271\277\377\370\370\372\377"
+  "\366\366\370\377\364\365\370\377\334\336\342\377~\210\216\377\335\337"
+  "\343\377\355\356\363\377\335\337\345\377\202\213\220\377\306\313\322"
+  "\377\335\340\347\377\330\334\344\377\324\332\342\377\177\206\213\377"
+  "\0\0\0\224\261\265\273\377\366\366\370\377\364\365\370\377\354\355\360"
+  "\377\223\232\237\377\260\265\272\377\202\213\220\377\225\234\241\377"
+  "}\207\215\377\247\256\263\377\213\224\233\377\323\330\337\377\324\332"
+  "\342\377\320\326\336\377{\203\207\377\0\0\0\224\256\262\270\377\364\365"
+  "\370\377\351\352\355\377\232\242\250\377\316\321\326\377\355\356\363"
+  "\377\350\351\356\377\317\323\331\377\202\335\340\347\3779\276\303\312"
+  "\377\223\234\243\377\311\317\327\377\313\322\333\377w\177\203\377\0\0"
+  "\0\224\252\256\264\377\345\347\353\377\245\254\263\377\333\335\341\377"
+  "\355\356\363\377\352\353\360\377\345\347\355\377\341\344\353\377\335"
+  "\340\347\377\330\334\344\377\324\332\342\377\301\307\317\377\235\245"
+  "\255\377\301\311\323\377t|\200\377\0\0\0\224\246\253\260\377\303\307"
+  "\315\377\343\344\351\377\355\356\363\377\352\353\360\377\345\347\355"
+  "\377\341\344\353\377\335\340\347\377\330\334\344\377\324\332\342\377"
+  "\320\326\336\377\313\322\333\377\300\307\320\377\260\270\300\377px|\377"
+  "\0\0\0\224\240\245\252\364\237\244\251\377\233\240\245\377\227\234\241"
+  "\377\223\231\237\377\220\226\232\377\213\222\227\377\210\217\224\377"
+  "\204\213\220\377\201\211\215\377}\205\211\377y\201\205\377v~\202\377"
+  "rz~\377ksw\377\0\0\0\220\0\0\0$\0\0\0k\0\0\0\220\213\0\0\0\222\2\0\0"
+  "\0\217\0\0\0j"};
+
+

Attachment: 22_new_icon.dpatch.sig
Description: Binary data

Reply via email to