From 74f30634c4d7187f9c04b0b4e7dfad1253c5616c Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Wed, 8 Jan 2003 19:12:33 +0000 Subject: More start here page work, importing bookmarks from mozilla now should 2003-01-08 Marco Pesenti Gritti * TODO: * data/starthere/Makefile.am: * data/starthere/index.xml.in: * data/starthere/section.xsl: * data/starthere/smartbookmarks.xml.in: * embed/ephy-embed-shell.c: (ephy_embed_shell_class_init): * embed/ephy-embed-shell.h: * embed/mozilla/StartHereProtocolHandler.cpp: * po/POTFILES.in: * src/ephy-shell.c: (ephy_shell_command_cb), (ephy_shell_init): More start here page work, importing bookmarks from mozilla now should work. --- embed/ephy-embed-shell.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'embed/ephy-embed-shell.c') diff --git a/embed/ephy-embed-shell.c b/embed/ephy-embed-shell.c index 69d1c98dd..679e6f663 100644 --- a/embed/ephy-embed-shell.c +++ b/embed/ephy-embed-shell.c @@ -29,6 +29,7 @@ enum { NEW_WINDOW, + COMMAND, LAST_SIGNAL }; @@ -113,6 +114,17 @@ ephy_embed_shell_class_init (EphyEmbedShellClass *klass) 2, G_TYPE_POINTER, G_TYPE_INT); + ephy_embed_shell_signals[COMMAND] = + g_signal_new ("command", + G_OBJECT_CLASS_TYPE (object_class), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (EphyEmbedShellClass, command), + NULL, NULL, + ephy_marshal_VOID__STRING_STRING, + G_TYPE_NONE, + 2, + G_TYPE_STRING, + G_TYPE_STRING); } static void -- cgit v1.2.3