gtk: improve dialog layouts, make spinbuttons show 2 decimal places where appropriate, make GSearch focus the find text entry on update()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9358 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Spray 2004-12-07 22:39:29 +00:00
parent 998d99a057
commit 9ff37e567e
21 changed files with 799 additions and 623 deletions

View File

@ -1,5 +1,10 @@
2004-12-07 John Spray <spray_john@users.sourceforge.net> 2004-12-07 John Spray <spray_john@users.sourceforge.net>
* glade/: improve layouts, set spinbuttons to display 2
decimal places where apropriate
* GSearch.C: focus 'find' entry on update()
* GParagraph.C: don't require that 'ControlBox' widget
be an HBox.
* The Include Dialog: * The Include Dialog:
Dialogs.C, Makefile.am, GInclude.[Ch], glade/include.glade Dialogs.C, Makefile.am, GInclude.[Ch], glade/include.glade

View File

@ -61,7 +61,7 @@ void GParagraph::doBuild()
setCancel(button); setCancel(button);
// Make the main hbox sensitive to readonly // Make the main hbox sensitive to readonly
Gtk::HBox * controlbox; Gtk::Widget * controlbox;
xml_->get_widget("ControlBox", controlbox); xml_->get_widget("ControlBox", controlbox);
bcview().addReadOnly(controlbox); bcview().addReadOnly(controlbox);

View File

@ -70,6 +70,7 @@ void GSearch::doBuild()
void GSearch::update() void GSearch::update()
{ {
bc().refreshReadOnly(); bc().refreshReadOnly();
findentry->grab_focus();
onFindEntryChanged(); onFindEntryChanged();
} }

View File

@ -66,7 +66,7 @@
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xscale">1</property> <property name="xscale">1</property>
<property name="yscale">1</property> <property name="yscale">1</property>
<property name="top_padding">0</property> <property name="top_padding">6</property>
<property name="bottom_padding">0</property> <property name="bottom_padding">0</property>
<property name="left_padding">12</property> <property name="left_padding">12</property>
<property name="right_padding">0</property> <property name="right_padding">0</property>

View File

@ -310,12 +310,12 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="climb_rate">1</property> <property name="climb_rate">1</property>
<property name="digits">0</property> <property name="digits">2</property>
<property name="numeric">False</property> <property name="numeric">False</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property> <property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property> <property name="snap_to_ticks">False</property>
<property name="wrap">False</property> <property name="wrap">False</property>
<property name="adjustment">666 0 10000 1 10 10</property> <property name="adjustment">666 0 65536 1 10 10</property>
</widget> </widget>
<packing> <packing>
<property name="left_attach">1</property> <property name="left_attach">1</property>
@ -332,12 +332,12 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="climb_rate">1</property> <property name="climb_rate">1</property>
<property name="digits">0</property> <property name="digits">2</property>
<property name="numeric">False</property> <property name="numeric">False</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property> <property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property> <property name="snap_to_ticks">False</property>
<property name="wrap">False</property> <property name="wrap">False</property>
<property name="adjustment">666 0 10000 1 10 10</property> <property name="adjustment">666 0 65536 1 10 10</property>
</widget> </widget>
<packing> <packing>
<property name="left_attach">1</property> <property name="left_attach">1</property>

View File

@ -79,13 +79,13 @@
<child> <child>
<widget class="GtkHBox" id="hbox1"> <widget class="GtkHBox" id="hbox1">
<property name="border_width">6</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">0</property> <property name="spacing">0</property>
<child> <child>
<widget class="GtkFrame" id="frame3"> <widget class="GtkFrame" id="frame3">
<property name="border_width">3</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="label_xalign">0</property> <property name="label_xalign">0</property>
<property name="label_yalign">0.5</property> <property name="label_yalign">0.5</property>
@ -110,7 +110,7 @@
<property name="n_columns">2</property> <property name="n_columns">2</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="row_spacing">4</property> <property name="row_spacing">4</property>
<property name="column_spacing">0</property> <property name="column_spacing">6</property>
<child> <child>
<widget class="GtkLabel" id="label4"> <widget class="GtkLabel" id="label4">
@ -404,7 +404,7 @@
<widget class="GtkHBox" id="hbox2"> <widget class="GtkHBox" id="hbox2">
<property name="visible">True</property> <property name="visible">True</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">0</property> <property name="spacing">6</property>
<child> <child>
<widget class="GtkLabel" id="label9"> <widget class="GtkLabel" id="label9">
@ -493,7 +493,7 @@
<widget class="GtkHBox" id="hbox3"> <widget class="GtkHBox" id="hbox3">
<property name="visible">True</property> <property name="visible">True</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">0</property> <property name="spacing">6</property>
<child> <child>
<widget class="GtkLabel" id="label10"> <widget class="GtkLabel" id="label10">

View File

@ -86,7 +86,7 @@
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xscale">1</property> <property name="xscale">1</property>
<property name="yscale">1</property> <property name="yscale">1</property>
<property name="top_padding">0</property> <property name="top_padding">6</property>
<property name="bottom_padding">0</property> <property name="bottom_padding">0</property>
<property name="left_padding">12</property> <property name="left_padding">12</property>
<property name="right_padding">0</property> <property name="right_padding">0</property>
@ -320,7 +320,7 @@
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xscale">1</property> <property name="xscale">1</property>
<property name="yscale">1</property> <property name="yscale">1</property>
<property name="top_padding">0</property> <property name="top_padding">6</property>
<property name="bottom_padding">0</property> <property name="bottom_padding">0</property>
<property name="left_padding">12</property> <property name="left_padding">12</property>
<property name="right_padding">0</property> <property name="right_padding">0</property>

