diff pidgin/gaimstock.c @ 15509:23ca11f8a8c4

stock to pidgin
author Sean Egan <seanegan@gmail.com>
date Sat, 03 Feb 2007 08:56:16 +0000
parents d75099d2567e
children 535f002e7b0f
line wrap: on
line diff
--- a/pidgin/gaimstock.c	Sat Feb 03 08:52:00 2007 +0000
+++ b/pidgin/gaimstock.c	Sat Feb 03 08:56:16 2007 +0000
@@ -36,105 +36,96 @@
 
 } const stock_icons[] =
 {
-	{ GAIM_STOCK_ABOUT,           "buttons", "about_menu.png"           },
-	{ GAIM_STOCK_ACCOUNTS,        "buttons", "accounts.png"             },
-	{ GAIM_STOCK_ACTION,          NULL,      GTK_STOCK_EXECUTE          },
+	{ PIDGIN_STOCK_ABOUT,           "buttons", "about_menu.png"           },
+	{ PIDGIN_STOCK_ACCOUNTS,        "buttons", "accounts.png"             },
+	{ PIDGIN_STOCK_ACTION,          NULL,      GTK_STOCK_EXECUTE          },
 #if GTK_CHECK_VERSION(2,6,0)
-	{ GAIM_STOCK_ALIAS,           NULL,      GTK_STOCK_EDIT             },
+	{ PIDGIN_STOCK_ALIAS,           NULL,      GTK_STOCK_EDIT             },
 #else
-	{ GAIM_STOCK_ALIAS,           "buttons", "edit.png"                 },
+	{ PIDGIN_STOCK_ALIAS,           "buttons", "edit.png"                 },
 #endif
-	{ GAIM_STOCK_BGCOLOR,         "buttons", "change-bgcolor-small.png" },
-	{ GAIM_STOCK_BLOCK,           NULL,      GTK_STOCK_STOP             },
-	{ GAIM_STOCK_UNBLOCK,         NULL,      GTK_STOCK_STOP /* XXX: */  },
-	{ GAIM_STOCK_CHAT,            NULL,      GTK_STOCK_JUMP_TO          },
-	{ GAIM_STOCK_CLEAR,           NULL,      GTK_STOCK_CLEAR            },
-	{ GAIM_STOCK_CLOSE_TABS,      NULL,      GTK_STOCK_CLOSE            },
+	{ PIDGIN_STOCK_BGCOLOR,         "buttons", "change-bgcolor-small.png" },
+	{ PIDGIN_STOCK_BLOCK,           NULL,      GTK_STOCK_STOP             },
+	{ PIDGIN_STOCK_UNBLOCK,         NULL,      GTK_STOCK_STOP /* XXX: */  },
+	{ PIDGIN_STOCK_CHAT,            NULL,      GTK_STOCK_JUMP_TO          },
+	{ PIDGIN_STOCK_CLEAR,           NULL,      GTK_STOCK_CLEAR            },
+	{ PIDGIN_STOCK_CLOSE_TABS,      NULL,      GTK_STOCK_CLOSE            },
 #if GTK_CHECK_VERSION(2,6,0)
-	{ GAIM_STOCK_CONNECT,         NULL,      GTK_STOCK_CONNECT          },
+	{ PIDGIN_STOCK_CONNECT,         NULL,      GTK_STOCK_CONNECT          },
 #else
-	{ GAIM_STOCK_CONNECT,         "icons",   "stock_connect_16.png"     },
+	{ PIDGIN_STOCK_CONNECT,         "icons",   "stock_connect_16.png"     },
 #endif
-	{ GAIM_STOCK_DEBUG,           NULL,      GTK_STOCK_PROPERTIES       },
-	{ GAIM_STOCK_DOWNLOAD,        NULL,      GTK_STOCK_GO_DOWN          },
+	{ PIDGIN_STOCK_DEBUG,           NULL,      GTK_STOCK_PROPERTIES       },
+	{ PIDGIN_STOCK_DOWNLOAD,        NULL,      GTK_STOCK_GO_DOWN          },
 #if GTK_CHECK_VERSION(2,6,0)
-	{ GAIM_STOCK_DISCONNECT,      NULL,      GTK_STOCK_DISCONNECT       },
+	{ PIDGIN_STOCK_DISCONNECT,      NULL,      GTK_STOCK_DISCONNECT       },
 #else
-	{ GAIM_STOCK_DISCONNECT,      "icons",   "stock_disconnect_16.png"  },
+	{ PIDGIN_STOCK_DISCONNECT,      "icons",   "stock_disconnect_16.png"  },
 #endif
-	{ GAIM_STOCK_FGCOLOR,         "buttons", "change-fgcolor-small.png" },
+	{ PIDGIN_STOCK_FGCOLOR,         "buttons", "change-fgcolor-small.png" },
 #if GTK_CHECK_VERSION(2,6,0)
-	{ GAIM_STOCK_EDIT,            NULL,      GTK_STOCK_EDIT             },
+	{ PIDGIN_STOCK_EDIT,            NULL,      GTK_STOCK_EDIT             },
 #else
-	{ GAIM_STOCK_EDIT,            "buttons", "edit.png"                 },
+	{ PIDGIN_STOCK_EDIT,            "buttons", "edit.png"                 },
 #endif
-	{ GAIM_STOCK_FILE_CANCELED,   NULL,      GTK_STOCK_CANCEL           },
-	{ GAIM_STOCK_FILE_DONE,       NULL,      GTK_STOCK_APPLY            },
-	{ GAIM_STOCK_FILE_TRANSFER,   NULL,      GTK_STOCK_REVERT_TO_SAVED  },
-	{ GAIM_STOCK_ICON_AWAY,       "icons",   "away.png"                 },
-	{ GAIM_STOCK_ICON_AWAY_MSG,   "icons",   "msgpend.png"              },
-	{ GAIM_STOCK_ICON_CONNECT,    "icons",   "connect.png"              },
-	{ GAIM_STOCK_ICON_OFFLINE,    "icons",   "offline.png"              },
-	{ GAIM_STOCK_ICON_ONLINE,     "icons",   "online.png"               },
-	{ GAIM_STOCK_ICON_ONLINE_MSG, "icons",   "msgunread.png"            },
-	{ GAIM_STOCK_IGNORE,          NULL,      GTK_STOCK_DIALOG_ERROR     },
-	{ GAIM_STOCK_IM,              "buttons", "send-im.png"		    },
-	{ GAIM_STOCK_IMAGE,           "buttons", "insert-image-small.png"   },
+	{ PIDGIN_STOCK_FILE_CANCELED,   NULL,      GTK_STOCK_CANCEL           },
+	{ PIDGIN_STOCK_FILE_DONE,       NULL,      GTK_STOCK_APPLY            },
+	{ PIDGIN_STOCK_FILE_TRANSFER,   NULL,      GTK_STOCK_REVERT_TO_SAVED  },
+	{ PIDGIN_STOCK_ICON_AWAY,       "icons",   "away.png"                 },
+	{ PIDGIN_STOCK_ICON_AWAY_MSG,   "icons",   "msgpend.png"              },
+	{ PIDGIN_STOCK_ICON_CONNECT,    "icons",   "connect.png"              },
+	{ PIDGIN_STOCK_ICON_OFFLINE,    "icons",   "offline.png"              },
+	{ PIDGIN_STOCK_ICON_ONLINE,     "icons",   "online.png"               },
+	{ PIDGIN_STOCK_ICON_ONLINE_MSG, "icons",   "msgunread.png"            },
+	{ PIDGIN_STOCK_IGNORE,          NULL,      GTK_STOCK_DIALOG_ERROR     },
+	{ PIDGIN_STOCK_IM,              "buttons", "send-im.png"		    },
+	{ PIDGIN_STOCK_IMAGE,           "buttons", "insert-image-small.png"   },
 #if GTK_CHECK_VERSION(2,8,0)
-	{ GAIM_STOCK_INFO,            NULL,      GTK_STOCK_INFO             },
+	{ PIDGIN_STOCK_INFO,            NULL,      GTK_STOCK_INFO             },
 #else
-	{ GAIM_STOCK_INFO,            "buttons", "info.png"                 },
-#endif
-	{ GAIM_STOCK_INVITE,          NULL,      GTK_STOCK_JUMP_TO          },
-	{ GAIM_STOCK_LINK,            "buttons", "insert-link-small.png"    },
-	{ GAIM_STOCK_LOG,             NULL,      GTK_STOCK_DND_MULTIPLE     },
-	{ GAIM_STOCK_MODIFY,          NULL,      GTK_STOCK_PREFERENCES      },
-#if GTK_CHECK_VERSION(2,6,0)
-	{ GAIM_STOCK_PAUSE,           NULL,      GTK_STOCK_MEDIA_PAUSE      },
-#else
-	{ GAIM_STOCK_PAUSE,           "buttons", "pause.png"                },
+	{ PIDGIN_STOCK_INFO,            "buttons", "info.png"                 },
 #endif
-	{ GAIM_STOCK_PENDING,         "buttons", "send-im.png"              },
+	{ PIDGIN_STOCK_INVITE,          NULL,      GTK_STOCK_JUMP_TO          },
+	{ PIDGIN_STOCK_LINK,            "buttons", "insert-link-small.png"    },
+	{ PIDGIN_STOCK_LOG,             NULL,      GTK_STOCK_DND_MULTIPLE     },
+	{ PIDGIN_STOCK_MODIFY,          NULL,      GTK_STOCK_PREFERENCES      },
 #if GTK_CHECK_VERSION(2,6,0)
-	{ GAIM_STOCK_PLUGIN,          NULL,      GTK_STOCK_DISCONNECT       },
+	{ PIDGIN_STOCK_PAUSE,           NULL,      GTK_STOCK_MEDIA_PAUSE      },
 #else
-	{ GAIM_STOCK_PLUGIN,          "icons",   "stock_disconnect_16.png"  },
+	{ PIDGIN_STOCK_PAUSE,           "buttons", "pause.png"                },
 #endif
-	{ GAIM_STOCK_POUNCE,          NULL,      GTK_STOCK_REDO             },
-	{ GAIM_STOCK_OPEN_MAIL,       NULL,      GTK_STOCK_JUMP_TO          },
-	{ GAIM_STOCK_SEND,            "buttons", "send-im.png"              },
-	{ GAIM_STOCK_SIGN_ON,         NULL,      GTK_STOCK_EXECUTE          },
-	{ GAIM_STOCK_SIGN_OFF,        NULL,      GTK_STOCK_CLOSE            },
-	{ GAIM_STOCK_SMILEY,          "buttons", "insert-smiley-small.png"  },
-	{ GAIM_STOCK_TEXT_BIGGER,     "buttons", "text_bigger.png"          },
-	{ GAIM_STOCK_TEXT_NORMAL,     "buttons", "text_normal.png"          },
-	{ GAIM_STOCK_TEXT_SMALLER,    "buttons", "text_smaller.png"         },
-	{ GAIM_STOCK_TYPED,           "gaim",    "typed.png"                },
-	{ GAIM_STOCK_TYPING,          "gaim",    "typing.png"               },
-	{ GAIM_STOCK_VOICE_CHAT,      "gaim",    "phone.png"                },
-	{ GAIM_STOCK_STATUS_INVISIBLE,"gaim",    "status-invisible.png"     },
-	{ GAIM_STOCK_STATUS_TYPING0,  "gaim",    "status-typing0.png"       },
-	{ GAIM_STOCK_STATUS_TYPING1,  "gaim",    "status-typing1.png"       },
-	{ GAIM_STOCK_STATUS_TYPING2,  "gaim",    "status-typing2.png"       },
-	{ GAIM_STOCK_STATUS_TYPING3,  "gaim",    "status-typing3.png"       },
-	{ GAIM_STOCK_STATUS_CONNECT0, "gaim",    "status-connect0.png"      },
-	{ GAIM_STOCK_STATUS_CONNECT1, "gaim",    "status-connect1.png"      },
-	{ GAIM_STOCK_STATUS_CONNECT2, "gaim",    "status-connect2.png"      },
-	{ GAIM_STOCK_STATUS_CONNECT3, "gaim",    "status-connect3.png"      },
-	{ GAIM_STOCK_UPLOAD,          NULL,      GTK_STOCK_GO_UP            },
+	{ PIDGIN_STOCK_PENDING,         "buttons", "send-im.png"              },
+#if GTK_CHECK_VERSION(2,6,0)
+	{ PIDGIN_STOCK_PLUGIN,          NULL,      GTK_STOCK_DISCONNECT       },
+#else
+	{ PIDGIN_STOCK_PLUGIN,          "icons",   "stock_disconnect_16.png"  },
+#endif
+	{ PIDGIN_STOCK_POUNCE,          NULL,      GTK_STOCK_REDO             },
+	{ PIDGIN_STOCK_OPEN_MAIL,       NULL,      GTK_STOCK_JUMP_TO          },
+	{ PIDGIN_STOCK_SEND,            "buttons", "send-im.png"              },
+	{ PIDGIN_STOCK_SIGN_ON,         NULL,      GTK_STOCK_EXECUTE          },
+	{ PIDGIN_STOCK_SIGN_OFF,        NULL,      GTK_STOCK_CLOSE            },
+	{ PIDGIN_STOCK_SMILEY,          "buttons", "insert-smiley-small.png"  },
+	{ PIDGIN_STOCK_TEXT_BIGGER,     "buttons", "text_bigger.png"          },
+	{ PIDGIN_STOCK_TEXT_NORMAL,     "buttons", "text_normal.png"          },
+	{ PIDGIN_STOCK_TEXT_SMALLER,    "buttons", "text_smaller.png"         },
+	{ PIDGIN_STOCK_TYPED,           "gaim",    "typed.png"                },
+	{ PIDGIN_STOCK_TYPING,          "gaim",    "typing.png"               },
+	{ PIDGIN_STOCK_VOICE_CHAT,      "gaim",    "phone.png"                },
+	{ PIDGIN_STOCK_UPLOAD,          NULL,      GTK_STOCK_GO_UP            },
 };
 
 static const GtkStockItem stock_items[] =
 {
-	{ GAIM_STOCK_ALIAS,      N_("_Alias"),      0, 0, NULL },
-	{ GAIM_STOCK_CHAT,       N_("_Join"),       0, 0, NULL },
-	{ GAIM_STOCK_CLOSE_TABS, N_("Close _tabs"), 0, 0, NULL },
-	{ GAIM_STOCK_IM,         N_("I_M"),         0, 0, NULL },
-	{ GAIM_STOCK_INFO,       N_("_Get Info"),   0, 0, NULL },
-	{ GAIM_STOCK_INVITE,     N_("_Invite"),     0, 0, NULL },
-	{ GAIM_STOCK_MODIFY,     N_("_Modify"),     0, 0, NULL },
-	{ GAIM_STOCK_OPEN_MAIL,  N_("_Open Mail"),  0, 0, NULL },
-	{ GAIM_STOCK_PAUSE,      N_("_Pause"),      0, 0, NULL },
+	{ PIDGIN_STOCK_ALIAS,      N_("_Alias"),      0, 0, NULL },
+	{ PIDGIN_STOCK_CHAT,       N_("_Join"),       0, 0, NULL },
+	{ PIDGIN_STOCK_CLOSE_TABS, N_("Close _tabs"), 0, 0, NULL },
+	{ PIDGIN_STOCK_IM,         N_("I_M"),         0, 0, NULL },
+	{ PIDGIN_STOCK_INFO,       N_("_Get Info"),   0, 0, NULL },
+	{ PIDGIN_STOCK_INVITE,     N_("_Invite"),     0, 0, NULL },
+	{ PIDGIN_STOCK_MODIFY,     N_("_Modify"),     0, 0, NULL },
+	{ PIDGIN_STOCK_OPEN_MAIL,  N_("_Open Mail"),  0, 0, NULL },
+	{ PIDGIN_STOCK_PAUSE,      N_("_Pause"),      0, 0, NULL },
 };
 
 static struct SizedStockIcon {