Changeset 213 for trunk/src/gtk/MainView.cxx
- Timestamp:
- 06/10/06 14:14:55 (2 years ago)
- Files:
-
- 1 modified
-
trunk/src/gtk/MainView.cxx (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gtk/MainView.cxx
r212 r213 26 26 #include "PageView.h" 27 27 #include "PreferencesView.h" 28 #if defined (HAVE_CUPS) 29 #include "PrintView.h" 30 #endif // HAVE_CUPS 28 31 #include "MainView.h" 29 32 … … 543 546 } 544 547 545 void 548 void 546 549 MainView::sensitiveZoomWidth (gboolean sensitive) 547 550 { 548 GtkAction *zoomWidth = 551 GtkAction *zoomWidth = 549 552 gtk_ui_manager_get_action (m_UIManager, "/MenuBar/ViewMenu/ZoomWidth"); 550 553 gtk_action_set_sensitive (zoomWidth, sensitive); 551 554 } 552 555 553 void 556 void 554 557 MainView::show (void) 555 { 558 { 556 559 Config &config = Config::getConfig (); 557 560 gtk_window_set_default_size (GTK_WINDOW (m_MainWindow), … … 563 566 } 564 567 565 void 568 void 566 569 MainView::showErrorMessage (const gchar *title, const gchar *body) 567 570 { … … 681 684 return new PreferencesView (GTK_WINDOW (m_MainWindow)); 682 685 } 686 687 #if defined (HAVE_CUPS) 688 IPrintView * 689 MainView::getPrintView () 690 { 691 return new PrintView (GTK_WINDOW (m_MainWindow)); 692 } 693 #endif // HAVE_CUPS 683 694 684 695 void … … 1197 1208 1198 1209 MainPter *pter = (MainPter *)data; 1210 pter->printActivated (); 1199 1211 } 1200 1212 #endif // HAVE_CUPS
