2009-04-17 21:34:04 +05:30
|
|
|
<?xml version="1.0"?>
|
|
|
|
<interface>
|
2009-05-18 21:06:03 +05:30
|
|
|
<!-- interface-requires gtk+ 2.12 -->
|
2009-05-15 01:45:59 +05:30
|
|
|
<!-- interface-naming-policy toplevel-contextual -->
|
|
|
|
<object class="GtkWindow" id="gtkprint">
|
2009-04-17 21:34:04 +05:30
|
|
|
<property name="title" translatable="yes">Print Preview</property>
|
|
|
|
<property name="modal">True</property>
|
2009-05-15 01:45:59 +05:30
|
|
|
<property name="window_position">center</property>
|
2009-04-17 21:34:04 +05:30
|
|
|
<property name="default_width">800</property>
|
|
|
|
<property name="default_height">600</property>
|
2009-05-15 01:45:59 +05:30
|
|
|
<signal name="delete_event" handler="on_window_delete_event"/>
|
2009-04-17 21:34:04 +05:30
|
|
|
<child>
|
|
|
|
<object class="GtkVBox" id="vbox1">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkToolbar" id="toolbar">
|
|
|
|
<property name="visible">True</property>
|
2009-05-15 01:45:59 +05:30
|
|
|
<property name="toolbar_style">icons</property>
|
2009-04-17 21:34:04 +05:30
|
|
|
<child>
|
|
|
|
<object class="GtkToolButton" id="quit">
|
|
|
|
<property name="visible">True</property>
|
2009-05-15 01:45:59 +05:30
|
|
|
<property name="tooltip_text" translatable="yes">Closes print preview window</property>
|
2009-04-17 21:34:04 +05:30
|
|
|
<property name="stock_id">gtk-quit</property>
|
2009-05-15 01:45:59 +05:30
|
|
|
<signal name="clicked" handler="on_quit_clicked"/>
|
2009-04-17 21:34:04 +05:30
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="homogeneous">True</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkToolButton" id="print">
|
|
|
|
<property name="sensitive">False</property>
|
2009-05-15 01:45:59 +05:30
|
|
|
<property name="tooltip_text" translatable="yes">Prints the current file</property>
|
2009-04-17 21:34:04 +05:30
|
|
|
<property name="stock_id">gtk-print</property>
|
2009-05-15 01:45:59 +05:30
|
|
|
<signal name="clicked" handler="on_print_clicked"/>
|
2009-04-17 21:34:04 +05:30
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="homogeneous">True</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkSeparatorToolItem" id="separatortoolitem3">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkToolButton" id="first">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="sensitive">False</property>
|
2009-05-15 01:45:59 +05:30
|
|
|
<property name="tooltip_text" translatable="yes">Shows the first page</property>
|
2009-04-17 21:34:04 +05:30
|
|
|
<property name="is_important">True</property>
|
2009-05-15 01:45:59 +05:30
|
|
|
<property name="stock_id">gtk-goto-first</property>
|
|
|
|
<signal name="clicked" handler="on_first_clicked"/>
|
2009-04-17 21:34:04 +05:30
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="homogeneous">True</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkToolButton" id="prev">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="sensitive">False</property>
|
2009-05-15 01:45:59 +05:30
|
|
|
<property name="tooltip_text" translatable="yes">Shows previous page</property>
|
2009-04-17 21:34:04 +05:30
|
|
|
<property name="is_important">True</property>
|
2009-05-15 01:45:59 +05:30
|
|
|
<property name="stock_id">gtk-go-back</property>
|
|
|
|
<signal name="clicked" handler="on_prev_clicked"/>
|
2009-04-17 21:34:04 +05:30
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="homogeneous">True</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkToolButton" id="next">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="sensitive">False</property>
|
2009-05-15 01:45:59 +05:30
|
|
|
<property name="tooltip_text" translatable="yes">Shows the next page</property>
|
2009-04-17 21:34:04 +05:30
|
|
|
<property name="is_important">True</property>
|
2009-05-15 01:45:59 +05:30
|
|
|
<property name="stock_id">gtk-go-forward</property>
|
|
|
|
<signal name="clicked" handler="on_next_clicked"/>
|
2009-04-17 21:34:04 +05:30
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="homogeneous">True</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkToolButton" id="last">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="sensitive">False</property>
|
2009-05-15 01:45:59 +05:30
|
|
|
<property name="tooltip_text" translatable="yes">Shows the last page</property>
|
2009-04-17 21:34:04 +05:30
|
|
|
<property name="is_important">True</property>
|
2009-05-15 01:45:59 +05:30
|
|
|
<property name="stock_id">gtk-goto-last</property>
|
|
|
|
<signal name="clicked" handler="on_last_clicked"/>
|
2009-04-17 21:34:04 +05:30
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="homogeneous">True</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkSeparatorToolItem" id="separatortoolitem1">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkToolItem" id="toolitem1">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkHBox" id="hbox1">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="spacing">6</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkEntry" id="entry">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="invisible_char">•</property>
|
|
|
|
<property name="width_chars">6</property>
|
2009-05-15 01:45:59 +05:30
|
|
|
<signal name="activate" handler="on_entry_activate"/>
|
2009-04-17 21:34:04 +05:30
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
2009-05-15 01:45:59 +05:30
|
|
|
<property name="position">0</property>
|
2009-04-17 21:34:04 +05:30
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="label">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="label">of 8</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
2009-05-15 01:45:59 +05:30
|
|
|
<property name="position">1</property>
|
2009-04-17 21:34:04 +05:30
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkSeparatorToolItem" id="separatortoolitem2">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkToggleToolButton" id="zoom_fit_width">
|
|
|
|
<property name="visible">True</property>
|
2009-05-15 01:45:59 +05:30
|
|
|
<property name="tooltip_text" translatable="yes">Zooms to fit the page width</property>
|
2009-04-17 21:34:04 +05:30
|
|
|
<property name="use_underline">True</property>
|
2009-05-15 01:45:59 +05:30
|
|
|
<signal name="toggled" handler="on_zoom_fit_width_toggled"/>
|
2009-04-17 21:34:04 +05:30
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="homogeneous">True</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkToggleToolButton" id="zoom_best_fit">
|
|
|
|
<property name="visible">True</property>
|
2009-05-15 01:45:59 +05:30
|
|
|
<property name="tooltip_text" translatable="yes">Zooms to fit the whole page</property>
|
2009-04-17 21:34:04 +05:30
|
|
|
<property name="stock_id">gtk-zoom-fit</property>
|
2009-05-15 01:45:59 +05:30
|
|
|
<signal name="toggled" handler="on_zoom_best_fit_toggled"/>
|
2009-04-17 21:34:04 +05:30
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="homogeneous">True</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkToolButton" id="zoom_in">
|
|
|
|
<property name="visible">True</property>
|
2009-05-15 01:45:59 +05:30
|
|
|
<property name="tooltip_text" translatable="yes">Zooms the page in</property>
|
2009-04-17 21:34:04 +05:30
|
|
|
<property name="stock_id">gtk-zoom-in</property>
|
2009-05-15 01:45:59 +05:30
|
|
|
<signal name="clicked" handler="on_zoom_in_clicked"/>
|
2009-04-17 21:34:04 +05:30
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="homogeneous">True</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkToolButton" id="zoom_out">
|
|
|
|
<property name="visible">True</property>
|
2009-05-15 01:45:59 +05:30
|
|
|
<property name="tooltip_text" translatable="yes">Zooms the page out</property>
|
2009-04-17 21:34:04 +05:30
|
|
|
<property name="stock_id">gtk-zoom-out</property>
|
2009-05-15 01:45:59 +05:30
|
|
|
<signal name="clicked" handler="on_zoom_out_clicked"/>
|
2009-04-17 21:34:04 +05:30
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="homogeneous">True</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
2009-05-15 01:45:59 +05:30
|
|
|
<property name="position">0</property>
|
2009-04-17 21:34:04 +05:30
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkScrolledWindow" id="swin">
|
|
|
|
<property name="visible">True</property>
|
2009-05-15 01:45:59 +05:30
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="hscrollbar_policy">automatic</property>
|
|
|
|
<property name="vscrollbar_policy">automatic</property>
|
|
|
|
<property name="shadow_type">in</property>
|
|
|
|
<signal name="size_allocate" handler="on_swin_size_allocate"/>
|
2009-04-17 21:34:04 +05:30
|
|
|
<child>
|
|
|
|
<object class="GtkViewport" id="viewport1">
|
|
|
|
<property name="visible">True</property>
|
2009-05-15 01:45:59 +05:30
|
|
|
<property name="shadow_type">none</property>
|
2009-04-17 21:34:04 +05:30
|
|
|
<child>
|
|
|
|
<object class="GtkDrawingArea" id="drawingarea">
|
|
|
|
<property name="visible">True</property>
|
2009-05-15 01:45:59 +05:30
|
|
|
<signal name="expose_event" handler="on_drawingarea_expose_event"/>
|
2009-04-17 21:34:04 +05:30
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
2009-05-15 01:45:59 +05:30
|
|
|
<property name="position">1</property>
|
2009-04-17 21:34:04 +05:30
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</interface>
|