diff --git a/gtk/Makefile.am b/gtk/Makefile.am index 8fdbc32b7..ec2b59152 100644 --- a/gtk/Makefile.am +++ b/gtk/Makefile.am @@ -48,7 +48,8 @@ noinst_HEADERS = \ icons.h \ file-list.h \ lock.h \ - logo.h \ + logo-24.h \ + logo-48.h \ makemeta-ui.h \ msgwin.h \ notify.h \ diff --git a/gtk/actions.c b/gtk/actions.c index b98392c78..cd8aba45c 100644 --- a/gtk/actions.c +++ b/gtk/actions.c @@ -23,7 +23,8 @@ #include "tr-prefs.h" #include "lock.h" -#include "logo.h" +#include "logo-24.h" +#include "logo-48.h" #include "ratio-icon.h" #include "options-icon.h" #include "turtles.h" @@ -143,14 +144,14 @@ BuiltinIconInfo; static const BuiltinIconInfo my_fallback_icons[] = { - { tr_icon_logo, WINDOW_ICON }, - { tr_icon_logo, TRAY_ICON }, - { tr_icon_logo, NOTIFICATION_ICON }, - { tr_icon_lock, "transmission-lock" }, - { options_icon, "options" }, - { blue_turtle, "alt-speed-on" }, - { grey_turtle, "alt-speed-off" }, - { ratio_icon, "ratio" } + { tr_icon_logo_48, WINDOW_ICON }, + { tr_icon_logo_24, TRAY_ICON }, + { tr_icon_logo_48, NOTIFICATION_ICON }, + { tr_icon_lock, "transmission-lock" }, + { options_icon, "options" }, + { blue_turtle, "alt-speed-on" }, + { grey_turtle, "alt-speed-off" }, + { ratio_icon, "ratio" } }; static void diff --git a/gtk/logo-24.h b/gtk/logo-24.h new file mode 100644 index 000000000..26df3a526 --- /dev/null +++ b/gtk/logo-24.h @@ -0,0 +1,82 @@ +/* GdkPixbuf RGBA C-Source image dump 1-byte-run-length-encoded */ + +#ifdef __SUNPRO_C +#pragma align 4 (tr_icon_logo_24) +#endif +#ifdef __GNUC__ +static const guint8 tr_icon_logo_24[] __attribute__ ((__aligned__ (4))) = +#else +static const guint8 tr_icon_logo_24[] = +#endif +{ "" + /* Pixbuf magic (0x47646b50) */ + "GdkP" + /* length: header (24) + pixel_data (1352) */ + "\0\0\5`" + /* pixdata_type (0x2010002) */ + "\2\1\0\2" + /* rowstride (96) */ + "\0\0\0`" + /* width (24) */ + "\0\0\0\30" + /* height (24) */ + "\0\0\0\30" + /* pixel_data: */ + "\234\0\0\0\0\4\223\0\0&\227\0\0\275\225\0\0\366\225\2\2\374\202\226\5" + "\5\374\1\216c_\376\202\210\212\205\377\1\217^Z\376\202\226\5\5\374\4" + "\225\2\2\374\225\0\0\365\227\0\0\273\223\0\0!\210\0\0\0\0\12\230\0\0" + "\322\311..\376\355nn\377\363\202\202\377\363\203\203\377\360\203\203" + "\377\212\213\206\377\344\344\342\377\343\343\341\377\210\212\205\377" + "\202\363\203\203\377\4\363\202\202\377\355nn\377\306..\376\231\0\0\313" + "\210\0\0\0\0\3\225\0\0\315\244\0\0\376\262\0\0\377\202\265\0\0\377\2" + "\264\4\4\377\212\212\205\377\202\345\346\343\377\1\210\212\205\377\203" + "\265\0\0\377\3\262\0\0\377\242\0\0\375\225\0\0\305\210\0\0\0\0\3\223" + "\0\0\"\224\0\0\261\224\0\0\361\202\223\0\0\373\2\223\4\4\373\211\211" + "\205\377\202\334\335\331\377\1\210\212\205\377\203\223\0\0\373\3\224" + "\0\0\357\224\0\0\257\223\0\0\36\215\0\0\0\0\2\210\212\205\10\211\213" + "\206\374\202\323\324\320\377\1\210\212\205\377\215\0\0\0\0\3UWS\23WY" + "U\267WYU\353\203WYU\354\2Y[W\355\210\212\205\377\202\312\314\306\377" + "\1\210\212\205\377\204WYU\354\2WYU\345VXTx\207\0\0\0\0\3VXT\210fhd\371" + "\201\204\200\377\204\205\206\202\377\1\211\213\206\377\202\300\303\275" + "\377\1\210\212\205\377\204\205\206\203\377\3|\177{\377Z\\X\365UWSJ\206" + "\0\0\0\0\4XZV\303|~z\377twr\377ad_\377\202`b^\377\2ac_\377\210\212\205" + "\377\202\272\275\266\377\1\210\212\205\377\203`b^\377\4jlh\377\204\207" + "\202\377rtp\377WYU\234\206\0\0\0\0\4XZV\343\212\214\210\377Z]X\377\227" + "\231\223\377\202\234\240\230\377\2pup\377\205\207\202\377\202\265\270" + "\261\377\10\206\210\203\377\214\217\212\377\234\240\230\377\233\235\227" + "\377psn\377qtp\377\201\204\177\377XZV\310\206\0\0\0\0\3WYU\372\222\225" + "\221\377\\^Z\377\203\315\321\310\377\2eji\377lom\377\202\216\222\217" + "\377\2kol\377\227\233\226\377\202\315\321\310\377\4\252\256\245\377k" + "mi\377\220\223\217\377WZU\352\205\0\0\0\0\24UWS\27]_[\370\221\224\221" + "\377mnj\377\325\330\320\377\324\330\320\377\324\327\320\377VZX\377TX" + "W\377imk\377hlk\377TWW\377\200\204\200\377\321\324\314\377\320\324\314" + "\377\277\304\273\377_a]\377\237\242\236\377WYU\374UWS\6\204\0\0\0\0\11" + "UWS7hkg\361\215\220\215\377\201\204\177\377\357\361\356\377\377\377\377" + "\377\311\315\310\377hki\377HML\377\202;@A\377\11MQP\377rvs\377\355\356" + "\353\377\376\376\376\377\330\334\325\377Z\\W\377\243\245\242\377`b^\363" + "UWS(\204\0\0\0\0\24UWSXwzw\362\206\211\205\377\232\234\230\377\305\310" + "\303\377\203\205\201\377{~z\377oqm\377QTP\377QUQ\377RTP\377RUQ\377}\200" + "|\377\201\203\177\377\227\233\227\377\321\323\316\377kni\377\234\237" + "\234\377psn\361UWSM\204\0\0\0\0\24UWSy\211\213\210\374\201\203\200\377" + "\264\265\263\377\357\361\356\377\341\343\337\377\226\230\224\377|~z\377" + "JMK\377DGF\377EHF\377cfc\377\210\212\206\377\272\274\270\377\351\354" + "\350\377\352\354\350\377\205\207\204\377\224\227\222\377\202\205\201" + "\371UWSr\204\0\0\0\0\4Z\\X\244\231\233\230\377vzu\377\311\313\310\377" + "\202\360\362\357\377\7\356\360\355\377\263\265\261\377\206\211\203\377" + "TXW\377|\177{\377\227\231\224\377\340\342\336\377\203\360\362\357\377" + "\4\243\245\242\377\211\213\207\377\226\231\225\377Y[W\237\204\0\0\0\0" + "\5\\^Z\312\254\256\252\377mnk\377\314\316\313\377\353\355\353\377\202" + "\353\354\352\377\4\352\354\351\377\317\320\315\377\216\220\214\377\275" + "\277\272\377\204\350\352\347\377\5\347\351\346\377\253\255\251\377\200" + "\203\177\377\251\252\250\377\\^Z\312\204\0\0\0\0\5[]Y\351\273\275\273" + "\377\221\223\216\377^a\\\377[]Y\377\205\\^Z\377\202]_[\377\1]`[\377\203" + "^`\\\377\4egc\377\236\240\235\377\274\276\273\377Z\\X\354\203\0\0\0\0" + "\4""333\5XZV\375\255\257\254\377\265\267\264\377\216\304\305\303\377" + "\4\265\267\264\377\260\262\257\377VXT\375KLJ\10\202\0\0\0\0\4""111\37" + "VXT\377\226\230\224\377z}x\377\216x{v\377\4y|w\377\230\232\226\377UW" + "S\3755=<$\202\0\0\0\0\3.77\34VXT\363\203\206\201\377\217\227\231\225" + "\377\4\226\231\225\377\212\214\210\377UWS\374777\36\202\0\0\0\0\3UUU" + "\3KMK\212UXT\372\220VXT\375\3UWS\374QTP\257\0\0\0\2\203\0\0\0\0\2\0\0" + "\0\2""887\35\2205<;)\2""2;:\35\0\0\0\1\232\0\0\0\0"}; + + diff --git a/gtk/logo.h b/gtk/logo-48.h similarity index 99% rename from gtk/logo.h rename to gtk/logo-48.h index 2cf27350b..052b10ff0 100644 --- a/gtk/logo.h +++ b/gtk/logo-48.h @@ -4,10 +4,10 @@ #pragma align 4 (tr_icon_logo) #endif #ifdef __GNUC__ -static const guint8 tr_icon_logo[] __attribute__ ( ( __aligned__ ( 4 ) ) ) +static const guint8 tr_icon_logo_48[] __attribute__ ( ( __aligned__ ( 4 ) ) ) = #else -static const guint8 tr_icon_logo[] = +static const guint8 tr_icon_logo_48[] = #endif { "" /* Pixbuf magic (0x47646b50) */