Mercurial > pidgin.yaz
comparison finch/libgnt/gntmenu.c @ 18069:08776fc5c06f
propagate from branch 'im.pidgin.finch.workspaces' (head 76cfc9565a5cdde8d2e1f2efc3282b309a55a110)
to branch 'im.pidgin.pidgin.2.1.0' (head 7369e1bc964aa300a73670872d34129642b3ec49)
author | Richard Nelson <wabz@pidgin.im> |
---|---|
date | Fri, 08 Jun 2007 10:21:50 +0000 |
parents | 1cedd520cd18 3c3fc1432a01 |
children | 9a0f99ea664d ac904659104f |
comparison
equal
deleted
inserted
replaced
18068:0b3d6ea61760 | 18069:08776fc5c06f |
---|---|
240 } | 240 } |
241 | 241 |
242 static void | 242 static void |
243 gnt_menu_hide(GntWidget *widget) | 243 gnt_menu_hide(GntWidget *widget) |
244 { | 244 { |
245 GntMenu *menu = GNT_MENU(widget); | 245 GntMenu *sub, *menu = GNT_MENU(widget); |
246 | |
247 while ((sub = menu->submenu)) | |
248 gnt_widget_hide(GNT_WIDGET(sub)); | |
246 if (menu->parentmenu) | 249 if (menu->parentmenu) |
247 menu->parentmenu->submenu = NULL; | 250 menu->parentmenu->submenu = NULL; |
248 } | 251 } |
249 | 252 |
250 static void | 253 static void |