View File

@ -474,7 +474,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="climb_rate">1</property> <property name="climb_rate">1</property>
<property name="digits">0</property> <property name="digits">2</property>
<property name="numeric">True</property> <property name="numeric">True</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property> <property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property> <property name="snap_to_ticks">False</property>
@ -616,7 +616,7 @@ Do not display</property>
<property name="sensitive">False</property> <property name="sensitive">False</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="climb_rate">1</property> <property name="climb_rate">1</property>
<property name="digits">0</property> <property name="digits">2</property>
<property name="numeric">True</property> <property name="numeric">True</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property> <property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property> <property name="snap_to_ticks">False</property>
@ -707,7 +707,7 @@ Do not display</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="climb_rate">1</property> <property name="climb_rate">1</property>
<property name="digits">0</property> <property name="digits">2</property>
<property name="numeric">True</property> <property name="numeric">True</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property> <property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property> <property name="snap_to_ticks">False</property>
@ -773,30 +773,6 @@ Do not display</property>
</packing> </packing>
</child> </child>
<child>
<widget class="GtkLabel" id="label29">
<property name="visible">True</property>
<property name="label" translatable="yes">%</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
<packing>
<property name="left_attach">3</property>
<property name="right_attach">4</property>
<property name="top_attach">0</property>
<property name="bottom_attach">1</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child> <child>
<widget class="GtkComboBox" id="WidthUnits"> <widget class="GtkComboBox" id="WidthUnits">
<property name="visible">True</property> <property name="visible">True</property>
@ -869,7 +845,7 @@ Do not display</property>
<property name="sensitive">False</property> <property name="sensitive">False</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="climb_rate">1</property> <property name="climb_rate">1</property>
<property name="digits">0</property> <property name="digits">2</property>
<property name="numeric">True</property> <property name="numeric">True</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property> <property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property> <property name="snap_to_ticks">False</property>
@ -884,6 +860,30 @@ Do not display</property>
<property name="y_options"></property> <property name="y_options"></property>
</packing> </packing>
</child> </child>
<child>
<widget class="GtkLabel" id="label29">
<property name="visible">True</property>
<property name="label" translatable="yes">%</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
<packing>
<property name="left_attach">3</property>
<property name="right_attach">4</property>
<property name="top_attach">0</property>
<property name="bottom_attach">1</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
</widget> </widget>
</child> </child>
</widget> </widget>
@ -1063,7 +1063,7 @@ Do not display</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="climb_rate">1</property> <property name="climb_rate">1</property>
<property name="digits">0</property> <property name="digits">2</property>
<property name="numeric">True</property> <property name="numeric">True</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property> <property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property> <property name="snap_to_ticks">False</property>
@ -1084,7 +1084,7 @@ Do not display</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="climb_rate">1</property> <property name="climb_rate">1</property>
<property name="digits">0</property> <property name="digits">2</property>
<property name="numeric">True</property> <property name="numeric">True</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property> <property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property> <property name="snap_to_ticks">False</property>
@ -1105,7 +1105,7 @@ Do not display</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="climb_rate">1</property> <property name="climb_rate">1</property>
<property name="digits">0</property> <property name="digits">2</property>
<property name="numeric">True</property> <property name="numeric">True</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property> <property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property> <property name="snap_to_ticks">False</property>
@ -1126,7 +1126,7 @@ Do not display</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="climb_rate">1</property> <property name="climb_rate">1</property>
<property name="digits">0</property> <property name="digits">2</property>
<property name="numeric">True</property> <property name="numeric">True</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property> <property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property> <property name="snap_to_ticks">False</property>
@ -1411,7 +1411,7 @@ Do not display</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="climb_rate">1</property> <property name="climb_rate">1</property>
<property name="digits">0</property> <property name="digits">2</property>
<property name="numeric">True</property> <property name="numeric">True</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property> <property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property> <property name="snap_to_ticks">False</property>

View File

@ -4,7 +4,6 @@
<glade-interface> <glade-interface>
<widget class="GtkDialog" id="dialog"> <widget class="GtkDialog" id="dialog">
<property name="border_width">6</property>
<property name="title" translatable="yes">You shouldn't see this</property> <property name="title" translatable="yes">You shouldn't see this</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property> <property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_NONE</property> <property name="window_position">GTK_WIN_POS_NONE</property>
@ -67,6 +66,7 @@
<child> <child>
<widget class="GtkScrolledWindow" id="scrolledwindow1"> <widget class="GtkScrolledWindow" id="scrolledwindow1">
<property name="border_width">9</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property> <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>

View File

