Code

r11886@tres: ted | 2006-05-13 00:30:29 -0700
authorgouldtj <gouldtj@users.sourceforge.net>
Sat, 13 May 2006 08:13:38 +0000 (08:13 +0000)
committergouldtj <gouldtj@users.sourceforge.net>
Sat, 13 May 2006 08:13:38 +0000 (08:13 +0000)
 Making the effects menu default on.

src/interface.cpp

index 1c7baf413e75f39e1d59cf663c8c0cdcb106c9c3..c5d893edea08b2e5b55c72ccb6322a4f6b4340c1 100644 (file)
@@ -811,9 +811,6 @@ sp_ui_build_dyn_menus(Inkscape::XML::Node *menus, GtkWidget *menu, Inkscape::UI:
          menu_pntr != NULL;
          menu_pntr = menu_pntr->next()) {
         if (!strcmp(menu_pntr->name(), "submenu")) {
-            if (!strcmp(menu_pntr->attribute("name"), "Effects") && !prefs_get_int_attribute("extensions", "show-effects-menu", 0)) {
-                continue;
-            }
             GtkWidget *mitem = gtk_menu_item_new_with_mnemonic(_(menu_pntr->attribute("name")));
             GtkWidget *submenu = gtk_menu_new();
             sp_ui_build_dyn_menus(menu_pntr->firstChild(), submenu, view);