remove-services.patch 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. diff --git a/pidgin/gtkutils.c b/pidgin/gtkutils.c
  2. index 8a60983..8d2a405 100644
  3. --- a/pidgin/gtkutils.c
  4. +++ b/pidgin/gtkutils.c
  5. @@ -677,7 +677,6 @@ create_protocols_menu(const char *default_proto_id)
  6. GdkPixbuf *pixbuf = NULL;
  7. GtkSizeGroup *sg;
  8. GList *p;
  9. - const char *gtalk_name = NULL;
  10. int i;
  11. aop_menu = g_malloc0(sizeof(AopMenu));
  12. @@ -686,39 +685,12 @@ create_protocols_menu(const char *default_proto_id)
  13. gtk_widget_show(aop_menu->menu);
  14. sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL);
  15. - if (purple_find_prpl("prpl-jabber")) {
  16. - gtalk_name = _("Google Talk");
  17. - }
  18. -
  19. for (p = purple_plugins_get_protocols(), i = 0;
  20. p != NULL;
  21. p = p->next, i++) {
  22. plugin = (PurplePlugin *)p->data;
  23. - if (gtalk_name && strcmp(gtalk_name, plugin->info->name) < 0) {
  24. - char *filename = g_build_filename(DATADIR, "pixmaps", "pidgin", "protocols",
  25. - "16", "google-talk.png", NULL);
  26. - GtkWidget *item;
  27. -
  28. - pixbuf = pidgin_pixbuf_new_from_file(filename);
  29. - g_free(filename);
  30. -
  31. - gtk_menu_shell_append(GTK_MENU_SHELL(aop_menu->menu),
  32. - item = aop_menu_item_new(sg, pixbuf, gtalk_name, "prpl-jabber", "protocol"));
  33. - g_object_set_data(G_OBJECT(item), "fakegoogle", GINT_TO_POINTER(1));
  34. -
  35. - if (pixbuf)
  36. - g_object_unref(pixbuf);
  37. -
  38. - /* libpurple3 compatibility */
  39. - if (purple_strequal(default_proto_id, "prpl-gtalk"))
  40. - aop_menu->default_item = i;
  41. -
  42. - gtalk_name = NULL;
  43. - i++;
  44. - }
  45. -
  46. pixbuf = pidgin_create_prpl_icon_from_prpl(plugin, PIDGIN_PRPL_ICON_SMALL, NULL);
  47. gtk_menu_shell_append(GTK_MENU_SHELL(aop_menu->menu),
  48. diff --git a/pidgin/pixmaps/Makefile.am b/pidgin/pixmaps/Makefile.am
  49. index 1d5ebe5..77f8469 100644
  50. --- a/pidgin/pixmaps/Makefile.am
  51. +++ b/pidgin/pixmaps/Makefile.am
  52. @@ -89,7 +89,6 @@ DIALOGS_SCALABLE = \
  53. dialogs/scalable/warning.svg
  54. EMBLEMS_16 = \
  55. - emblems/16/aol-client.png \
  56. emblems/16/birthday.png \
  57. emblems/16/blocked.png \
  58. emblems/16/bot.png \
  59. @@ -110,7 +109,6 @@ EMBLEMS_16 = \
  60. emblems/16/voice.png
  61. EMBLEMS_SCALABLE = \
  62. - emblems/scalable/aol-client.svg \
  63. emblems/scalable/blocked.svg \
  64. emblems/scalable/bot.svg \
  65. emblems/scalable/external.svg \
  66. @@ -202,24 +200,16 @@ EMOTES_SMALL_16_SCALABLE = \
  67. PROTOCOLS_16_SCALABLE = \
  68. protocols/16/scalable/bonjour.svg \
  69. - protocols/16/scalable/gadu-gadu.svg \
  70. - protocols/16/scalable/novell.svg \
  71. protocols/16/scalable/irc.svg \
  72. protocols/16/scalable/jabber.svg \
  73. - protocols/16/scalable/meanwhile.svg \
  74. protocols/16/scalable/silc.svg \
  75. protocols/16/scalable/simple.svg \
  76. protocols/16/scalable/zephyr.svg
  77. PROTOCOLS_16 = \
  78. protocols/16/bonjour.png \
  79. - protocols/16/facebook.png \
  80. - protocols/16/gadu-gadu.png \
  81. - protocols/16/google-talk.png \
  82. - protocols/16/novell.png \
  83. protocols/16/irc.png \
  84. protocols/16/jabber.png \
  85. - protocols/16/meanwhile.png \
  86. protocols/16/silc.png \
  87. protocols/16/simple.png \
  88. protocols/16/zephyr.png
  89. @@ -247,48 +237,32 @@ ICONS_SCALABLE = icons/hicolor/scalable/apps/pidgin.svg
  90. PROTOCOLS_22_SCALABLE = \
  91. protocols/22/scalable/bonjour.svg \
  92. - protocols/22/scalable/gadu-gadu.svg \
  93. - protocols/22/scalable/novell.svg \
  94. protocols/22/scalable/irc.svg \
  95. protocols/22/scalable/jabber.svg \
  96. - protocols/22/scalable/meanwhile.svg \
  97. protocols/22/scalable/silc.svg \
  98. protocols/22/scalable/simple.svg \
  99. protocols/22/scalable/zephyr.svg
  100. PROTOCOLS_22 = \
  101. protocols/22/bonjour.png \
  102. - protocols/22/facebook.png \
  103. - protocols/22/gadu-gadu.png \
  104. - protocols/22/google-talk.png \
  105. - protocols/22/novell.png \
  106. protocols/22/irc.png \
  107. protocols/22/jabber.png \
  108. - protocols/22/meanwhile.png \
  109. protocols/22/silc.png \
  110. protocols/22/simple.png \
  111. protocols/22/zephyr.png
  112. PROTOCOLS_48 = \
  113. protocols/48/bonjour.png \
  114. - protocols/48/facebook.png \
  115. - protocols/48/gadu-gadu.png \
  116. - protocols/48/novell.png \
  117. protocols/48/irc.png \
  118. protocols/48/jabber.png \
  119. - protocols/48/meanwhile.png \
  120. protocols/48/silc.png \
  121. protocols/48/simple.png \
  122. protocols/48/zephyr.png
  123. PROTOCOLS_SCALABLE = \
  124. protocols/scalable/bonjour.svg \
  125. - protocols/scalable/gadu-gadu.svg \
  126. - protocols/scalable/google-talk.svg \
  127. - protocols/scalable/novell.svg \
  128. protocols/scalable/irc.svg \
  129. protocols/scalable/jabber.svg \
  130. - protocols/scalable/meanwhile.svg \
  131. protocols/scalable/silc.svg \
  132. protocols/scalable/simple.svg \
  133. protocols/scalable/zephyr.svg