@ -3,111 +3,194 @@
<glade-interface> <glade-interface>
<widget class="GtkWindow" id="dialog"> <widget class="GtkDialog" id="dialog">
<property name="border_width">5</property> <property name="title" translatable="yes">dialog1</property>
<property name="title" translatable="yes">LyX: Math Delimiters</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property> <property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_NONE</property> <property name="window_position">GTK_WIN_POS_NONE</property>
<property name="modal">False</property> <property name="modal">False</property>
<property name="resizable">True</property> <property name="resizable">False</property>
<property name="destroy_with_parent">False</property> <property name="destroy_with_parent">False</property>
<property name="decorated">True</property> <property name="decorated">True</property>
<property name="skip_taskbar_hint">False</property> <property name="skip_taskbar_hint">False</property>
<property name="skip_pager_hint">False</property> <property name="skip_pager_hint">False</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property> <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property> <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<property name="has_separator">False</property>
<child> <child internal-child="vbox">
<widget class="GtkVBox" id="vbox1"> <widget class="GtkVBox" id="dialog-vbox1">
<property name="visible">True</property> <property name="visible">True</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">5</property> <property name="spacing">0</property>
<child> <child internal-child="action_area">
<widget class="GtkHBox" id="hbox2"> <widget class="GtkHButtonBox" id="dialog-action_area1">
<property name="border_width">5</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="homogeneous">True</property> <property name="layout_style">GTK_BUTTONBOX_END</property>
<property name="spacing">4</property>
<child> <child>
<widget class="GtkRadioButton" id="Left"> <widget class="GtkButton" id="Close">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_default">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="label" translatable="yes">(_Left</property> <property name="label">gtk-close</property>
<property name="use_underline">True</property> <property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property> <property name="focus_on_click">True</property>
<property name="active">False</property> <property name="response_id">-7</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
</widget> </widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child> </child>
<child> <child>
<widget class="GtkRadioButton" id="Both"> <widget class="GtkButton" id="Apply">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_default">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="label" translatable="yes">()_Both</property> <property name="label">gtk-apply</property>
<property name="use_underline">True</property> <property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property> <property name="focus_on_click">True</property>
<property name="active">False</property> <property name="response_id">-10</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
<property name="group">Left</property>
</widget> </widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child> </child>
<child> <child>
<widget class="GtkRadioButton" id="Right"> <widget class="GtkButton" id="OK">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_default">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="label" translatable="yes">)_Right</property> <property name="label">gtk-ok</property>
<property name="use_underline">True</property> <property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property> <property name="focus_on_click">True</property>
<property name="active">False</property> <property name="response_id">-5</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
<property name="group">Left</property>
</widget> </widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child> </child>
</widget> </widget>
<packing> <packing>
<property name="padding">0</property> <property name="padding">0</property>
<property name="expand">False</property> <property name="expand">False</property>
<property name="fill">False</property> <property name="fill">True</property>
<property name="pack_type">GTK_PACK_END</property>
</packing> </packing>
</child> </child>
<child> <child>
<widget class="GtkHBox" id="hbox3"> <widget class="GtkVBox" id="vbox2">
<property name="border_width">6</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">0</property> <property name="spacing">5</property>
<child> <child>
<widget class="GtkButton" id="Demo"> <widget class="GtkHBox" id="hbox4">
<property name="border_width">5</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="homogeneous">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="spacing">4</property>
<property name="focus_on_click">True</property>
<child>
<widget class="GtkRadioButton" id="Left">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">(_Left</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="active">False</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkRadioButton" id="Both">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">()_Both</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="active">False</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
<property name="group">Left</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkRadioButton" id="Right">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">)_Right</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="active">False</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
<property name="group">Left</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkHBox" id="hbox5">
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">0</property>
<child>
<widget class="GtkButton" id="Demo">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<child>
<placeholder/>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">True</property>
<property name="fill">False</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkHBox" id="Box">
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">0</property>
<child> <child>
<placeholder/> <placeholder/>
@ -116,95 +199,14 @@
<packing> <packing>
<property name="padding">0</property> <property name="padding">0</property>
<property name="expand">True</property> <property name="expand">True</property>
<property name="fill">False</property> <property name="fill">True</property>
</packing> </packing>
</child> </child>
</widget> </widget>
<packing> <packing>
<property name="padding">0</property> <property name="padding">0</property>
<property name="expand">False</property> <property name="expand">True</property>
<property name="fill">False</property> <property name="fill">True</property>
</packing>
</child>
<child>
<widget class="GtkHBox" id="Box">
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">0</property>
<child>
<placeholder/>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkHBox" id="hbox1">
<property name="border_width">5</property>
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">0</property>
<child>
<widget class="GtkButton" id="OK">
<property name="visible">True</property>
<property name="can_default">True</property>
<property name="can_focus">True</property>
<property name="has_focus">True</property>
<property name="label">gtk-ok</property>
<property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">True</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkButton" id="Apply">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label">gtk-apply</property>
<property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">True</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkButton" id="Close">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label">gtk-close</property>
<property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">True</property>
<property name="fill">False</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing> </packing>
</child> </child>
</widget> </widget>

View File

