Changeset 40 for trunk/src/gtk/MainView.cxx
- Timestamp:
- 04/12/06 10:36:54 (3 years ago)
- Files:
-
- 1 modified
-
trunk/src/gtk/MainView.cxx (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gtk/MainView.cxx
r39 r40 15 15 // along with this program; if not, write to the Free Software 16 16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 17 18 #include <string.h> 18 19 #include <gettext.h> … … 21 22 #include <MainPter.h> 22 23 #include <DocumentPage.h> 24 #include "StockIcons.h" 23 25 #include "MainView.h" 24 26 … … 50 52 IMainView (pter) 51 53 { 54 // Initialize the stock items. 55 epdfview_stock_icons_init (); 56 // Create the main window. 52 57 m_MainWindow = gtk_window_new (GTK_WINDOW_TOPLEVEL); 53 58 // Connect already the destroy signal. … … 313 318 { "ZoomOut", GTK_STOCK_ZOOM_OUT, _("Zoom _Out"), "minus", NULL, G_CALLBACK (main_window_zoom_out_cb) }, 314 319 { "ZoomFit", GTK_STOCK_ZOOM_FIT, _("Zoom to _Fit"), NULL, NULL, G_CALLBACK (main_window_zoom_fit_cb) }, 315 { "ZoomWidth", NULL, _("Zoom to _Width"), NULL, NULL, G_CALLBACK (main_window_zoom_width_cb) },316 { "RotateRight", GTK_STOCK_REDO, _("Rotate _Right"), NULL, NULL, G_CALLBACK (main_window_rotate_right)},317 { "RotateLeft", GTK_STOCK_UNDO, _("RotateLeft"), NULL, NULL, G_CALLBACK (main_window_rotate_left)},320 { "ZoomWidth", EPDFVIEW_STOCK_ZOOM_WIDTH, _("Zoom to _Width"), NULL, NULL, G_CALLBACK (main_window_zoom_width_cb) }, 321 { "RotateRight", EPDFVIEW_STOCK_ROTATE_RIGHT, _("Rotate _Right"), NULL, NULL, G_CALLBACK (main_window_rotate_right)}, 322 { "RotateLeft", EPDFVIEW_STOCK_ROTATE_LEFT, _("Rotate _Left"), NULL, NULL, G_CALLBACK (main_window_rotate_left)}, 318 323 { "GoToFirstPage", GTK_STOCK_GOTO_FIRST, _("_First Page"), "Home", NULL, G_CALLBACK (main_window_go_to_first_page_cb) }, 319 324 { "GoToNextPage", GTK_STOCK_GO_FORWARD, _("_Next Page"), "Page_Down", NULL, G_CALLBACK (main_window_go_to_next_page_cb) },
