From: Christian Dywan Date: Sat, 6 Feb 2010 16:37:15 +0000 (+0100) Subject: Remove conditionals to disable Toolbar Editor on Hildon X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8414836c7693e82ac16f3dd40381c1ac7063ec74;p=midori Remove conditionals to disable Toolbar Editor on Hildon --- diff --git a/extensions/toolbar-editor.c b/extensions/toolbar-editor.c index 13c51b81..b8b0e005 100644 --- a/extensions/toolbar-editor.c +++ b/extensions/toolbar-editor.c @@ -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 ", NULL); - #if !HAVE_HILDON g_signal_connect(extension, "activate", G_CALLBACK(tb_editor_activate_cb), NULL); - #endif return extension; }