@ -4,7 +4,6 @@
<glade-interface> <glade-interface>
<widget class="GtkDialog" id="dialog"> <widget class="GtkDialog" id="dialog">
<property name="border_width">6</property>
<property name="title" translatable="yes">Create Matrix</property> <property name="title" translatable="yes">Create Matrix</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property> <property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_NONE</property> <property name="window_position">GTK_WIN_POS_NONE</property>
@ -16,7 +15,7 @@
<property name="skip_pager_hint">False</property> <property name="skip_pager_hint">False</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property> <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property> <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<property name="has_separator">True</property> <property name="has_separator">False</property>
<child internal-child="vbox"> <child internal-child="vbox">
<widget class="GtkVBox" id="dialog-vbox1"> <widget class="GtkVBox" id="dialog-vbox1">
@ -124,6 +123,7 @@
<child> <child>
<widget class="GtkVBox" id="vbox2"> <widget class="GtkVBox" id="vbox2">
<property name="border_width">9</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">0</property> <property name="spacing">0</property>
@ -142,7 +142,7 @@
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xscale">1</property> <property name="xscale">1</property>
<property name="yscale">1</property> <property name="yscale">1</property>
<property name="top_padding">0</property> <property name="top_padding">6</property>
<property name="bottom_padding">0</property> <property name="bottom_padding">0</property>
<property name="left_padding">12</property> <property name="left_padding">12</property>
<property name="right_padding">0</property> <property name="right_padding">0</property>
@ -296,7 +296,7 @@
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xscale">1</property> <property name="xscale">1</property>
<property name="yscale">1</property> <property name="yscale">1</property>
<property name="top_padding">0</property> <property name="top_padding">6</property>
<property name="bottom_padding">0</property> <property name="bottom_padding">0</property>
<property name="left_padding">12</property> <property name="left_padding">12</property>
<property name="right_padding">0</property> <property name="right_padding">0</property>
@ -586,7 +586,7 @@
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xscale">1</property> <property name="xscale">1</property>
<property name="yscale">1</property> <property name="yscale">1</property>
<property name="top_padding">0</property> <property name="top_padding">6</property>
<property name="bottom_padding">0</property> <property name="bottom_padding">0</property>
<property name="left_padding">12</property> <property name="left_padding">12</property>
<property name="right_padding">0</property> <property name="right_padding">0</property>

View File

@ -66,7 +66,7 @@
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xscale">1</property> <property name="xscale">1</property>
<property name="yscale">1</property> <property name="yscale">1</property>
<property name="top_padding">0</property> <property name="top_padding">6</property>
<property name="bottom_padding">0</property> <property name="bottom_padding">0</property>
<property name="left_padding">12</property> <property name="left_padding">12</property>
<property name="right_padding">0</property> <property name="right_padding">0</property>

View File

