]> spindle.queued.net Git - midori/commitdiff
Remove conditionals to disable Toolbar Editor on Hildon
authorChristian Dywan <christian@twotoasts.de>
Sat, 6 Feb 2010 16:37:15 +0000 (17:37 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sat, 6 Feb 2010 16:37:15 +0000 (17:37 +0100)
extensions/toolbar-editor.c

index 13c51b8172c8cf65e6c97070a8a8a2d7b0fc384b..b8b0e0055178ac2977f63ef39dd6ca5ab707d5e1 100644 (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;
 }