diff options
author | Gerald Combs <gerald@wireshark.org> | 2009-11-10 18:02:05 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2009-11-10 18:02:05 +0000 |
commit | 3d40778d1bb575a0bcac787584801e867fe5ea0a (patch) | |
tree | 0c4516a5389ae773788b20ac3220ed2318073b60 /gtk | |
parent | 0809a44555105d738821781b639d5ee88035a184 (diff) | |
download | wireshark-3d40778d1bb575a0bcac787584801e867fe5ea0a.tar.gz |
Move the contents of image/expert_*.h to gtk/expert_indicators.h. Add
pixbuf versions of the wired, wireless, and bluetooth interface icons to
gtk/network_icons.h. In the interface list use the new icons in all
their alpha-channel-infested glory. Add Makefile targets for rebuilding
the pixbuf files.
svn path=/trunk/; revision=30922
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/Makefile.am | 14 | ||||
-rw-r--r-- | gtk/Makefile.common | 5 | ||||
-rw-r--r-- | gtk/capture_if_dlg.c | 24 | ||||
-rw-r--r-- | gtk/expert_indicators.h | 316 | ||||
-rw-r--r-- | gtk/main_statusbar.c | 12 | ||||
-rw-r--r-- | gtk/network_icons.h | 214 |
6 files changed, 557 insertions, 28 deletions
diff --git a/gtk/Makefile.am b/gtk/Makefile.am index 29b5848cf4..eb8ee9714d 100644 --- a/gtk/Makefile.am +++ b/gtk/Makefile.am @@ -65,3 +65,17 @@ checkapi: capture_if_details_dlg_win32.c \ file_dlg_win32.c \ print_win32.c + +expert_indicators.h: + echo "/* This file was automatically generated. DO NOT EDIT. */" > $@ + echo >> $@ + for elevel in chat error none note warn ; do \ + gdk-pixbuf-csource --raw --name=expert_$${elevel}_pb_data ../image/expert_$${elevel}.png >> $@ ;\ + done + +network_icons.h: + echo "/* This file was automatically generated. DO NOT EDIT. */" > $@ + echo >> $@ + for icon in bluetooth wired wireless ; do \ + gdk-pixbuf-csource --raw --name=network_$${icon}_pb_data ../image/toolbar/network_$${icon}_16.png >> $@ ;\ + done diff --git a/gtk/Makefile.common b/gtk/Makefile.common index 375abde05c..bce4554382 100644 --- a/gtk/Makefile.common +++ b/gtk/Makefile.common @@ -129,7 +129,8 @@ WIRESHARK_GTK_SRC = \ webbrowser.c about_dlg.c main_welcome.c: ../image/wssplash.xpm ../image/wssplash-dev.xpm -main_statusbar.c: ../image/expert_chat.h ../image/expert_error.h ../image/expert_none.h ../image/expert_note.h ../image/expert_warn.h +main_statusbar.c: expert_indicators.h +capture_if_dlg.c: network_icons.h WIRESHARK_TAP_SRC = \ afp_stat.c \ @@ -232,6 +233,7 @@ noinst_HEADERS = \ expert_comp_dlg.h \ expert_comp_table.h \ expert_dlg.h \ + expert_indicators.h \ export_object.h \ file_dlg.h \ fileset_dlg.h \ @@ -271,6 +273,7 @@ noinst_HEADERS = \ mcast_stream.h \ mcast_stream_dlg.h \ mtp3_stat.h \ + network_icons.h \ new_packet_list.h \ packet_history.h \ packet_list_store.h \ diff --git a/gtk/capture_if_dlg.c b/gtk/capture_if_dlg.c index 6c77055ba4..fc44642de8 100644 --- a/gtk/capture_if_dlg.c +++ b/gtk/capture_if_dlg.c @@ -65,6 +65,7 @@ #include "gtk/keys.h" #include "gtk/webbrowser.h" #include "gtk/capture_globals.h" +#include "gtk/network_icons.h" #ifdef HAVE_AIRPCAP #include "../image/toolbar/capture_airpcap_16.xpm" @@ -74,16 +75,7 @@ #include "../image/toolbar/modem_16.xpm" #endif -#if defined(_WIN32) || defined(__APPLE__) || defined(__linux__) -#include "../image/toolbar/network_wireless_16.xpm" -#endif -#include "../image/toolbar/network_wired_16.xpm" -#if defined(_WIN32) || defined(__APPLE__) #include "../image/toolbar/network_virtual_16.xpm" -#endif -#if defined(_WIN32) || defined(__linux__) -#include "../image/toolbar/network_bluetooth_16.xpm" -#endif /* new buttons to be used instead of labels for 'Capture','Prepare',' */ /*#include "../image/toolbar/capture_capture_16.xpm"*/ @@ -349,11 +341,11 @@ GtkWidget * capture_get_if_icon(const if_info_t* if_info _U_) if ( if_info->description && ( strstr(if_info->description,"Wireless") != NULL || strstr(if_info->description,"802.11") != NULL || strstr(if_info->description,"AirPcap") != NULL ) ) { - return xpm_to_widget(network_wireless_16_xpm); + return pixbuf_to_widget(network_wireless_pb_data); } if ( strstr(if_info->name,"airpcap") != NULL ) { - return xpm_to_widget(network_wireless_16_xpm); + return pixbuf_to_widget(network_wireless_pb_data); } /* TODO: find a better icon! */ @@ -362,7 +354,7 @@ GtkWidget * capture_get_if_icon(const if_info_t* if_info _U_) } if ( if_info->description && strstr(if_info->description,"Bluetooth") != NULL ) { - return xpm_to_widget(network_bluetooth_16_xpm); + return pixbuf_to_widget(network_bluetooth_pb_data); } #elif defined(__APPLE__) /* @@ -381,7 +373,7 @@ GtkWidget * capture_get_if_icon(const if_info_t* if_info _U_) * IOKit. */ if ( strcmp(if_info->name, "en1") == 0) { - return xpm_to_widget(network_wireless_16_xpm); + return pixbuf_to_widget(network_wireless_pb_data); } /* @@ -419,7 +411,7 @@ GtkWidget * capture_get_if_icon(const if_info_t* if_info _U_) if (wireless_path != NULL) { if (ws_stat(wireless_path, &statb) == 0) { g_free(wireless_path); - return xpm_to_widget(network_wireless_16_xpm); + return pixbuf_to_widget(network_wireless_pb_data); } g_free(wireless_path); } @@ -433,11 +425,11 @@ GtkWidget * capture_get_if_icon(const if_info_t* if_info _U_) * devices? */ if ( strstr(if_info->name,"bluetooth") != NULL) { - return xpm_to_widget(network_bluetooth_16_xpm); + return pixbuf_to_widget(network_bluetooth_pb_data); } #endif - return xpm_to_widget(network_wired_16_xpm); + return pixbuf_to_widget(network_wired_pb_data); } diff --git a/gtk/expert_indicators.h b/gtk/expert_indicators.h new file mode 100644 index 0000000000..b5a66e1207 --- /dev/null +++ b/gtk/expert_indicators.h @@ -0,0 +1,316 @@ +/* This file was automatically generated. DO NOT EDIT. */ + +/* GdkPixbuf RGBA C-Source image dump */ + +#ifdef __SUNPRO_C +#pragma align 4 (expert_chat_pb_data) +#endif +#ifdef __GNUC__ +static const guint8 expert_chat_pb_data[] __attribute__ ((__aligned__ (4))) = +#else +static const guint8 expert_chat_pb_data[] = +#endif +{ "" + /* Pixbuf magic (0x47646b50) */ + "GdkP" + /* length: header (24) + pixel_data (784) */ + "\0\0\3(" + /* pixdata_type (0x1010002) */ + "\1\1\0\2" + /* rowstride (56) */ + "\0\0\0""8" + /* width (14) */ + "\0\0\0\16" + /* height (14) */ + "\0\0\0\16" + /* pixel_data: */ + "\377\377\377\0\377\377\377\0\377\377\377\0\0\0\0\15\1\11\22\206\1\13" + "\27\314\1\14\31\345\2\15\32\345\1\13\27\314\1\11\22\206\0\0\0\15\377" + "\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\1" + "\3\6G\10\22\35\344X~\252\374\177\252\334\377\240\303\353\377\243\305" + "\353\377\177\252\334\377U|\250\373\11\23\35\344\1\3\6G\377\377\377\0" + "\377\377\377\0\377\377\377\0\1\3\6G\26'<\357~\251\334\377\227\275\351" + "\377\226\274\351\377\226\274\351\377\226\274\351\377\226\274\351\377" + "\226\274\351\377}\251\334\377\26'<\357\1\3\6G\377\377\377\0\0\0\0\15" + "\4\15\30\343`\226\324\377\201\260\346\377\201\260\346\377\201\260\346" + "\377\201\260\346\377\201\260\346\377\201\260\346\377\201\260\346\377" + "\201\260\346\377n\237\330\377\4\15\30\343\0\0\0\15\4\13\23\206\37Q\212" + "\372e\237\341\377n\244\343\377n\244\343\377n\244\343\377n\244\343\377" + "n\244\343\377n\244\343\377i\242\342\377g\240\342\377n\244\343\377*Z\220" + "\372\4\13\23\206\7\17\31\3146z\313\377:\204\333\377\77\207\334\377G\214" + "\335\377H\215\336\377H\215\336\377G\214\335\377A\210\334\377:\204\333" + "\377:\204\333\377=\206\334\3776z\313\377\7\17\31\314\10\21\33\345C\213" + "\337\377C\213\337\377C\213\337\377C\213\337\377C\213\337\377C\213\337" + "\377C\213\337\377C\213\337\377C\213\337\377C\213\337\377C\213\337\377" + "C\213\337\377\10\21\33\345\11\22\34\345L\221\342\377L\221\342\377L\221" + "\342\377L\221\342\377L\221\342\377L\221\342\377L\221\342\377L\221\342" + "\377L\221\342\377L\221\342\377L\221\342\377L\221\342\377\11\22\34\345" + "\12\22\33\314O\215\325\377U\230\346\377U\230\346\377U\230\346\377U\230" + "\346\377U\230\346\377U\230\346\377U\230\346\377U\230\346\377U\230\346" + "\377U\230\346\377O\215\325\377\12\22\33\314\10\16\25\206<f\225\372^\237" + "\351\377^\237\351\377^\237\351\377^\237\351\377^\237\351\377^\237\351" + "\377^\237\351\377^\237\351\377^\237\351\377^\237\351\377<f\225\372\10" + "\16\25\206\0\0\0\15\14\23\33\343_\231\333\377g\245\355\377g\245\355\377" + "g\245\355\377g\245\355\377g\245\355\377g\245\355\377g\245\355\377g\245" + "\355\377_\231\333\377\14\23\33\343\0\0\0\15\377\377\377\0\3\5\7G\32'" + "6\356i\237\337\377q\254\361\377q\254\361\377q\254\361\377q\254\361\377" + "q\254\361\377q\254\361\377i\237\337\377\32'6\356\3\5\7G\377\377\377\0" + "\377\377\377\0\377\377\377\0\4\5\10G\16\24\34\343Nr\234\372q\245\342" + "\377z\262\364\377z\262\364\377q\245\342\377Nr\234\372\16\24\34\343\4" + "\5\10G\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377" + "\377\0\0\0\0\15\13\20\26\206\17\25\35\314\20\26\36\345\20\26\36\345\17" + "\25\35\314\13\20\26\206\0\0\0\15\377\377\377\0\377\377\377\0\377\377" + "\377\0"}; + + +/* GdkPixbuf RGBA C-Source image dump */ + +#ifdef __SUNPRO_C +#pragma align 4 (expert_error_pb_data) +#endif +#ifdef __GNUC__ +static const guint8 expert_error_pb_data[] __attribute__ ((__aligned__ (4))) = +#else +static const guint8 expert_error_pb_data[] = +#endif +{ "" + /* Pixbuf magic (0x47646b50) */ + "GdkP" + /* length: header (24) + pixel_data (784) */ + "\0\0\3(" + /* pixdata_type (0x1010002) */ + "\1\1\0\2" + /* rowstride (56) */ + "\0\0\0""8" + /* width (14) */ + "\0\0\0\16" + /* height (14) */ + "\0\0\0\16" + /* pixel_data: */ + "\377\377\377\0\377\377\377\0\377\377\377\0\0\0\0\15\20\1\1\206\25\1\1" + "\314\26\1\1\345\27\2\2\345\25\1\1\314\20\1\1\206\0\0\0\15\377\377\377" + "\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\6\0\0G\33" + "\7\7\343\241UU\373\321{{\376\343\235\235\376\344\241\241\376\321{{\376" + "\237RR\373\34\10\10\343\6\0\0G\377\377\377\0\377\377\377\0\377\377\377" + "\0\6\1\1G8\23\23\356\323yy\375\342\223\223\376\341\222\222\376\341\222" + "\222\376\341\222\222\376\341\222\222\376\341\222\222\376\323xx\3758\23" + "\23\356\6\1\1G\377\377\377\0\0\0\0\15\26\3\3\342\312YY\374\335{{\375" + "\335{{\375\335{{\375\335{{\375\335{{\375\335{{\375\335{{\375\335{{\375" + "\317hh\374\26\3\3\342\0\0\0\15\22\3\3\206\201\25\25\367\331[[\373\333" + "dd\373\333dd\373\333dd\373\333dd\373\333dd\373\333dd\373\332__\373\331" + "]]\373\333dd\373\207!!\367\22\3\3\206\30\5\5\313\301%%\371\321((\370" + "\322--\370\32466\370\32488\370\32488\370\32477\370\32300\370\321((\370" + "\321((\370\322,,\370\301%%\371\30\5\5\313\32\6\6\344\327//\367\327//" + "\367\327//\367\327//\367\327//\367\327//\367\327//\367\327//\367\327" + "//\367\327//\367\327//\367\327//\367\32\6\6\344\32\6\6\344\33566\366" + "\33566\366\33566\366\33566\366\33566\366\33566\366\33566\366\33566\366" + "\33566\366\33566\366\33566\366\33566\366\32\6\6\344\31\7\7\313\32177" + "\366\343<<\365\343<<\365\343<<\365\343<<\365\343<<\365\343<<\365\343" + "<<\365\343<<\365\343<<\365\343<<\365\32177\366\31\7\7\313\24\6\6\205" + "\223**\363\351CC\364\351CC\364\351CC\364\351CC\364\351CC\364\351CC\364" + "\351CC\364\351CC\364\351CC\364\351CC\364\223**\363\24\6\6\205\0\0\0\15" + "\32\10\10\341\334DD\364\357JJ\363\357JJ\363\357JJ\363\357JJ\363\357J" + "J\363\357JJ\363\357JJ\363\357JJ\363\334DD\364\32\10\10\341\0\0\0\15\377" + "\377\377\0\10\2\2G5\21\21\353\342KK\362\365QQ\361\365QQ\361\365QQ\361" + "\365QQ\361\365QQ\361\365QQ\361\342KK\3625\21\21\353\10\2\2G\377\377\377" + "\0\377\377\377\0\377\377\377\0\10\3\3G\33\11\11\341\23566\361\347PP\361" + "\373WW\360\373WW\360\347PP\361\23566\361\33\11\11\341\10\3\3G\377\377" + "\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\0\0\0" + "\15\26\10\10\205\34\12\12\312\36\13\13\343\36\13\13\343\34\12\12\312" + "\26\10\10\205\0\0\0\15\377\377\377\0\377\377\377\0\377\377\377\0"}; + + +/* GdkPixbuf RGBA C-Source image dump */ + +#ifdef __SUNPRO_C +#pragma align 4 (expert_none_pb_data) +#endif +#ifdef __GNUC__ +static const guint8 expert_none_pb_data[] __attribute__ ((__aligned__ (4))) = +#else +static const guint8 expert_none_pb_data[] = +#endif +{ "" + /* Pixbuf magic (0x47646b50) */ + "GdkP" + /* length: header (24) + pixel_data (784) */ + "\0\0\3(" + /* pixdata_type (0x1010002) */ + "\1\1\0\2" + /* rowstride (56) */ + "\0\0\0""8" + /* width (14) */ + "\0\0\0\16" + /* height (14) */ + "\0\0\0\16" + /* pixel_data: */ + "\377\377\377\0\377\377\377\0\377\377\377\0\0\0\0\15\17\17\17\206\24\24" + "\24\314\25\25\25\345\26\26\26\345\24\24\24\314\17\17\17\206\0\0\0\15" + "\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377" + "\0\5\5\5G\32\32\32\344\235\235\235\374\315\315\315\377\337\337\337\377" + "\340\340\340\377\315\315\315\377\233\233\233\373\33\33\33\344\5\5\5G" + "\377\377\377\0\377\377\377\0\377\377\377\0\6\6\6G555\357\314\314\314" + "\377\334\334\334\377\334\334\334\377\334\334\334\377\334\334\334\377" + "\334\334\334\377\334\334\334\377\314\314\314\377555\357\6\6\6G\377\377" + "\377\0\0\0\0\15\25\25\25\343\300\300\300\377\324\324\324\377\324\324" + "\324\377\324\324\324\377\324\324\324\377\324\324\324\377\324\324\324" + "\377\324\324\324\377\324\324\324\377\306\306\306\377\25\25\25\343\0\0" + "\0\15\21\21\21\206www\372\313\313\313\377\316\316\316\377\316\316\316" + "\377\316\316\316\377\316\316\316\377\316\316\316\377\316\316\316\377" + "\314\314\314\377\314\314\314\377\316\316\316\377~~~\372\21\21\21\206" + "\26\26\26\314\256\256\256\377\274\274\274\377\276\276\276\377\300\300" + "\300\377\301\301\301\377\301\301\301\377\301\301\301\377\276\276\276" + "\377\274\274\274\377\274\274\274\377\275\275\275\377\256\256\256\377" + "\26\26\26\314\27\27\27\345\277\277\277\377\277\277\277\377\277\277\277" + "\377\277\277\277\377\277\277\277\377\277\277\277\377\277\277\277\377" + "\277\277\277\377\277\277\277\377\277\277\277\377\277\277\277\377\277" + "\277\277\377\27\27\27\345\30\30\30\345\302\302\302\377\302\302\302\377" + "\302\302\302\377\302\302\302\377\302\302\302\377\302\302\302\377\302" + "\302\302\377\302\302\302\377\302\302\302\377\302\302\302\377\302\302" + "\302\377\302\302\302\377\30\30\30\345\27\27\27\314\266\266\266\377\305" + "\305\305\377\305\305\305\377\305\305\305\377\305\305\305\377\305\305" + "\305\377\305\305\305\377\305\305\305\377\305\305\305\377\305\305\305" + "\377\305\305\305\377\266\266\266\377\27\27\27\314\22\22\22\206\200\200" + "\200\372\310\310\310\377\310\310\310\377\310\310\310\377\310\310\310" + "\377\310\310\310\377\310\310\310\377\310\310\310\377\310\310\310\377" + "\310\310\310\377\310\310\310\377\200\200\200\372\22\22\22\206\0\0\0\15" + "\27\27\27\343\274\274\274\377\313\313\313\377\313\313\313\377\313\313" + "\313\377\313\313\313\377\313\313\313\377\313\313\313\377\313\313\313" + "\377\313\313\313\377\274\274\274\377\27\27\27\343\0\0\0\15\377\377\377" + "\0\6\6\6G///\356\277\277\277\377\316\316\316\377\316\316\316\377\316" + "\316\316\377\316\316\316\377\316\316\316\377\316\316\316\377\277\277" + "\277\377///\356\6\6\6G\377\377\377\0\377\377\377\0\377\377\377\0\6\6" + "\6G\30\30\30\343\206\206\206\372\301\301\301\377\321\321\321\377\321" + "\321\321\377\301\301\301\377\206\206\206\372\30\30\30\343\6\6\6G\377" + "\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\0" + "\0\0\15\23\23\23\206\30\30\30\314\32\32\32\345\32\32\32\345\30\30\30" + "\314\23\23\23\206\0\0\0\15\377\377\377\0\377\377\377\0\377\377\377\0"}; + + +/* GdkPixbuf RGBA C-Source image dump */ + +#ifdef __SUNPRO_C +#pragma align 4 (expert_note_pb_data) +#endif +#ifdef __GNUC__ +static const guint8 expert_note_pb_data[] __attribute__ ((__aligned__ (4))) = +#else +static const guint8 expert_note_pb_data[] = +#endif +{ "" + /* Pixbuf magic (0x47646b50) */ + "GdkP" + /* length: header (24) + pixel_data (784) */ + "\0\0\3(" + /* pixdata_type (0x1010002) */ + "\1\1\0\2" + /* rowstride (56) */ + "\0\0\0""8" + /* width (14) */ + "\0\0\0\16" + /* height (14) */ + "\0\0\0\16" + /* pixel_data: */ + "\377\377\377\0\377\377\377\0\377\377\377\0\0\0\0\15\1\16\20\206\1\22" + "\25\314\1\23\26\345\2\24\27\345\1\22\25\314\1\16\20\206\0\0\0\15\377" + "\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\1" + "\5\6G\11\30\33\344Z\226\242\374\200\305\323\377\241\330\344\377\244\332" + "\345\377\200\305\323\377V\224\240\373\12\31\33\344\1\5\6G\377\377\377" + "\0\377\377\377\0\377\377\377\0\1\5\6G\27""39\357\200\307\324\377\231" + "\327\343\377\230\327\343\377\230\327\343\377\230\327\343\377\230\327" + "\343\377\230\327\343\377\177\306\324\377\27""39\357\1\5\6G\377\377\377" + "\0\0\0\0\15\5\24\27\343e\275\314\377\205\322\336\377\205\322\336\377" + "\205\322\336\377\205\322\336\377\205\322\336\377\205\322\336\377\205" + "\322\336\377\205\322\336\377s\303\320\377\5\24\27\343\0\0\0\15\5\21\22" + "\206%w\203\372m\313\332\377u\316\334\377u\316\334\377u\316\334\377u\316" + "\334\377u\316\334\377u\316\334\377p\314\333\377n\314\332\377u\316\334" + "\3770~\211\372\5\21\22\206\10\26\30\314A\263\303\377F\301\323\377K\303" + "\324\377R\305\326\377S\305\326\377S\305\326\377R\305\326\377M\303\325" + "\377F\301\323\377F\301\323\377I\302\324\377A\263\303\377\10\26\30\314" + "\12\31\33\345Q\311\331\377Q\311\331\377Q\311\331\377Q\311\331\377Q\311" + "\331\377Q\311\331\377Q\311\331\377Q\311\331\377Q\311\331\377Q\311\331" + "\377Q\311\331\377Q\311\331\377\12\31\33\345\13\32\33\345]\321\336\377" + "]\321\336\377]\321\336\377]\321\336\377]\321\336\377]\321\336\377]\321" + "\336\377]\321\336\377]\321\336\377]\321\336\377]\321\336\377]\321\336" + "\377\13\32\33\345\14\31\32\314a\311\323\377i\331\344\377i\331\344\377" + "i\331\344\377i\331\344\377i\331\344\377i\331\344\377i\331\344\377i\331" + "\344\377i\331\344\377i\331\344\377a\311\323\377\14\31\32\314\12\24\25" + "\206K\220\226\372u\341\352\377u\341\352\377u\341\352\377u\341\352\377" + "u\341\352\377u\341\352\377u\341\352\377u\341\352\377u\341\352\377u\341" + "\352\377K\220\226\372\12\24\25\206\0\0\0\15\17\32\33\343w\330\336\377" + "\201\351\360\377\201\351\360\377\201\351\360\377\201\351\360\377\201" + "\351\360\377\201\351\360\377\201\351\360\377\201\351\360\377w\330\336" + "\377\17\32\33\343\0\0\0\15\377\377\377\0\4\7\10G\40""77\356\202\340\343" + "\377\215\362\365\377\215\362\365\377\215\362\365\377\215\362\365\377" + "\215\362\365\377\215\362\365\377\202\340\343\377\40""77\356\4\7\10G\377" + "\377\377\0\377\377\377\0\377\377\377\0\5\10\10G\21\34\34\343a\240\241" + "\372\215\347\350\377\230\372\373\377\230\372\373\377\215\347\350\377" + "a\240\241\372\21\34\34\343\5\10\10G\377\377\377\0\377\377\377\0\377\377" + "\377\0\377\377\377\0\377\377\377\0\0\0\0\15\16\27\27\206\22\35\35\314" + "\24\37\37\345\24\37\37\345\22\35\35\314\16\27\27\206\0\0\0\15\377\377" + "\377\0\377\377\377\0\377\377\377\0"}; + + +/* GdkPixbuf RGBA C-Source image dump */ + +#ifdef __SUNPRO_C +#pragma align 4 (expert_warn_pb_data) +#endif +#ifdef __GNUC__ +static const guint8 expert_warn_pb_data[] __attribute__ ((__aligned__ (4))) = +#else +static const guint8 expert_warn_pb_data[] = +#endif +{ "" + /* Pixbuf magic (0x47646b50) */ + "GdkP" + /* length: header (24) + pixel_data (784) */ + "\0\0\3(" + /* pixdata_type (0x1010002) */ + "\1\1\0\2" + /* rowstride (56) */ + "\0\0\0""8" + /* width (14) */ + "\0\0\0\16" + /* height (14) */ + "\0\0\0\16" + /* pixel_data: */ + "\377\377\377\0\377\377\377\0\377\377\377\0\0\0\0\15\21\21\1\206\26\26" + "\1\314\27\30\1\345\30\31\2\345\26\26\1\314\21\21\1\206\0\0\0\15\377\377" + "\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\6\6\0" + "G\34\34\10\344\245\246V\374\326\327}\377\346\347\236\377\347\350\241" + "\377\326\327}\377\243\244S\373\34\34\11\344\6\6\0G\377\377\377\0\377" + "\377\377\0\377\377\377\0\6\6\1G::\24\357\327\327y\377\345\346\223\377" + "\345\345\222\377\345\345\222\377\345\345\222\377\345\345\222\377\345" + "\345\222\377\326\327y\377::\24\357\6\6\1G\377\377\377\0\0\0\0\15\27\27" + "\3\343\316\317X\377\341\341z\377\341\341z\377\341\341z\377\341\341z\377" + "\341\341z\377\341\341z\377\341\341z\377\341\341z\377\323\323g\377\27" + "\27\3\343\0\0\0\15\23\23\3\206\205\205\25\372\334\334Z\377\336\336c\377" + "\336\336c\377\336\336c\377\336\336c\377\336\336c\377\336\336c\377\335" + "\335^\377\334\334\\\377\336\336c\377\213\213!\372\23\23\3\206\31\31\5" + "\314\304\304$\377\324\324'\377\325\325,\377\327\3275\377\327\3276\377" + "\327\3276\377\327\3276\377\326\326/\377\324\324'\377\324\324'\377\325" + "\325+\377\304\304$\377\31\31\5\314\33\32\6\345\331\327-\377\331\327-" + "\377\331\327-\377\331\327-\377\331\327-\377\331\327-\377\331\327-\377" + "\331\327-\377\331\327-\377\331\327-\377\331\327-\377\331\327-\377\33" + "\32\6\345\33\33\6\345\335\3332\377\335\3332\377\335\3332\377\335\333" + "2\377\335\3332\377\335\3332\377\335\3332\377\335\3332\377\335\3332\377" + "\335\3332\377\335\3332\377\335\3332\377\33\33\6\345\32\32\6\314\321\316" + "4\377\342\3378\377\342\3378\377\342\3378\377\342\3378\377\342\3378\377" + "\342\3378\377\342\3378\377\342\3378\377\342\3378\377\342\3378\377\321" + "\3164\377\32\32\6\314\25\24\6\206\223\221(\372\346\343>\377\346\343>" + "\377\346\343>\377\346\343>\377\346\343>\377\346\343>\377\346\343>\377" + "\346\343>\377\346\343>\377\346\343>\377\223\221(\372\25\24\6\206\0\0" + "\0\15\33\32\10\343\331\326\77\377\353\347D\377\353\347D\377\353\347D" + "\377\353\347D\377\353\347D\377\353\347D\377\353\347D\377\353\347D\377" + "\331\326\77\377\33\32\10\343\0\0\0\15\377\377\377\0\7\7\2G65\21\356\335" + "\331D\377\357\353I\377\357\353I\377\357\353I\377\357\353I\377\357\353" + "I\377\357\353I\377\335\331D\37765\21\356\7\7\2G\377\377\377\0\377\377" + "\377\0\377\377\377\0\10\7\2G\34\33\11\343\234\2313\372\342\335I\377\364" + "\357O\377\364\357O\377\342\335I\377\234\2313\372\34\33\11\343\10\7\2" + "G\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377" + "\0\0\0\0\15\26\26\7\206\35\34\12\314\36\36\12\345\36\36\12\345\35\34" + "\12\314\26\26\7\206\0\0\0\15\377\377\377\0\377\377\377\0\377\377\377" + "\0"}; + + diff --git a/gtk/main_statusbar.c b/gtk/main_statusbar.c index da7006e9e3..e6d50e4b29 100644 --- a/gtk/main_statusbar.c +++ b/gtk/main_statusbar.c @@ -55,17 +55,7 @@ #include "gtk/expert_comp_dlg.h" #include "gtk/profile_dlg.h" #include "gtk/main_welcome.h" - -/* Created with - * for elevel in chat error none note warn ; do - * gdk-pixbuf-csource --raw --name=expert_${elevel}_pb_data expert_$elevel.png > expert_$elevel.h - * done - */ -#include "../image/expert_error.h" -#include "../image/expert_warn.h" -#include "../image/expert_note.h" -#include "../image/expert_chat.h" -#include "../image/expert_none.h" +#include "gtk/expert_indicators.h" /* * The order below defines the priority of info bar contexts. diff --git a/gtk/network_icons.h b/gtk/network_icons.h new file mode 100644 index 0000000000..6f8daf2b55 --- /dev/null +++ b/gtk/network_icons.h @@ -0,0 +1,214 @@ +/* This file was automatically generated. DO NOT EDIT. */ + +/* GdkPixbuf RGBA C-Source image dump */ + +#ifdef __SUNPRO_C +#pragma align 4 (network_bluetooth_pb_data) +#endif +#ifdef __GNUC__ +static const guint8 network_bluetooth_pb_data[] __attribute__ ((__aligned__ (4))) = +#else +static const guint8 network_bluetooth_pb_data[] = +#endif +{ "" + /* Pixbuf magic (0x47646b50) */ + "GdkP" + /* length: header (24) + pixel_data (1024) */ + "\0\0\4\30" + /* pixdata_type (0x1010002) */ + "\1\1\0\2" + /* rowstride (64) */ + "\0\0\0@" + /* width (16) */ + "\0\0\0\20" + /* height (16) */ + "\0\0\0\20" + /* pixel_data: */ + "\0\0\0\0\0\0\0\0\0\0\0\0\11\13\16\13\40!\"v\"$'\265\36\40\"\344\35\36" + "\37\372\35\36\37\344\36\40\"\251\40\"$b\16\21\24\16\0\0\0\0\0\0\0\0\0" + "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\33\35\37\241035\350ehl\363\202" + "\213\223\363t}\207\362r|\207\361Zcj\362&+/\350\27\33\37\214\10\14\20" + "\17\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\23\24\26RCDF\363\220\227" + "\236\367j}\221\373y\214\237\377\375\376\376\377r\206\232\377B[t\376H" + "Xh\367#'+\356\23\27\34q\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\25\27\30,\34" + "\36!\314\215\221\226\373m\201\225\3774Pn\377f|\222\377\375\376\376\377" + "\375\376\376\377q\205\231\377>Yt\377;IW\372\26\32\35\333\40!\":\0\0\0" + "\0\0\0\0\0\0\0\0\0\36\40!|KOQ\346\227\243\257\374Ib}\377@[w\377g}\222" + "\377\375\376\376\377\357\362\364\377\375\376\376\377m\203\227\377;Ri" + "\377\32#-\360\40!\"\215\0\0\0\0\0\0\0\0\0\0\0\0\37!\"\254\202\207\213" + "\352\\r\211\375\375\376\376\377\307\317\327\377|\217\242\377\375\376" + "\376\377g|\222\377\343\350\353\377\375\376\376\377C^x\377\"6L\362\36" + "\37\40\266\0\0\0\0\0\0\0\0\0\0\0\0\37\40\"\302\221\227\232\357G`{\376" + "`v\216\377\375\376\376\377\341\346\352\377\375\376\376\377\217\236\256" + "\377\375\376\376\377\254\270\304\3779Uq\377!5J\362\35\36\37\347\0\0\0" + "\0\0\0\0\0\0\0\0\0\36\37!\353\212\215\221\3655Qn\3762Om\377Sk\204\377" + "\375\376\376\377\375\376\376\377\375\376\376\377\263\276\311\3773Pn\377" + "1Nl\377\"6K\366\31\33\35\347\0\0\0\0\0\0\0\0\0\0\0\0\36\37\40\360\210" + "\214\217\3643Ol\3761Nl\3779Tq\377\251\265\301\377\375\376\376\377\375" + "\376\376\377aw\215\3771Nl\3771Nl\377#6J\367\27\30\32\3361Nl\1\0\0\0\0" + "\0\0\0\0\36\40!\301y|\201\3624Pl\376=Yu\377\214\234\255\377\375\376\376" + "\377\375\376\376\377\370\372\373\377\375\376\376\377Xo\207\3772Om\377" + "%8M\363\34\37\40\307\0\0\0\0\0\0\0\0\0\0\0\0\37!\"\244\202\205\212\361" + "A[v\375\216\236\256\377\375\376\376\377\312\322\331\377\375\376\376\377" + "g|\222\377\363\365\367\377\375\376\376\377@Zv\377#3E\363\37\40#\261\0" + "\0\0\0\0\0\0\0\0\0\0\0\35\37\"m]ac\361dw\213\376\230\247\266\377\253" + "\267\303\377q\205\232\377\375\376\376\377\254\267\303\377\375\376\376" + "\377\261\273\306\3774Ni\377\35$+\370\"'(\233\0\0\0\0\0\0\0\0\0\0\0\0" + "\22\31\40\25""048\336ku\177\373Jc}\377;Wt\377f|\221\377\375\376\376\377" + "\375\376\376\377\240\256\274\3776Ro\377!1B\376\35\37(\304!%(6\0\0\0\0" + "\0\0\0\0\0\0\0\0\0\0\0\1\30\35#V<=B\364jw\205\3728Tp\377g}\223\377\375" + "\376\376\377\235\253\270\3778Tq\377(>U\374\35%*\365\30\"+|\20\32$\3\0" + "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\20\32$\3\26\35$\225>BG\360Yaj\371n}\214" + "\372\202\216\233\3740Ha\372$0=\372\35'-\364\24\40-\234\23\37+\31\0\0" + "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\14\23\32\32\31\37%e\36\40" + "&\235\35\37$\310\33\35\37\372\35\36\"\337\36#(\264\32\36#\220\16\26\36" + "&\20\32$\3\0\0\0\0\0\0\0\0\0\0\0\0"}; + + +/* GdkPixbuf RGBA C-Source image dump */ + +#ifdef __SUNPRO_C +#pragma align 4 (network_wired_pb_data) +#endif +#ifdef __GNUC__ +static const guint8 network_wired_pb_data[] __attribute__ ((__aligned__ (4))) = +#else +static const guint8 network_wired_pb_data[] = +#endif +{ "" + /* Pixbuf magic (0x47646b50) */ + "GdkP" + /* length: header (24) + pixel_data (1024) */ + "\0\0\4\30" + /* pixdata_type (0x1010002) */ + "\1\1\0\2" + /* rowstride (64) */ + "\0\0\0@" + /* width (16) */ + "\0\0\0\20" + /* height (16) */ + "\0\0\0\20" + /* pixel_data: */ + "\0\0\0\0\216\221\213a\213\214\210\366\211\213\206\376\211\213\206\376" + "\211\213\206\376\211\213\206\376\211\213\206\376\211\213\206\376\211" + "\213\206\376\211\213\206\376\211\213\206\376\211\213\206\376\211\213" + "\206\376\213\214\210\366\216\221\213a\0\0\0\0\214\216\211\363\361\361" + "\360\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" + "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" + "\377\377\377\377\377\377\377\377\377\377\377\377\360\360\357\377\213" + "\215\211\364\0\0\0\0\211\213\206\376\376\376\376\377\357\357\355\377" + "\356\356\354\377\356\356\354\377\355\355\353\377\355\355\353\377\354" + "\355\352\377\354\354\352\377\354\354\351\377\353\354\351\377\353\353" + "\351\377\354\354\351\377\376\376\376\377\211\213\206\376\0\0\0\0\211" + "\213\206\376\377\377\377\377\355\355\353\377\354\355\352\377\354\354" + "\352\377\360\360\356\377\363\364\362\377\364\364\362\377\364\364\362" + "\377\357\357\355\377\352\352\350\377\351\352\347\377\351\352\347\377" + "\377\377\377\377\211\213\206\376\0\0\0\0\211\213\206\376\377\377\377" + "\377\353\354\351\377\357\357\356\377\364\364\362\377\350\351\346\377" + "\215\217\212\377\210\212\205\377\213\215\210\377\351\352\347\377\364" + "\364\363\377\356\357\354\377\350\351\345\377\377\377\377\377\211\213" + "\206\376\0\0\0\0\211\213\206\376\377\377\377\377\352\353\350\377\364" + "\364\362\377\214\216\211\377\210\212\205\377JON\377.46\377JOO\377\233" + "\236\230\377\254\257\250\377\364\365\363\377\346\347\344\377\377\377" + "\377\377\211\213\206\376\0\0\0\0\211\213\206\376\377\377\377\377\351" + "\351\346\377\364\364\363\377\210\212\205\377.46\377.46\377.46\377.46" + "\377.46\377\272\275\266\377\365\365\364\377\345\346\342\377\377\377\377" + "\377\211\213\206\376]^[\326VXS\377VXT\377VXT\377VXT\377VXS\377UWS\377" + "Y[X\377CGE\377CGE\377CGE\377\272\275\266\377\365\366\364\377\343\345" + "\341\377\377\377\377\377\211\213\206\376\\_Z\350\327\327\326\377\377" + "\377\377\377\314\316\311\377\323\325\321\377\366\366\365\377\366\367" + "\366\377VXS\377UWS\377\260\247Q\377UWS\377\272\275\266\377\366\367\365" + "\377\342\344\337\377\377\377\377\377\211\213\206\376UWS\373\260\261\257" + "\377\210\212\205\377\242\243\237\377\352\352\350\377\366\367\366\377" + "\324\326\322\377VXT\377\272\275\266\377\272\275\266\377\272\275\266\377" + "\275\300\271\377\367\370\366\377\341\342\336\377\377\377\377\377\211" + "\213\206\376UWS\376\355\355\354\377\262\302\324\377\254\275\323\377\355" + "\355\354\377\311\314\307\377\337\340\335\377VXT\377\367\370\366\377\367" + "\370\367\377\367\370\367\377\370\370\367\377\354\355\352\377\337\341" + "\334\377\377\377\377\377\211\213\206\376UWT\376y\230\277\377O{\261\377" + "<l\250\377\254\275\323\377\323\325\321\377\261\262\260\377qtp\377\340" + "\342\335\377\337\341\334\377\337\341\334\377\337\341\333\377\336\340" + "\333\377\337\341\335\377\376\376\376\377\211\213\206\376Cc\211\377Q}" + "\263\377\226\266\332\377Oz\261\377\262\301\325\377\263\265\261\377oq" + "n\377\355\355\355\377\377\377\377\377\377\377\377\377\377\377\377\377" + "\377\377\377\377\377\377\377\377\376\376\376\377\351\353\350\377\212" + "\215\210\364Kw\255\375\226\266\332\377Kv\254\377Cc\212\377VXU\377efb" + "\377\204\205\201\376\211\213\206\376\211\213\206\376\211\213\206\376" + "\211\213\206\376\211\213\206\376\211\213\206\376\211\213\206\376\213" + "\214\210\366\216\221\213a\226\266\332\377Jx\261\3649i\247\245\0\0\377" + "\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" + "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0Gu\256\3559i\247\245\0\0\377\1\0\0\0\0" + "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" + "\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}; + + +/* GdkPixbuf RGBA C-Source image dump */ + +#ifdef __SUNPRO_C +#pragma align 4 (network_wireless_pb_data) +#endif +#ifdef __GNUC__ +static const guint8 network_wireless_pb_data[] __attribute__ ((__aligned__ (4))) = +#else +static const guint8 network_wireless_pb_data[] = +#endif +{ "" + /* Pixbuf magic (0x47646b50) */ + "GdkP" + /* length: header (24) + pixel_data (1024) */ + "\0\0\4\30" + /* pixdata_type (0x1010002) */ + "\1\1\0\2" + /* rowstride (64) */ + "\0\0\0@" + /* width (16) */ + "\0\0\0\20" + /* height (16) */ + "\0\0\0\20" + /* pixel_data: */ + "\0\0\0\0""9c\252\22""5j\252\30\0\0\0\0\0\0\0\0q\252\306\11q\234\325\22" + "t\242\321\26t\242\321\26q\234\325\22q\252\306\11\0\0\0\0\0\0\0\0""5j" + "\252\30""9c\252\22\0\0\0\0+U\252\6""2d\241.\0\200\200\2\200\237\277\10" + "f\231\304\36b\215\311/q\242\3164o\242\3217o\242\3217q\242\3164b\215\311" + "/f\231\304\36\200\237\277\10\0\200\200\2""2d\241.+U\252\6""2c\252$0h" + "\247\40t\242\321\13d\225\307)V\206\274Ps\232\315Gs\237\317Pq\240\320" + "Vq\240\320Vs\237\317Ps\232\315GV\206\274Pd\225\307)t\242\321\13""0h\247" + "\40""2c\252$5g\246HKx\264\21s\234\316\37Q\201\267_e\222\304[q\236\320" + "af\202\231\245\206\207\206\375^b_\373f\203\235\242q\236\320ae\222\304" + "[Q\201\267_s\234\316\37Kx\264\21""5g\246H5e\244eh\242\321\26r\241\320" + "1Jx\264\216q\240\320fq\236\316\214fhh\375\373\373\372\377\320\320\316" + "\377`dc\374q\236\316\214q\240\320fJx\264\216r\241\3201h\242\321\26""5" + "e\244e3e\245wm\240\314#q\236\316\77Fv\260\253q\235\315zq\236\314\256" + "^a`\377\322\323\320\377\317\317\314\377`cb\377q\236\314\256q\235\315" + "zFv\260\253q\236\316\77m\240\314#3e\245w6f\246va\215\275:s\241\316II" + "y\263\253a\217\304\233y\230\266\324{\216\233\377\\`^\377]`^\377}\217" + "\237\377y\230\266\324a\217\304\233Iy\263\253s\241\316Ia\215\275:6f\246" + "v4e\246SGv\263hr\240\316N_\215\300\206Bs\254\330\201\213\222\371\270" + "\310\332\377\221\252\301\377\221\252\301\377\270\310\332\377\177\215" + "\226\365Bs\254\330_\215\300\206r\240\316NGv\263h4e\246S3f\246\24""8h" + "\246\247m\230\312Rq\236\320lW{\250\323Lr\243\377\255\302\333\377\252" + "\270\307\377\204\223\241\377\247\274\324\377Lr\243\377W{\250\323q\236" + "\320lm\230\312R8h\246\2473f\246\24\0\0\0\0""4d\244k>n\255\244r\237\315" + "e\206\214\215\345\254\271\312\377c\204\255\377Is\252\377Oy\260\377n\217" + "\270\377\256\273\315\377\210\212\207\371r\237\315e>n\255\2444d\244k\0" + "\0\0\0\0\0\0\0""3f\231\5""3e\245\244Uy\235\313\234\235\231\377\364\364" + "\364\377\215\216\212\376\215\220\214\377\271\273\270\377\360\360\357" + "\377\377\377\377\377\234\235\231\377Uy\235\3133e\245\2443f\231\5\0\0" + "\0\0\0\0\0\0\0\0\0\0+U\252\6\205\211\206\367\326\326\325\377\327\330" + "\326\377\333\333\332\377\370\371\370\377\333\333\332\377\263\264\261" + "\377\303\305\303\377\324\324\323\377z\204\212\340+U\252\6\0\0\0\0\0\0" + "\0\0\0\0\0\0\0\0\0\0\211\211\2046\226\230\224\377\377\377\377\377\373" + "\373\372\377\353\353\353\377\323\324\322\377\300\301\276\377\260\261" + "\256\377\246\250\244\377\366\366\366\377\226\230\224\377\211\211\206" + "N\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\210\212\205\257\315\316\314\377\310" + "\310\306\377\230\232\226\377\250\252\246\377\270\271\266\377\310\311" + "\307\377\330\330\327\377\350\350\347\377\374\374\373\377\336\337\335" + "\377\210\212\205\360\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\210\212\205\355" + "\352\352\351\377\223\225\220\375\210\214\205I\210\210\205G\210\212\206" + "i\210\212\204\213\210\213\205\255\207\213\205\327\223\225\220\377\347" + "\350\347\377\210\212\205\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\211\213" + "\205{\210\212\205\356\211\213\205\177\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" + "\0\0\0\0\0\0\0\0\207\212\205q\210\212\205\356\211\213\205{\0\0\0\0\0" + "\0\0\0"}; + + |