1.1 --- a/gui/main_win.cc Fri Nov 04 17:44:13 2005 +0000
1.2 +++ b/gui/main_win.cc Fri Nov 04 19:07:15 2005 +0000
1.3 @@ -127,11 +127,6 @@
1.4 uim->insert_action_group(ag);
1.5 add_accel_group(uim->get_accel_group());
1.6
1.7 - /*
1.8 - " <menuitem action='ViewZoomFit' />"
1.9 - " <toolitem action='ViewZoomFit' />"
1.10 - */
1.11 -
1.12 try
1.13 {
1.14
1.15 @@ -150,6 +145,7 @@
1.16 " <menuitem action='ViewZoomIn' />"
1.17 " <menuitem action='ViewZoomOut' />"
1.18 " <menuitem action='ViewZoom100' />"
1.19 + " <menuitem action='ViewZoomFit' />"
1.20 " </menu>"
1.21 " <menu action='ShowMenu'>"
1.22 " <menuitem action='ShowMaps'/>"
1.23 @@ -164,6 +160,7 @@
1.24 " <toolitem action='ViewZoomIn' />"
1.25 " <toolitem action='ViewZoomOut' />"
1.26 " <toolitem action='ViewZoom100' />"
1.27 + " <toolitem action='ViewZoomFit' />"
1.28 " <separator />"
1.29 " <toolitem action='MoveItem' />"
1.30 " <toolitem action='CreateNode' />"
1.31 @@ -197,6 +194,7 @@
1.32 }
1.33
1.34 Gtk::ScrolledWindow* pScrolledWindow = manage(new Gtk::ScrolledWindow());
1.35 + pScrolledWindow->set_shadow_type(Gtk::SHADOW_IN);
1.36 pScrolledWindow->add(gd_canvas);
1.37 vbox.pack_start(*pScrolledWindow);
1.38