@ -52,158 +52,202 @@
</child> </child>
<child> <child>
<widget class="GtkHBox" id="ControlBox"> <widget class="GtkVBox" id="ControlBox">
<property name="border_width">8</property> <property name="border_width">12</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">0</property> <property name="spacing">0</property>
<child> <child>
<widget class="GtkTable" id="table1"> <widget class="GtkLabel" id="label11">
<property name="visible">True</property> <property name="visible">True</property>
<property name="n_rows">4</property> <property name="label" translatable="yes">&lt;b&gt;Layout&lt;/b&gt;</property>
<property name="n_columns">2</property> <property name="use_underline">False</property>
<property name="homogeneous">False</property> <property name="use_markup">True</property>
<property name="row_spacing">5</property> <property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="column_spacing">4</property> <property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkAlignment" id="alignment6">
<property name="visible">True</property>
<property name="xalign">0.55</property>
<property name="yalign">0.5</property>
<property name="xscale">1</property>
<property name="yscale">1</property>
<property name="top_padding">6</property>
<property name="bottom_padding">12</property>
<property name="left_padding">12</property>
<property name="right_padding">0</property>
<child> <child>
<widget class="GtkLabel" id="MaxLabelWidthLabel"> <widget class="GtkVBox" id="vbox3">
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">_Max. label width: </property> <property name="homogeneous">False</property>
<property name="use_underline">True</property> <property name="spacing">3</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="mnemonic_widget">MaxLabelWidth</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child> <child>
<widget class="GtkEntry" id="MaxLabelWidth"> <widget class="GtkTable" id="table1">
<property name="visible">True</property> <property name="visible">True</property>
<property name="sensitive">False</property> <property name="n_rows">3</property>
<property name="can_focus">True</property> <property name="n_columns">2</property>
<property name="editable">True</property> <property name="homogeneous">False</property>
<property name="visibility">True</property> <property name="row_spacing">3</property>
<property name="max_length">0</property> <property name="column_spacing">6</property>
<property name="text" translatable="yes"></property>
<property name="has_frame">True</property>
<property name="invisible_char" translatable="yes">*</property>
<property name="activates_default">False</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
<property name="y_options"></property>
</packing>
</child>
<child> <child>
<widget class="GtkSpinButton" id="LineSpacing"> <widget class="GtkLabel" id="MaxLabelWidthLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="sensitive">False</property> <property name="label" translatable="yes">_Max. label width: </property>
<property name="can_focus">True</property> <property name="use_underline">True</property>
<property name="climb_rate">1</property> <property name="use_markup">False</property>
<property name="digits">2</property> <property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="numeric">True</property> <property name="wrap">False</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property> <property name="selectable">False</property>
<property name="snap_to_ticks">False</property> <property name="xalign">0</property>
<property name="wrap">False</property> <property name="yalign">0.5</property>
<property name="adjustment">1 0 20 0.1 10 10</property> <property name="xpad">0</property>
</widget> <property name="ypad">0</property>
<packing> <property name="mnemonic_widget">MaxLabelWidth</property>
<property name="left_attach">1</property> </widget>
<property name="right_attach">2</property> <packing>
<property name="top_attach">0</property> <property name="left_attach">0</property>
<property name="bottom_attach">1</property> <property name="right_attach">1</property>
<property name="y_options"></property> <property name="top_attach">2</property>
</packing> <property name="bottom_attach">3</property>
</child> <property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child> <child>
<widget class="GtkCheckButton" id="DefaultLineSpacing"> <widget class="GtkEntry" id="MaxLabelWidth">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="sensitive">False</property>
<property name="label" translatable="yes">Use _Default Line Spacing</property> <property name="can_focus">True</property>
<property name="use_underline">True</property> <property name="editable">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="visibility">True</property>
<property name="focus_on_click">True</property> <property name="max_length">0</property>
<property name="active">False</property> <property name="text" translatable="yes"></property>
<property name="inconsistent">False</property> <property name="has_frame">True</property>
<property name="draw_indicator">True</property> <property name="invisible_char" translatable="yes">*</property>
</widget> <property name="activates_default">False</property>
<packing> </widget>
<property name="left_attach">1</property> <packing>
<property name="right_attach">2</property> <property name="left_attach">1</property>
<property name="top_attach">1</property> <property name="right_attach">2</property>
<property name="bottom_attach">2</property> <property name="top_attach">2</property>
<property name="x_options">fill</property> <property name="bottom_attach">3</property>
<property name="y_options"></property> <property name="y_options"></property>
</packing> </packing>
</child> </child>
<child> <child>
<widget class="GtkLabel" id="label2"> <widget class="GtkSpinButton" id="LineSpacing">
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">Line _spacing:</property> <property name="sensitive">False</property>
<property name="use_underline">True</property> <property name="can_focus">True</property>
<property name="use_markup">False</property> <property name="climb_rate">1</property>
<property name="justify">GTK_JUSTIFY_LEFT</property> <property name="digits">2</property>
<property name="wrap">False</property> <property name="numeric">True</property>
<property name="selectable">False</property> <property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="xalign">0</property> <property name="snap_to_ticks">False</property>
<property name="yalign">0.5</property> <property name="wrap">False</property>
<property name="xpad">0</property> <property name="adjustment">1 0 20 0.1 10 10</property>
<property name="ypad">0</property> </widget>
<property name="mnemonic_widget">LineSpacing</property> <packing>
</widget> <property name="left_attach">1</property>
<packing> <property name="right_attach">2</property>
<property name="left_attach">0</property> <property name="top_attach">0</property>
<property name="right_attach">1</property> <property name="bottom_attach">1</property>
<property name="top_attach">0</property> <property name="y_options"></property>
<property name="bottom_attach">1</property> </packing>
<property name="x_options">fill</property> </child>
<property name="y_options"></property>
</packing>
</child>
<child> <child>
<widget class="GtkCheckButton" id="Indent"> <widget class="GtkLabel" id="label2">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="label" translatable="yes">Line _spacing:</property>
<property name="label" translatable="yes">_Indent Paragraph</property> <property name="use_underline">True</property>
<property name="use_underline">True</property> <property name="use_markup">False</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="focus_on_click">True</property> <property name="wrap">False</property>
<property name="active">False</property> <property name="selectable">False</property>
<property name="inconsistent">False</property> <property name="xalign">0</property>
<property name="draw_indicator">True</property> <property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="mnemonic_widget">LineSpacing</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">0</property>
<property name="bottom_attach">1</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkCheckButton" id="DefaultLineSpacing">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">Use _Default Line Spacing</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="active">False</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">True</property>
<property name="fill">True</property>
</packing>
</child>
<child>
<widget class="GtkCheckButton" id="Indent">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">_Indent this paragraph</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="active">False</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
</widget> </widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">3</property>
<property name="bottom_attach">4</property>
<property name="y_padding">4</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child> </child>
</widget> </widget>
<packing> <packing>
@ -214,26 +258,36 @@
</child> </child>
<child> <child>
<widget class="GtkVSeparator" id="vseparator1"> <widget class="GtkLabel" id="label10">
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">&lt;b&gt;Alignment&lt;/b&gt;</property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget> </widget>
<packing> <packing>
<property name="padding">8</property> <property name="padding">0</property>
<property name="expand">True</property> <property name="expand">False</property>
<property name="fill">True</property> <property name="fill">False</property>
</packing> </packing>
</child> </child>
<child> <child>
<widget class="GtkAlignment" id="alignment1"> <widget class="GtkAlignment" id="alignment4">
<property name="visible">True</property> <property name="visible">True</property>
<property name="xalign">0.5</property> <property name="xalign">0.5</property>
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xscale">1</property> <property name="xscale">1</property>
<property name="yscale">1</property> <property name="yscale">1</property>
<property name="top_padding">0</property> <property name="top_padding">6</property>
<property name="bottom_padding">0</property> <property name="bottom_padding">0</property>
<property name="left_padding">4</property> <property name="left_padding">12</property>
<property name="right_padding">0</property> <property name="right_padding">0</property>
<child> <child>
@ -242,27 +296,6 @@
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">0</property> <property name="spacing">0</property>
<child>
<widget class="GtkLabel" id="label10">
<property name="visible">True</property>
<property name="label" translatable="yes">&lt;b&gt;Align&lt;/b&gt;</property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
<packing>
<property name="padding">2</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child> <child>
<widget class="GtkRadioButton" id="AlignBlock"> <widget class="GtkRadioButton" id="AlignBlock">
<property name="visible">True</property> <property name="visible">True</property>

