grim/guifications1

Parents 104f6faa875a
Children b6dd91a62d6e
Add a gaim_signal_emit drawing-menu to the context code, so that third party plugin menu items get displayed as well
--- a/ChangeLog Wed Jan 14 06:56:51 2004 +0000
+++ b/ChangeLog Wed Jan 14 20:33:37 2004 +0000
@@ -1,21 +1,27 @@
+Version 1.6 :
+ * Added a signal emit so that we can display other plugins contributions to
+ the buddy context menu
+ * Added configure arguments to the advanced tab. Not much use for this yet
+ be down the line
+
Version 1.5 01/10/04:
* Guifications will no longer work with Gaim prior to 0.75, if you do
not want to update Gaim, 1.4 will work just fine. There are no
plans to add backwards compatibility
* The library name has changed from guificat.so to guifications.so, so be sure
to clear the old file out. They will both work at the same time, but I do
- not suggest it
+ not suggest it
* Guifications no longer needs to be in the Gaim source tree to compile.
It will still compile with in the gaim source tree, but it is no longer
- mandatory, nor does it require you to edit any of Gaim's files
+ mandatory, nor does it require you to edit any of Gaim's files
* Updated guifications to work without prpl id's, I know this doesn't mean
much to most of you, but it's a change ;)
* Fixed a bug where if a connection was canceled and then later established,
- no guifications would be shown for that account
+ no guifications would be shown for that account
* Ray added a toggle to hide guifications while away, note: this will only
hide guifications for accounts that are away. If you have multiple accounts
- connected, and only one account away, you will still see guifications from
- the other accounts
+ connected, and only one account away, you will still see guifications from
+ the other accounts
* Fixed some errors and left out information in the INSTALL file
* Fixed a bug where local and server alias would not be displayed correct if
they contained html special chars
--- a/src/guifications.c Wed Jan 14 06:56:51 2004 +0000
+++ b/src/guifications.c Wed Jan 14 20:33:37 2004 +0000
@@ -27,22 +27,24 @@
#endif
#include "internal.h"
+#include "plugin.h"
+
+#include "account.h"
+#include "blist.h"
+#include "conversation.h"
+#include "debug.h"
#include "gaim.h"
-#include "plugin.h"
+#include "gtkblist.h"
+#include "gtklog.h"
#include "gtkplugin.h"
-#include "gtklog.h"
#include "gtkpounce.h"
#include "gtkutils.h"
+#include "multi.h"
+#include "notify.h"
#include "prefs.h"
-#include "account.h"
-#include "conversation.h"
-#include "blist.h"
-#include "debug.h"
#include "server.h"
#include "stock.h"
-#include "multi.h"
#include "util.h"
-#include "notify.h"
#include "guifications.h"
#include "gf_types.h"
@@ -482,6 +484,9 @@
}
}
+ /* emit the drawing menu signal so that other plugins can add to the menu */
+ gaim_signal_emit(GAIM_GTK_BLIST(gaim_get_blist()), "drawing-menu", menu, buddy);
+
g_source_remove(timeout_id);
g_signal_connect(G_OBJECT(menu), "hide", G_CALLBACK(gf_menu_destroy), guification);