remove-services.patch 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. diff --git a/pidgin/gtkutils.c b/pidgin/gtkutils.c
  2. index 8ae28e1..7c94cbf 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 8c24469..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. @@ -201,29 +199,17 @@ EMOTES_SMALL_16_SCALABLE = \
  67. emotes/small/16/scalable/pidgin-emotes.svg
  68. PROTOCOLS_16_SCALABLE = \
  69. - protocols/16/scalable/aim.svg \
  70. protocols/16/scalable/bonjour.svg \
  71. - protocols/16/scalable/gadu-gadu.svg \
  72. - protocols/16/scalable/novell.svg \
  73. - protocols/16/scalable/icq.svg \
  74. protocols/16/scalable/irc.svg \
  75. protocols/16/scalable/jabber.svg \
  76. - protocols/16/scalable/meanwhile.svg \
  77. protocols/16/scalable/silc.svg \
  78. protocols/16/scalable/simple.svg \
  79. protocols/16/scalable/zephyr.svg
  80. PROTOCOLS_16 = \
  81. - protocols/16/aim.png \
  82. protocols/16/bonjour.png \
  83. - protocols/16/facebook.png \
  84. - protocols/16/gadu-gadu.png \
  85. - protocols/16/google-talk.png \
  86. - protocols/16/novell.png \
  87. - protocols/16/icq.png \
  88. protocols/16/irc.png \
  89. protocols/16/jabber.png \
  90. - protocols/16/meanwhile.png \
  91. protocols/16/silc.png \
  92. protocols/16/simple.png \
  93. protocols/16/zephyr.png
  94. @@ -250,57 +236,33 @@ ICONS_48 = icons/hicolor/48x48/apps/pidgin.png
  95. ICONS_SCALABLE = icons/hicolor/scalable/apps/pidgin.svg
  96. PROTOCOLS_22_SCALABLE = \
  97. - protocols/22/scalable/aim.svg \
  98. protocols/22/scalable/bonjour.svg \
  99. - protocols/22/scalable/gadu-gadu.svg \
  100. - protocols/22/scalable/novell.svg \
  101. - protocols/22/scalable/icq.svg \
  102. protocols/22/scalable/irc.svg \
  103. protocols/22/scalable/jabber.svg \
  104. - protocols/22/scalable/meanwhile.svg \
  105. protocols/22/scalable/silc.svg \
  106. protocols/22/scalable/simple.svg \
  107. protocols/22/scalable/zephyr.svg
  108. PROTOCOLS_22 = \
  109. - protocols/22/aim.png \
  110. protocols/22/bonjour.png \
  111. - protocols/22/facebook.png \
  112. - protocols/22/gadu-gadu.png \
  113. - protocols/22/google-talk.png \
  114. - protocols/22/novell.png \
  115. - protocols/22/icq.png \
  116. protocols/22/irc.png \
  117. protocols/22/jabber.png \
  118. - protocols/22/meanwhile.png \
  119. protocols/22/silc.png \
  120. protocols/22/simple.png \
  121. protocols/22/zephyr.png
  122. PROTOCOLS_48 = \
  123. - protocols/48/aim.png \
  124. protocols/48/bonjour.png \
  125. - protocols/48/facebook.png \
  126. - protocols/48/gadu-gadu.png \
  127. - protocols/48/novell.png \
  128. - protocols/48/icq.png \
  129. protocols/48/irc.png \
  130. protocols/48/jabber.png \
  131. - protocols/48/meanwhile.png \
  132. protocols/48/silc.png \
  133. protocols/48/simple.png \
  134. protocols/48/zephyr.png
  135. PROTOCOLS_SCALABLE = \
  136. - protocols/scalable/aim.svg \
  137. protocols/scalable/bonjour.svg \
  138. - protocols/scalable/gadu-gadu.svg \
  139. - protocols/scalable/google-talk.svg \
  140. - protocols/scalable/novell.svg \
  141. - protocols/scalable/icq.svg \
  142. protocols/scalable/irc.svg \
  143. protocols/scalable/jabber.svg \
  144. - protocols/scalable/meanwhile.svg \
  145. protocols/scalable/silc.svg \
  146. protocols/scalable/simple.svg \
  147. protocols/scalable/zephyr.svg