View File

@ -15,7 +15,7 @@
<property name="skip_pager_hint">False</property> <property name="skip_pager_hint">False</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property> <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property> <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<property name="has_separator">True</property> <property name="has_separator">False</property>
<child internal-child="vbox"> <child internal-child="vbox">
<widget class="GtkVBox" id="dialog-vbox2"> <widget class="GtkVBox" id="dialog-vbox2">
@ -187,10 +187,68 @@
<widget class="GtkButton" id="Browse"> <widget class="GtkButton" id="Browse">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="label" translatable="yes">_Browse...</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property> <property name="focus_on_click">True</property>
<child>
<widget class="GtkAlignment" id="alignment1">
<property name="visible">True</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xscale">0</property>
<property name="yscale">0</property>
<property name="top_padding">0</property>
<property name="bottom_padding">0</property>
<property name="left_padding">0</property>
<property name="right_padding">0</property>
<child>
<widget class="GtkHBox" id="hbox5">
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">2</property>
<child>
<widget class="GtkImage" id="image1">
<property name="visible">True</property>
<property name="stock">gtk-save-as</property>
<property name="icon_size">4</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label7">
<property name="visible">True</property>
<property name="label" translatable="yes">_Browse...</property>
<property name="use_underline">True</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
</widget>
</child>
</widget>
</child>
</widget> </widget>
<packing> <packing>
<property name="left_attach">2</property> <property name="left_attach">2</property>
@ -521,7 +579,7 @@
<property name="n_columns">2</property> <property name="n_columns">2</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="row_spacing">0</property> <property name="row_spacing">0</property>
<property name="column_spacing">0</property> <property name="column_spacing">6</property>
<child> <child>
<widget class="GtkSpinButton" id="Number"> <widget class="GtkSpinButton" id="Number">

View File

