Remove conditionals to disable Toolbar Editor on Hildon

This commit is contained in:
Christian Dywan 2010-02-06 17:37:15 +01:00
parent 9b468c5654
commit 8414836c76

View file

@ -13,8 +13,6 @@
#include "config.h"
#if !HAVE_HILDON
typedef struct
{
GtkWidget *dialog;
@ -604,24 +602,16 @@ static void tb_editor_activate_cb(MidoriExtension *extension, MidoriApp *app)
g_object_unref(browsers);
}
#endif
MidoriExtension *extension_init(void)
{
MidoriExtension* extension = g_object_new(MIDORI_TYPE_EXTENSION,
"name", _("Toolbar Editor"),
#if !HAVE_HILDON
"description", _("Easily edit the toolbar layout"),
"version", "0.1",
#else
"description", _("Not available on this platform"),
#endif
"authors", "Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>",
NULL);
#if !HAVE_HILDON
g_signal_connect(extension, "activate", G_CALLBACK(tb_editor_activate_cb), NULL);
#endif
return extension;
}