Hello,

I have noticed a small problem with toggling main menu visibility. From 
vikwindow.c:

static void view_main_menu_cb ( GtkAction *a, VikWindow *vw )
{
[...]
   if ( tbutton ) {
     gboolean tb_state = gtk_toggle_tool_button_get_active ( tbutton );
     if ( next_state != tb_state )
       gtk_toggle_tool_button_set_active ( tbutton, next_state );
     else
       toggle_main_menu ( vw );
   }
   else
     toggle_toolbar ( vw );
}

Calling toggle_toolbar() in this function is incorrect, it should be 
toggle_main_menu() instead.

Best regards,
Kamil

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://pubads.g.doubleclick.net/gampad/clk?id=1444514421&iu=/41014381
_______________________________________________
Viking-devel mailing list
Viking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viking-devel
Viking home page: http://viking.sf.net/

Reply via email to