@ -3,13 +3,11 @@
<glade-interface> <glade-interface>
<widget class="GtkWindow" id="dialog"> <widget class="GtkDialog" id="dialog">
<property name="visible">True</property> <property name="title" translatable="yes">dialog1</property>
<property name="title" translatable="yes">Find and Replace</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property> <property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_NONE</property> <property name="window_position">GTK_WIN_POS_NONE</property>
<property name="modal">False</property> <property name="modal">False</property>
<property name="default_width">450</property>
<property name="resizable">False</property> <property name="resizable">False</property>
<property name="destroy_with_parent">False</property> <property name="destroy_with_parent">False</property>
<property name="decorated">True</property> <property name="decorated">True</property>
@ -17,276 +15,355 @@
<property name="skip_pager_hint">False</property> <property name="skip_pager_hint">False</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property> <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property> <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<property name="has_separator">False</property>
<child> <child internal-child="vbox">
<widget class="GtkTable" id="table1"> <widget class="GtkVBox" id="dialog-vbox1">
<property name="border_width">5</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="n_rows">4</property>
<property name="n_columns">3</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="row_spacing">2</property> <property name="spacing">0</property>
<property name="column_spacing">4</property>
<child> <child internal-child="action_area">
<widget class="GtkLabel" id="label1"> <widget class="GtkHButtonBox" id="dialog-action_area1">
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">Find what:</property> <property name="layout_style">GTK_BUTTONBOX_END</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property> <child>
<property name="justify">GTK_JUSTIFY_RIGHT</property> <widget class="GtkButton" id="Cancel">
<property name="wrap">False</property> <property name="visible">True</property>
<property name="selectable">False</property> <property name="can_default">True</property>
<property name="xalign">0</property> <property name="can_focus">True</property>
<property name="yalign">0.5</property> <property name="label">gtk-close</property>
<property name="xpad">0</property> <property name="use_stock">True</property>
<property name="ypad">0</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="response_id">0</property>
<accelerator key="Escape" modifiers="0" signal="clicked"/>
</widget>
</child>
<child>
<widget class="GtkButton" id="ReplaceAll">
<property name="visible">True</property>
<property name="can_default">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">Repl_ace All</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="response_id">0</property>
</widget>
</child>
<child>
<widget class="GtkButton" id="Replace">
<property name="visible">True</property>
<property name="can_default">True</property>
<property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="response_id">0</property>
<child>
<widget class="GtkAlignment" id="alignment6">
<property name="visible">True</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xscale">0</property>
<property name="yscale">0</property>
<property name="top_padding">0</property>
<property name="bottom_padding">0</property>
<property name="left_padding">0</property>
<property name="right_padding">0</property>
<child>
<widget class="GtkHBox" id="hbox7">
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">2</property>
<child>
<widget class="GtkImage" id="image4">
<property name="visible">True</property>
<property name="stock">gtk-find-and-replace</property>
<property name="icon_size">4</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label8">
<property name="visible">True</property>
<property name="label" translatable="yes">_Replace</property>
<property name="use_underline">True</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
</widget>
</child>
</widget>
</child>
</widget>
</child>
<child>
<widget class="GtkButton" id="FindNext">
<property name="visible">True</property>
<property name="can_default">True</property>
<property name="has_default">True</property>
<property name="can_focus">True</property>
<property name="label">gtk-find</property>
<property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="response_id">0</property>
</widget>
</child>
</widget> </widget>
<packing> <packing>
<property name="left_attach">0</property> <property name="padding">0</property>
<property name="right_attach">1</property> <property name="expand">False</property>
<property name="top_attach">0</property> <property name="fill">True</property>
<property name="bottom_attach">1</property> <property name="pack_type">GTK_PACK_END</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing> </packing>
</child> </child>
<child> <child>
<widget class="GtkLabel" id="label2"> <widget class="GtkHBox" id="hbox5">
<property name="visible">True</property> <property name="border_width">6</property>
<property name="label" translatable="yes">Replace with:</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkEntry" id="FindEntry">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="has_focus">True</property>
<property name="editable">True</property>
<property name="visibility">True</property>
<property name="max_length">0</property>
<property name="text" translatable="yes"></property>
<property name="has_frame">True</property>
<property name="invisible_char" translatable="yes">*</property>
<property name="activates_default">True</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">0</property>
<property name="bottom_attach">1</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkEntry" id="ReplaceEntry">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="editable">True</property>
<property name="visibility">True</property>
<property name="max_length">0</property>
<property name="text" translatable="yes"></property>
<property name="has_frame">True</property>
<property name="invisible_char" translatable="yes">*</property>
<property name="activates_default">False</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkButton" id="FindNext">
<property name="visible">True</property>
<property name="sensitive">False</property>
<property name="can_default">True</property>
<property name="has_default">True</property>
<property name="can_focus">True</property>
<property name="label">gtk-find</property>
<property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
</widget>
<packing>
<property name="left_attach">2</property>
<property name="right_attach">3</property>
<property name="top_attach">0</property>
<property name="bottom_attach">1</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkButton" id="Replace">
<property name="visible">True</property>
<property name="sensitive">False</property>
<property name="can_focus">True</property>
<property name="label">gtk-find-and-replace</property>
<property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
</widget>
<packing>
<property name="left_attach">2</property>
<property name="right_attach">3</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkButton" id="Cancel">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label">gtk-close</property>
<property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<accelerator key="Escape" modifiers="0" signal="clicked"/>
</widget>
<packing>
<property name="left_attach">2</property>
<property name="right_attach">3</property>
<property name="top_attach">3</property>
<property name="bottom_attach">4</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkHBox" id="hbox1">
<property name="visible">True</property> <property name="visible">True</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">0</property> <property name="spacing">0</property>
<child> <child>
<widget class="GtkCheckButton" id="CaseSensitive"> <widget class="GtkVBox" id="vbox3">
<property name="border_width">6</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="homogeneous">False</property>
<property name="label" translatable="yes">Case s_ensitive</property> <property name="spacing">0</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="active">False</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child> <child>
<widget class="GtkCheckButton" id="MatchWord"> <widget class="GtkTable" id="table2">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="n_rows">2</property>
<property name="label" translatable="yes">_Match word</property> <property name="n_columns">2</property>
<property name="use_underline">True</property> <property name="homogeneous">False</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="row_spacing">6</property>
<property name="focus_on_click">True</property> <property name="column_spacing">6</property>
<property name="active">False</property>
<property name="inconsistent">False</property> <child>
<property name="draw_indicator">True</property> <widget class="GtkLabel" id="label5">
<property name="visible">True</property>
<property name="label" translatable="yes">Find what:</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">0</property>
<property name="bottom_attach">1</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label6">
<property name="visible">True</property>
<property name="label" translatable="yes">Replace with:</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkEntry" id="FindEntry">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="has_focus">True</property>
<property name="editable">True</property>
<property name="visibility">True</property>
<property name="max_length">0</property>
<property name="text" translatable="yes"></property>
<property name="has_frame">True</property>
<property name="invisible_char" translatable="yes">*</property>
<property name="activates_default">True</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">0</property>
<property name="bottom_attach">1</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkEntry" id="ReplaceEntry">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="editable">True</property>
<property name="visibility">True</property>
<property name="max_length">0</property>
<property name="text" translatable="yes"></property>
<property name="has_frame">True</property>
<property name="invisible_char" translatable="yes">*</property>
<property name="activates_default">False</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="y_options"></property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">True</property>
</packing>
</child>
<child>
<widget class="GtkAlignment" id="alignment4">
<property name="visible">True</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xscale">1</property>
<property name="yscale">1</property>
<property name="top_padding">6</property>
<property name="bottom_padding">0</property>
<property name="left_padding">0</property>
<property name="right_padding">0</property>
<child>
<widget class="GtkVBox" id="vbox4">
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">0</property>
<child>
<widget class="GtkCheckButton" id="CaseSensitive">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">Case s_ensitive</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="active">False</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkCheckButton" id="SearchBackwards">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">_Search backwards</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="active">False</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkCheckButton" id="MatchWord">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">_Match word</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="active">False</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">True</property>
<property name="fill">True</property>
</packing>
</child>
</widget> </widget>
<packing> <packing>
<property name="padding">0</property> <property name="padding">0</property>
<property name="expand">False</property> <property name="expand">True</property>
<property name="fill">False</property> <property name="fill">True</property>
</packing> </packing>
</child> </child>
</widget> </widget>
<packing> <packing>
<property name="left_attach">0</property> <property name="padding">0</property>
<property name="right_attach">2</property> <property name="expand">True</property>
<property name="top_attach">2</property> <property name="fill">True</property>
<property name="bottom_attach">3</property>
<property name="x_options">fill</property>
<property name="y_options">fill</property>
</packing>
</child>
<child>
<widget class="GtkHBox" id="hbox2">
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">0</property>
<child>
<widget class="GtkCheckButton" id="SearchBackwards">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">_Search backwards</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="active">False</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">2</property>
<property name="top_attach">3</property>
<property name="bottom_attach">4</property>
<property name="x_options">fill</property>
<property name="y_options">fill</property>
</packing>
</child>
<child>
<widget class="GtkButton" id="ReplaceAll">
<property name="visible">True</property>
<property name="sensitive">False</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">Repl_ace all</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
</widget>
<packing>
<property name="left_attach">2</property>
<property name="right_attach">3</property>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing> </packing>
</child> </child>
</widget> </widget>

