Re: [GnomeMeeting-devel-list] Re: Network interface resets when offline



Well, I absolutely don't understand what you are trying to achieve.

Le mardi 10 mai 2005 à 16:52 +0200, Jan Schiefer a écrit :
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Ok.
> 
> You create the "Network Interface"-subsection with:
> 
> subsection = gnome_prefs_subsection_new (prefs_window,
> container,_("Network Interface"), 1, 2);
> 
> in "static void gm_pw_init_network_page()" .
> 
> When someone clicks "Network interface" in the subsection-tree "static
> void tree_selection_changed_cb()" is called.
> 
> Right so far?
> 
> You need to add a callback that is activated when our subsection is shown.
> Exactly when "gtk_notebook_set_current_page (GTK_NOTEBOOK
> (gpw->notebook), page);" is called for our "Network interface"-subsection.
> 
> In this callback you init the "Listen on" selection with:
> 
> ifaces = GnomeMeeting::Process ()->GetInterfaces ();
> array = ifaces.ToCharArray ();
> pw->interface = gnome_prefs_string_option_menu_new (subsection,
> _("Listen on:"), array, PROTOCOLS_KEY "interface", _("The network
> interface to listen on"), 0);
> free (array);
> 
> Greetings,
> Jan Schiefer!
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.5 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> 
> iD8DBQFCgMqWzC00UKXFdVcRAqSDAJ427m93E0tvEJecQ/7cK8rRCxaArACfbChX
> FMar5xHKFvM2zWym+fMpTUs=
> =zYGq
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> Gnomemeeting-devel-list mailing list
> Gnomemeeting-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnomemeeting-devel-list
-- 
 _      Damien Sandras
(o-     GnomeMeeting: http://www.gnomemeeting.org/
//\     FOSDEM 2005 : http://www.fosdem.org
v_/_    H.323 phone : callto:ils.seconix.com/dsandras seconix com




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