Gitweb links:

...log 
http://git.netsurf-browser.org/netsurf.git/shortlog/d871be3ea00ef74ab28b936526768bbf121e3eb0
...commit 
http://git.netsurf-browser.org/netsurf.git/commit/d871be3ea00ef74ab28b936526768bbf121e3eb0
...tree 
http://git.netsurf-browser.org/netsurf.git/tree/d871be3ea00ef74ab28b936526768bbf121e3eb0

The branch, chris/menuclass has been updated
       via  d871be3ea00ef74ab28b936526768bbf121e3eb0 (commit)
       via  d843f78c202900409b0cd0c16397f6dae77bbe2b (commit)
      from  9e814fd0f0f03584debb43b6d8acf144bd8675a2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/netsurf.git/commit/?id=d871be3ea00ef74ab28b936526768bbf121e3eb0
commit d871be3ea00ef74ab28b936526768bbf121e3eb0
Author: Chris Young <[email protected]>
Commit: Chris Young <[email protected]>

    Update documentaton

diff --git a/frontends/amiga/dist/NetSurf.guide 
b/frontends/amiga/dist/NetSurf.guide
index 754cdbe..512a264 100755
--- a/frontends/amiga/dist/NetSurf.guide
+++ b/frontends/amiga/dist/NetSurf.guide
@@ -285,11 +285,11 @@ Items from the hotlist can be added to the Hotlist menu 
as follows:
 
 Select Hotlist => Show hotlist...
 
-Items in the "Hotlist menu" folder node, up to a maximum (currently) of 40 
items, will be added to the Hotlist menu, within the limits of the Intuition 
menu system.
+Items in the "Hotlist menu" folder node, up to a maximum (currently) of 200 
items, will be added to the Hotlist menu, within the limits of the Intuition 
menu system.
 
 Items in folders within the Menu folder node will be converted to subitems in 
the menu.
 
-Folders more than one level down in the heirarchy will become menu items with 
no action.  Items deeper will not be included in the menu at all (until we 
switch to using menuclass).
+When using a version of AmigaOS older than OS4.1FE, folders more than one 
level down in the heirarchy will become menu items with no action.  Items 
deeper will not be included in the menu at all.
 
 Folders with no items in them will show up disabled in the menu.  If they are 
named "--" they will be displayed as separator bars.
 
diff --git a/frontends/amiga/menu.c b/frontends/amiga/menu.c
index 91acce7..2d2ec4e 100644
--- a/frontends/amiga/menu.c
+++ b/frontends/amiga/menu.c
@@ -262,7 +262,7 @@ static int ami_menu_layout_mc_recursive(Object 
*menu_parent, struct ami_menu_dat
                                        TAG_DONE);
                        }
 
-                       LOG("Adding item %p ID %d (%s) to parent %p", 
menu_item, j, md[j]->menulab, menu_parent);
+                       //LOG("Adding item %p ID %d (%s) to parent %p", 
menu_item, j, md[j]->menulab, menu_parent);
                        IDoMethod(menu_parent, OM_ADDMEMBER, menu_item);
                        continue;
                } else if (md[j]->menutype > level) {


commitdiff 
http://git.netsurf-browser.org/netsurf.git/commit/?id=d843f78c202900409b0cd0c16397f6dae77bbe2b
commit d843f78c202900409b0cd0c16397f6dae77bbe2b
Author: Chris Young <[email protected]>
Commit: Chris Young <[email protected]>

    disable dynamic hotlist menu update
    menuclass doesn't appear to be working as advertised

diff --git a/frontends/amiga/gui.c b/frontends/amiga/gui.c
index b2a489e..bee7a8d 100644
--- a/frontends/amiga/gui.c
+++ b/frontends/amiga/gui.c
@@ -3327,7 +3327,7 @@ void ami_gui_hotlist_update_all(void)
 
        if(IsMinListEmpty(window_list)) return;
 
-       ami_gui_menu_refresh_hotlist();
+       //ami_gui_menu_refresh_hotlist(); /**\todo disabled as menuclass isn't 
updating correctly */
 
        node = (struct nsObject *)GetHead((struct List *)window_list);
 


-----------------------------------------------------------------------

Summary of changes:
 frontends/amiga/dist/NetSurf.guide |    4 ++--
 frontends/amiga/gui.c              |    2 +-
 frontends/amiga/menu.c             |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/frontends/amiga/dist/NetSurf.guide 
b/frontends/amiga/dist/NetSurf.guide
index 754cdbe..512a264 100755
--- a/frontends/amiga/dist/NetSurf.guide
+++ b/frontends/amiga/dist/NetSurf.guide
@@ -285,11 +285,11 @@ Items from the hotlist can be added to the Hotlist menu 
as follows:
 
 Select Hotlist => Show hotlist...
 
-Items in the "Hotlist menu" folder node, up to a maximum (currently) of 40 
items, will be added to the Hotlist menu, within the limits of the Intuition 
menu system.
+Items in the "Hotlist menu" folder node, up to a maximum (currently) of 200 
items, will be added to the Hotlist menu, within the limits of the Intuition 
menu system.
 
 Items in folders within the Menu folder node will be converted to subitems in 
the menu.
 
-Folders more than one level down in the heirarchy will become menu items with 
no action.  Items deeper will not be included in the menu at all (until we 
switch to using menuclass).
+When using a version of AmigaOS older than OS4.1FE, folders more than one 
level down in the heirarchy will become menu items with no action.  Items 
deeper will not be included in the menu at all.
 
 Folders with no items in them will show up disabled in the menu.  If they are 
named "--" they will be displayed as separator bars.
 
diff --git a/frontends/amiga/gui.c b/frontends/amiga/gui.c
index b2a489e..bee7a8d 100644
--- a/frontends/amiga/gui.c
+++ b/frontends/amiga/gui.c
@@ -3327,7 +3327,7 @@ void ami_gui_hotlist_update_all(void)
 
        if(IsMinListEmpty(window_list)) return;
 
-       ami_gui_menu_refresh_hotlist();
+       //ami_gui_menu_refresh_hotlist(); /**\todo disabled as menuclass isn't 
updating correctly */
 
        node = (struct nsObject *)GetHead((struct List *)window_list);
 
diff --git a/frontends/amiga/menu.c b/frontends/amiga/menu.c
index 91acce7..2d2ec4e 100644
--- a/frontends/amiga/menu.c
+++ b/frontends/amiga/menu.c
@@ -262,7 +262,7 @@ static int ami_menu_layout_mc_recursive(Object 
*menu_parent, struct ami_menu_dat
                                        TAG_DONE);
                        }
 
-                       LOG("Adding item %p ID %d (%s) to parent %p", 
menu_item, j, md[j]->menulab, menu_parent);
+                       //LOG("Adding item %p ID %d (%s) to parent %p", 
menu_item, j, md[j]->menulab, menu_parent);
                        IDoMethod(menu_parent, OM_ADDMEMBER, menu_item);
                        continue;
                } else if (md[j]->menutype > level) {


-- 
NetSurf Browser

_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to