View File

@ -4,7 +4,6 @@
<glade-interface> <glade-interface>
<widget class="GtkDialog" id="dialog"> <widget class="GtkDialog" id="dialog">
<property name="border_width">6</property>
<property name="title" translatable="yes">You shouldn't see this</property> <property name="title" translatable="yes">You shouldn't see this</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property> <property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_NONE</property> <property name="window_position">GTK_WIN_POS_NONE</property>
@ -54,6 +53,7 @@
<child> <child>
<widget class="GtkScrolledWindow" id="scrolledwindow1"> <widget class="GtkScrolledWindow" id="scrolledwindow1">
<property name="border_width">9</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property> <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>

View File

@ -15,7 +15,7 @@
<property name="skip_pager_hint">False</property> <property name="skip_pager_hint">False</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property> <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property> <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<property name="has_separator">True</property> <property name="has_separator">False</property>
<child internal-child="vbox"> <child internal-child="vbox">
<widget class="GtkVBox" id="dialog-vbox1"> <widget class="GtkVBox" id="dialog-vbox1">
@ -80,7 +80,7 @@
<child> <child>
<widget class="GtkTable" id="table1"> <widget class="GtkTable" id="table1">
<property name="border_width">5</property> <property name="border_width">12</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="n_rows">2</property> <property name="n_rows">2</property>
<property name="n_columns">2</property> <property name="n_columns">2</property>

View File

@ -15,7 +15,7 @@
<property name="skip_pager_hint">False</property> <property name="skip_pager_hint">False</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property> <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property> <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<property name="has_separator">True</property> <property name="has_separator">False</property>
<child internal-child="vbox"> <child internal-child="vbox">
<widget class="GtkVBox" id="dialog-vbox1"> <widget class="GtkVBox" id="dialog-vbox1">
@ -150,10 +150,10 @@
<child> <child>
<widget class="GtkHBox" id="hbox2"> <widget class="GtkHBox" id="hbox2">
<property name="border_width">5</property> <property name="border_width">12</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">5</property> <property name="spacing">6</property>
<child> <child>
<widget class="GtkLabel" id="Label"> <widget class="GtkLabel" id="Label">

View File

@ -77,7 +77,7 @@
<widget class="GtkHBox" id="hbox1"> <widget class="GtkHBox" id="hbox1">
<property name="visible">True</property> <property name="visible">True</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">0</property> <property name="spacing">6</property>
<child> <child>
<widget class="GtkLabel" id="label2"> <widget class="GtkLabel" id="label2">

View File

@ -15,7 +15,7 @@
<property name="skip_pager_hint">False</property> <property name="skip_pager_hint">False</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property> <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property> <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<property name="has_separator">True</property> <property name="has_separator">False</property>
<child internal-child="vbox"> <child internal-child="vbox">
<widget class="GtkVBox" id="dialog-vbox1"> <widget class="GtkVBox" id="dialog-vbox1">
@ -150,13 +150,13 @@
<child> <child>
<widget class="GtkTable" id="table1"> <widget class="GtkTable" id="table1">
<property name="border_width">5</property> <property name="border_width">12</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="n_rows">3</property> <property name="n_rows">3</property>
<property name="n_columns">2</property> <property name="n_columns">2</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="row_spacing">5</property> <property name="row_spacing">6</property>
<property name="column_spacing">5</property> <property name="column_spacing">6</property>
<child> <child>
<widget class="GtkCheckButton" id="Html"> <widget class="GtkCheckButton" id="Html">

View File

@ -202,19 +202,19 @@ Custom</property>
<widget class="GtkHBox" id="hbox1"> <widget class="GtkHBox" id="hbox1">
<property name="visible">True</property> <property name="visible">True</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">0</property> <property name="spacing">6</property>
<child> <child>
<widget class="GtkSpinButton" id="Value"> <widget class="GtkSpinButton" id="Value">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="climb_rate">1</property> <property name="climb_rate">1</property>
<property name="digits">0</property> <property name="digits">2</property>
<property name="numeric">False</property> <property name="numeric">False</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property> <property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property> <property name="snap_to_ticks">False</property>
<property name="wrap">False</property> <property name="wrap">False</property>
<property name="adjustment">1 0 10000 1 10 10</property> <property name="adjustment">1 0 65536 1 10 10</property>
</widget> </widget>
<packing> <packing>
<property name="padding">0</property> <property name="padding">0</property>