Revision: 2755 http://geany.svn.sourceforge.net/geany/?rev=2755&view=rev Author: eht16 Date: 2008-07-05 02:37:37 -0700 (Sat, 05 Jul 2008)
Log Message: ----------- Rename signal "populate-edit-menu" into "update-editor-menu".
Modified Paths: -------------- trunk/ChangeLog trunk/doc/plugins.dox trunk/src/editor.c trunk/src/geanyobject.c trunk/src/geanyobject.h trunk/src/plugindata.h
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2008-07-04 13:54:59 UTC (rev 2754) +++ trunk/ChangeLog 2008-07-05 09:37:37 UTC (rev 2755) @@ -1,3 +1,10 @@ +2008-07-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de> + + * doc/plugins.dox, src/editor.c, src/geanyobject.c, src/geanyobject.h, + src/plugindata.h: + Rename signal "populate-edit-menu" into "update-editor-menu". + + 2008-07-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Modified: trunk/doc/plugins.dox =================================================================== --- trunk/doc/plugins.dox 2008-07-04 13:54:59 UTC (rev 2754) +++ trunk/doc/plugins.dox 2008-07-05 09:37:37 UTC (rev 2755) @@ -159,7 +159,7 @@ * @param user_data user data. * @endsignaldef * - * @signaldef populate-edit-menu + * @signaldef update-editor-menu * @signalproto * void user_function(GObject *obj, const gchar *word, gint pos, GeanyDocument *doc, * gpointer user_data);
Modified: trunk/src/editor.c =================================================================== --- trunk/src/editor.c 2008-07-04 13:54:59 UTC (rev 2754) +++ trunk/src/editor.c 2008-07-05 09:37:37 UTC (rev 2755) @@ -202,7 +202,7 @@
if (geany_object) { - g_signal_emit_by_name(geany_object, "populate-edit-menu", + g_signal_emit_by_name(geany_object, "update-editor-menu", current_word, editor_info.click_pos, doc); } gtk_menu_popup(GTK_MENU(main_widgets.editor_menu),
Modified: trunk/src/geanyobject.c =================================================================== --- trunk/src/geanyobject.c 2008-07-04 13:54:59 UTC (rev 2754) +++ trunk/src/geanyobject.c 2008-07-05 09:37:37 UTC (rev 2755) @@ -143,11 +143,11 @@ NULL, NULL, gtk_marshal_NONE__NONE, G_TYPE_NONE, 0); - geany_object_signals[GCB_POPULATE_EDIT_MENU] = g_signal_new ( - "populate-edit-menu", + geany_object_signals[GCB_UPDATE_EDITOR_MENU] = g_signal_new ( + "update-editor-menu", G_OBJECT_CLASS_TYPE (g_object_class), G_SIGNAL_RUN_FIRST, - G_STRUCT_OFFSET (GeanyObjectClass, populate_edit_menu), + G_STRUCT_OFFSET (GeanyObjectClass, update_editor_menu), NULL, NULL, gtk_marshal_NONE__STRING_INT_POINTER, G_TYPE_NONE, 3,
Modified: trunk/src/geanyobject.h =================================================================== --- trunk/src/geanyobject.h 2008-07-04 13:54:59 UTC (rev 2754) +++ trunk/src/geanyobject.h 2008-07-05 09:37:37 UTC (rev 2755) @@ -41,7 +41,7 @@ GCB_PROJECT_OPEN, GCB_PROJECT_SAVE, GCB_PROJECT_CLOSE, - GCB_POPULATE_EDIT_MENU, + GCB_UPDATE_EDITOR_MENU, GCB_MAX } GeanyCallbackId;
@@ -78,7 +78,7 @@ void (*project_open)(GKeyFile *keyfile); void (*project_save)(GKeyFile *keyfile); void (*project_close)(void); - void (*populate_edit_menu)(const gchar *word, gint click_pos, GeanyDocument *doc); + void (*update_editor_menu)(const gchar *word, gint click_pos, GeanyDocument *doc); };
GType geany_object_get_type (void);
Modified: trunk/src/plugindata.h =================================================================== --- trunk/src/plugindata.h 2008-07-04 13:54:59 UTC (rev 2754) +++ trunk/src/plugindata.h 2008-07-05 09:37:37 UTC (rev 2755) @@ -36,7 +36,7 @@
/* The API version should be incremented whenever any plugin data types below are * modified or appended to. */ -static const gint api_version = 73; +static const gint api_version = 74;
/* The ABI version should be incremented whenever existing fields in the plugin * data types below have to be changed or reordered. It should stay the same if fields
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.