Changeset 40
- Timestamp:
- 04/12/06 10:36:54 (3 years ago)
- Location:
- trunk
- Files:
-
- 7 added
- 4 modified
-
Makefile.am (modified) (1 diff)
-
configure.ac (modified) (1 diff)
-
data (added)
-
data/Makefile.am (added)
-
data/stock_rotate-270.png (added)
-
data/stock_rotate-90.png (added)
-
data/stock_zoom-page-width.png (added)
-
src/gtk/MainView.cxx (modified) (4 diffs)
-
src/gtk/Makefile.am (modified) (1 diff)
-
src/gtk/StockIcons.cxx (added)
-
src/gtk/StockIcons.h (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.am
r3 r40 1 1 # Process this file with automake to produce a Makefile.in file. 2 SUBDIRS = intl po m4 src doc2 SUBDIRS = data intl po m4 src doc 3 3 if build_tests 4 4 SUBDIRS += tests -
trunk/configure.ac
r32 r40 44 44 AC_CONFIG_FILES([ \ 45 45 Makefile \ 46 data/Makefile \ 46 47 m4/Makefile \ 47 48 intl/Makefile \ -
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) }, -
trunk/src/gtk/Makefile.am
r33 r40 3 3 libshell_gtk_a_SOURCES = \ 4 4 MainView.cxx \ 5 MainView.h 5 MainView.h \ 6 StockIcons.cxx \ 7 StockIcons.h 6 8 7 9 libshell_gtk_a_CXXFLAGS = \ 10 -DDATADIR='"$(datadir)"' \ 8 11 -I$(top_srcdir)/src \ 9 12 $(GTK2_CFLAGS)
