Re: Come fix bugs! (Batteries included)



Hi,

Am Mittwoch, den 13.10.2004, 17:21 +0200 schrieb Alexander Larsson:
> [...]
> On Tue, 2004-10-12 at 20:12 +0200, Danny Milosavljevic wrote:
> > [...]
> > Well as there seems to be a function to get the selection's coordinates
> > I'd like to try. Cant find the gtk_menu_popup call however. Help ? :)
> 
> Start from fm_directory_view_pop_up_selection_context_menu(). It gets
> all complicated with bonoboui stuff though. :(

eel's eel-gtk-extensions.c eel_pop_up_context_menu is called which in
turn calls gtk_menu_popup without callback but with data. uhm.... and
that data is a local variable that will go out of scope soon. That looks
so wrong.

But it seems to be the right place to mess with. 

the main work for determining the coordinates will go to 
nautilus fm-directory-view.c
fm_directory_view_pop_up_selection_context_menu
but the one that does the position callback is
eel's eel-gtk-extensions.c eel_pop_up_context_menu (after its fixed ;))

*tries*

cheers,
   Danny

-- 
www.keyserver.net key id A334AEA6

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]