Changeset 184:4e8704aae278 in glemon-0.x for main_win.cc
- Timestamp:
- 01/10/07 15:37:46 (17 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/glemon/trunk@3125
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main_win.cc
r174 r184 23 23 #include "main_win.h" 24 24 #include "guipixbufs.h" 25 #include "background_chooser_dialog.h" 25 26 26 27 #include "i18n.h" … … 114 115 ag->add( Gtk::Action::create("ViewZoom100", Gtk::Stock::ZOOM_100), 115 116 sigc::mem_fun(*this, &MainWin::zoom100)); 117 ag->add( Gtk::Action::create("SetBackground", _("Set Background...")), 118 sigc::mem_fun(*this, &MainWin::createBackgroundChooser)); 116 119 117 120 ag->add( Gtk::Action::create("ShowMenu", _("_Show")) ); … … 174 177 " <menuitem action='ViewZoom100' />" 175 178 " <menuitem action='ViewZoomFit' />" 179 " <menuitem action='SetBackground' />" 176 180 " </menu>" 177 181 " <menu action='ShowMenu'>" … … 581 585 tabs[active_tab]->reDesignGraph(); 582 586 } 587 588 void MainWin::createBackgroundChooser() 589 { 590 BackgroundChooserDialog dialog(&(tabs[active_tab]->mapstorage)); 591 dialog.run(); 592 }
Note: See TracChangeset
for help on using the changeset viewer.