diff --git a/src/frontends/gtk/ChangeLog b/src/frontends/gtk/ChangeLog index 3fbfbb1287..27a58aab02 100644 --- a/src/frontends/gtk/ChangeLog +++ b/src/frontends/gtk/ChangeLog @@ -1,5 +1,10 @@ 2004-12-07 John Spray + * 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: Dialogs.C, Makefile.am, GInclude.[Ch], glade/include.glade diff --git a/src/frontends/gtk/GParagraph.C b/src/frontends/gtk/GParagraph.C index 38a8564681..18cbd44774 100644 --- a/src/frontends/gtk/GParagraph.C +++ b/src/frontends/gtk/GParagraph.C @@ -61,7 +61,7 @@ void GParagraph::doBuild() setCancel(button); // Make the main hbox sensitive to readonly - Gtk::HBox * controlbox; + Gtk::Widget * controlbox; xml_->get_widget("ControlBox", controlbox); bcview().addReadOnly(controlbox); diff --git a/src/frontends/gtk/GSearch.C b/src/frontends/gtk/GSearch.C index c966ede402..cc76ccbe92 100644 --- a/src/frontends/gtk/GSearch.C +++ b/src/frontends/gtk/GSearch.C @@ -70,6 +70,7 @@ void GSearch::doBuild() void GSearch::update() { bc().refreshReadOnly(); + findentry->grab_focus(); onFindEntryChanged(); } diff --git a/src/frontends/gtk/glade/ERT.glade b/src/frontends/gtk/glade/ERT.glade index a9d06524a4..8040dbcf66 100644 --- a/src/frontends/gtk/glade/ERT.glade +++ b/src/frontends/gtk/glade/ERT.glade @@ -66,7 +66,7 @@ 0.5 1 1 - 0 + 6 0 12 0 diff --git a/src/frontends/gtk/glade/box.glade b/src/frontends/gtk/glade/box.glade index ec0304d9c7..2551dc8903 100644 --- a/src/frontends/gtk/glade/box.glade +++ b/src/frontends/gtk/glade/box.glade @@ -310,12 +310,12 @@ True True 1 - 0 + 2 False GTK_UPDATE_ALWAYS False False - 666 0 10000 1 10 10 + 666 0 65536 1 10 10 1 @@ -332,12 +332,12 @@ True True 1 - 0 + 2 False GTK_UPDATE_ALWAYS False False - 666 0 10000 1 10 10 + 666 0 65536 1 10 10 1 diff --git a/src/frontends/gtk/glade/character.glade b/src/frontends/gtk/glade/character.glade index 4848209fef..a213fc71a8 100644 --- a/src/frontends/gtk/glade/character.glade +++ b/src/frontends/gtk/glade/character.glade @@ -79,13 +79,13 @@ + 6 True False 0 - 3 True 0 0.5 @@ -110,7 +110,7 @@ 2 False 4 - 0 + 6 @@ -404,7 +404,7 @@ True False - 0 + 6 @@ -493,7 +493,7 @@ True False - 0 + 6 diff --git a/src/frontends/gtk/glade/float.glade b/src/frontends/gtk/glade/float.glade index f291c08130..73701d7094 100644 --- a/src/frontends/gtk/glade/float.glade +++ b/src/frontends/gtk/glade/float.glade @@ -86,7 +86,7 @@ 0.5 1 1 - 0 + 6 0 12 0 @@ -320,7 +320,7 @@ 0.5 1 1 - 0 + 6 0 12 0 diff --git a/src/frontends/gtk/glade/graphics.glade b/src/frontends/gtk/glade/graphics.glade index 2acc603e6d..679cea91a4 100644 --- a/src/frontends/gtk/glade/graphics.glade +++ b/src/frontends/gtk/glade/graphics.glade @@ -474,7 +474,7 @@ True True 1 - 0 + 2 True GTK_UPDATE_ALWAYS False @@ -616,7 +616,7 @@ Do not display False True 1 - 0 + 2 True GTK_UPDATE_ALWAYS False @@ -707,7 +707,7 @@ Do not display True True 1 - 0 + 2 True GTK_UPDATE_ALWAYS False @@ -773,30 +773,6 @@ Do not display - - - True - % - False - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - - - 3 - 4 - 0 - 1 - fill - - - - True @@ -869,7 +845,7 @@ Do not display False True 1 - 0 + 2 True GTK_UPDATE_ALWAYS False @@ -884,6 +860,30 @@ Do not display + + + + True + % + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + 3 + 4 + 0 + 1 + fill + + + @@ -1063,7 +1063,7 @@ Do not display True True 1 - 0 + 2 True GTK_UPDATE_ALWAYS False @@ -1084,7 +1084,7 @@ Do not display True True 1 - 0 + 2 True GTK_UPDATE_ALWAYS False @@ -1105,7 +1105,7 @@ Do not display True True 1 - 0 + 2 True GTK_UPDATE_ALWAYS False @@ -1126,7 +1126,7 @@ Do not display True True 1 - 0 + 2 True GTK_UPDATE_ALWAYS False @@ -1411,7 +1411,7 @@ Do not display True True 1 - 0 + 2 True GTK_UPDATE_ALWAYS False diff --git a/src/frontends/gtk/glade/log.glade b/src/frontends/gtk/glade/log.glade index dcb952523c..5604e1f5b9 100644 --- a/src/frontends/gtk/glade/log.glade +++ b/src/frontends/gtk/glade/log.glade @@ -4,7 +4,6 @@ - 6 You shouldn't see this GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE @@ -67,6 +66,7 @@ + 9 True True GTK_POLICY_AUTOMATIC diff --git a/src/frontends/gtk/glade/mathDelim.glade b/src/frontends/gtk/glade/mathDelim.glade index bbf85cf53e..6eab6701c4 100644 --- a/src/frontends/gtk/glade/mathDelim.glade +++ b/src/frontends/gtk/glade/mathDelim.glade @@ -3,111 +3,194 @@ - - 5 - LyX: Math Delimiters + + dialog1 GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False - True + False False True False False - GDK_WINDOW_TYPE_HINT_NORMAL + GDK_WINDOW_TYPE_HINT_DIALOG GDK_GRAVITY_NORTH_WEST + False - - + + True False - 5 + 0 - - - 5 + + True - True - 4 + GTK_BUTTONBOX_END - + True + True True - (_Left - True + gtk-close + True GTK_RELIEF_NORMAL True - False - False - True + -7 - - 0 - False - False - - + True + True True - ()_Both - True + gtk-apply + True GTK_RELIEF_NORMAL True - False - False - True - Left + -10 - - 0 - False - False - - + True + True True - )_Right - True + gtk-ok + True GTK_RELIEF_NORMAL True - False - False - True - Left + -5 - - 0 - False - False - 0 False - False + True + GTK_PACK_END - + + 6 True False - 0 + 5 - + + 5 True - True - GTK_RELIEF_NORMAL - True + True + 4 + + + + True + True + (_Left + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + ()_Both + True + GTK_RELIEF_NORMAL + True + False + False + True + Left + + + 0 + False + False + + + + + + True + True + )_Right + True + GTK_RELIEF_NORMAL + True + False + False + True + Left + + + 0 + False + False + + + + + 0 + False + False + + + + + + True + False + 0 + + + + True + True + GTK_RELIEF_NORMAL + True + + + + + + + 0 + True + False + + + + + 0 + False + False + + + + + + True + False + 0 @@ -116,95 +199,14 @@ 0 True - False + True 0 - False - False - - - - - - True - False - 0 - - - - - - - 0 - False - False - - - - - - 5 - True - False - 0 - - - - True - True - True - True - gtk-ok - True - GTK_RELIEF_NORMAL - True - - - 0 - True - False - - - - - - True - True - gtk-apply - True - GTK_RELIEF_NORMAL - True - - - 0 - True - False - - - - - - True - True - gtk-close - True - GTK_RELIEF_NORMAL - True - - - 0 - True - False - - - - - 0 - False - False + True + True diff --git a/src/frontends/gtk/glade/mathMatrix.glade b/src/frontends/gtk/glade/mathMatrix.glade index a96fe82e11..91bc24a836 100644 --- a/src/frontends/gtk/glade/mathMatrix.glade +++ b/src/frontends/gtk/glade/mathMatrix.glade @@ -4,7 +4,6 @@ - 6 Create Matrix GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE @@ -16,7 +15,7 @@ False GDK_WINDOW_TYPE_HINT_DIALOG GDK_GRAVITY_NORTH_WEST - True + False @@ -124,6 +123,7 @@ + 9 True False 0 @@ -142,7 +142,7 @@ 0.5 1 1 - 0 + 6 0 12 0 @@ -296,7 +296,7 @@ 0.5 1 1 - 0 + 6 0 12 0 @@ -586,7 +586,7 @@ 0.5 1 1 - 0 + 6 0 12 0 diff --git a/src/frontends/gtk/glade/note.glade b/src/frontends/gtk/glade/note.glade index bd1cc5d16c..72d63828e6 100644 --- a/src/frontends/gtk/glade/note.glade +++ b/src/frontends/gtk/glade/note.glade @@ -66,7 +66,7 @@ 0.5 1 1 - 0 + 6 0 12 0 diff --git a/src/frontends/gtk/glade/paragraph.glade b/src/frontends/gtk/glade/paragraph.glade index e5e6585a06..e28c621000 100644 --- a/src/frontends/gtk/glade/paragraph.glade +++ b/src/frontends/gtk/glade/paragraph.glade @@ -52,158 +52,202 @@ - - 8 + + 12 True False 0 - + True - 4 - 2 - False - 5 - 4 + <b>Layout</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + True + 0.55 + 0.5 + 1 + 1 + 6 + 12 + 12 + 0 - + True - _Max. label width: - True - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - MaxLabelWidth - - - 0 - 1 - 2 - 3 - fill - - - + False + 3 - - - True - False - True - True - True - 0 - - True - * - False - - - 1 - 2 - 2 - 3 - - - + + + True + 3 + 2 + False + 3 + 6 - - - True - False - True - 1 - 2 - True - GTK_UPDATE_ALWAYS - False - False - 1 0 20 0.1 10 10 - - - 1 - 2 - 0 - 1 - - - + + + True + _Max. label width: + True + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + MaxLabelWidth + + + 0 + 1 + 2 + 3 + fill + + + - - - True - True - Use _Default Line Spacing - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 1 - 2 - 1 - 2 - fill - - - + + + True + False + True + True + True + 0 + + True + * + False + + + 1 + 2 + 2 + 3 + + + - - - True - Line _spacing: - True - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - LineSpacing - - - 0 - 1 - 0 - 1 - fill - - - + + + True + False + True + 1 + 2 + True + GTK_UPDATE_ALWAYS + False + False + 1 0 20 0.1 10 10 + + + 1 + 2 + 0 + 1 + + + - - - True - True - _Indent Paragraph - True - GTK_RELIEF_NORMAL - True - False - False - True + + + True + Line _spacing: + True + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + LineSpacing + + + 0 + 1 + 0 + 1 + fill + + + + + + + True + True + Use _Default Line Spacing + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 1 + 2 + 1 + 2 + fill + + + + + + 0 + True + True + + + + + + True + True + _Indent this paragraph + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + - - 0 - 1 - 3 - 4 - 4 - fill - - @@ -214,26 +258,36 @@ - + True + <b>Alignment</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 - 8 - True - True + 0 + False + False - + True 0.5 0.5 1 1 - 0 + 6 0 - 4 + 12 0 @@ -242,27 +296,6 @@ False 0 - - - True - <b>Align</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - - - 2 - False - False - - - True diff --git a/src/frontends/gtk/glade/print.glade b/src/frontends/gtk/glade/print.glade index 39514f6f9a..2735cf97d2 100644 --- a/src/frontends/gtk/glade/print.glade +++ b/src/frontends/gtk/glade/print.glade @@ -15,7 +15,7 @@ False GDK_WINDOW_TYPE_HINT_DIALOG GDK_GRAVITY_NORTH_WEST - True + False @@ -187,10 +187,68 @@ True True - _Browse... - True GTK_RELIEF_NORMAL True + + + + True + 0.5 + 0.5 + 0 + 0 + 0 + 0 + 0 + 0 + + + + True + False + 2 + + + + True + gtk-save-as + 4 + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + True + _Browse... + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + 2 @@ -521,7 +579,7 @@ 2 False 0 - 0 + 6 diff --git a/src/frontends/gtk/glade/search.glade b/src/frontends/gtk/glade/search.glade index d051697a9b..fdda669971 100644 --- a/src/frontends/gtk/glade/search.glade +++ b/src/frontends/gtk/glade/search.glade @@ -3,13 +3,11 @@ - - True - Find and Replace + + dialog1 GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False - 450 False False True @@ -17,276 +15,355 @@ False GDK_WINDOW_TYPE_HINT_DIALOG GDK_GRAVITY_NORTH_WEST + False - - - 5 + + True - 4 - 3 False - 2 - 4 + 0 - - + + True - Find what: - False - False - GTK_JUSTIFY_RIGHT - False - False - 0 - 0.5 - 0 - 0 + GTK_BUTTONBOX_END + + + + True + True + True + gtk-close + True + GTK_RELIEF_NORMAL + True + 0 + + + + + + + True + True + True + Repl_ace All + True + GTK_RELIEF_NORMAL + True + 0 + + + + + + True + True + True + GTK_RELIEF_NORMAL + True + 0 + + + + True + 0.5 + 0.5 + 0 + 0 + 0 + 0 + 0 + 0 + + + + True + False + 2 + + + + True + gtk-find-and-replace + 4 + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + True + _Replace + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + + + + + + + True + True + True + True + gtk-find + True + GTK_RELIEF_NORMAL + True + 0 + + - 0 - 1 - 0 - 1 - fill - + 0 + False + True + GTK_PACK_END - - True - Replace with: - False - False - GTK_JUSTIFY_RIGHT - False - False - 0 - 0.5 - 0 - 0 - - - 0 - 1 - 1 - 2 - fill - - - - - - - True - True - True - True - True - 0 - - True - * - True - - - 1 - 2 - 0 - 1 - - - - - - - True - True - True - True - 0 - - True - * - False - - - 1 - 2 - 1 - 2 - - - - - - - True - False - True - True - True - gtk-find - True - GTK_RELIEF_NORMAL - True - - - 2 - 3 - 0 - 1 - fill - - - - - - - True - False - True - gtk-find-and-replace - True - GTK_RELIEF_NORMAL - True - - - 2 - 3 - 1 - 2 - fill - - - - - - - True - True - gtk-close - True - GTK_RELIEF_NORMAL - True - - - - 2 - 3 - 3 - 4 - fill - - - - - - + + 6 True False 0 - + + 6 True - True - Case s_ensitive - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - + False + 0 - - - True - True - _Match word - True - GTK_RELIEF_NORMAL - True - False - False - True + + + True + 2 + 2 + False + 6 + 6 + + + + True + Find what: + False + False + GTK_JUSTIFY_RIGHT + False + False + 0 + 0.5 + 0 + 0 + + + 0 + 1 + 0 + 1 + fill + + + + + + + True + Replace with: + False + False + GTK_JUSTIFY_RIGHT + False + False + 0 + 0.5 + 0 + 0 + + + 0 + 1 + 1 + 2 + fill + + + + + + + True + True + True + True + True + 0 + + True + * + True + + + 1 + 2 + 0 + 1 + + + + + + + True + True + True + True + 0 + + True + * + False + + + 1 + 2 + 1 + 2 + + + + + + 0 + False + True + + + + + + True + 0.5 + 0.5 + 1 + 1 + 6 + 0 + 0 + 0 + + + + True + False + 0 + + + + True + True + Case s_ensitive + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + _Search backwards + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + _Match word + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + + 0 + True + True + + 0 - False - False + True + True - 0 - 2 - 2 - 3 - fill - fill - - - - - - True - False - 0 - - - - True - True - _Search backwards - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - 0 - 2 - 3 - 4 - fill - fill - - - - - - True - False - True - Repl_ace all - True - GTK_RELIEF_NORMAL - True - - - 2 - 3 - 2 - 3 - fill - + 0 + True + True diff --git a/src/frontends/gtk/glade/showfile.glade b/src/frontends/gtk/glade/showfile.glade index 73c08c1fd5..a6f9ae5be4 100644 --- a/src/frontends/gtk/glade/showfile.glade +++ b/src/frontends/gtk/glade/showfile.glade @@ -4,7 +4,6 @@ - 6 You shouldn't see this GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE @@ -54,6 +53,7 @@ + 9 True True GTK_POLICY_AUTOMATIC diff --git a/src/frontends/gtk/glade/tableCreate.glade b/src/frontends/gtk/glade/tableCreate.glade index 0ba6392946..70a13e14c3 100644 --- a/src/frontends/gtk/glade/tableCreate.glade +++ b/src/frontends/gtk/glade/tableCreate.glade @@ -15,7 +15,7 @@ False GDK_WINDOW_TYPE_HINT_DIALOG GDK_GRAVITY_NORTH_WEST - True + False @@ -80,7 +80,7 @@ - 5 + 12 True 2 2 diff --git a/src/frontends/gtk/glade/text.glade b/src/frontends/gtk/glade/text.glade index ba67e520c6..9f35120b0f 100644 --- a/src/frontends/gtk/glade/text.glade +++ b/src/frontends/gtk/glade/text.glade @@ -15,7 +15,7 @@ False GDK_WINDOW_TYPE_HINT_DIALOG GDK_GRAVITY_NORTH_WEST - True + False @@ -150,10 +150,10 @@ - 5 + 12 True False - 5 + 6 diff --git a/src/frontends/gtk/glade/toc.glade b/src/frontends/gtk/glade/toc.glade index c1057c57d8..b4473c5258 100644 --- a/src/frontends/gtk/glade/toc.glade +++ b/src/frontends/gtk/glade/toc.glade @@ -77,7 +77,7 @@ True False - 0 + 6 diff --git a/src/frontends/gtk/glade/url.glade b/src/frontends/gtk/glade/url.glade index 5d3d543fdb..bc0c36da93 100644 --- a/src/frontends/gtk/glade/url.glade +++ b/src/frontends/gtk/glade/url.glade @@ -15,7 +15,7 @@ False GDK_WINDOW_TYPE_HINT_DIALOG GDK_GRAVITY_NORTH_WEST - True + False @@ -150,13 +150,13 @@ - 5 + 12 True 3 2 False - 5 - 5 + 6 + 6 diff --git a/src/frontends/gtk/glade/vspace.glade b/src/frontends/gtk/glade/vspace.glade index e583b56949..e2bb818b03 100644 --- a/src/frontends/gtk/glade/vspace.glade +++ b/src/frontends/gtk/glade/vspace.glade @@ -202,19 +202,19 @@ Custom True False - 0 + 6 True True 1 - 0 + 2 False GTK_UPDATE_ALWAYS False False - 1 0 10000 1 10 10 + 1 0 65536 1 10 10 0