[gnumeric] fix rotation in cells and make search dialog compatible with new GtkBuilder.



commit b50ec0261a233790ac828358c965b1655a0e144d
Author: Jean Brefort <jean brefort normalesup org>
Date:   Wed Aug 26 11:35:33 2009 +0200

    fix rotation in cells and make search dialog compatible with new GtkBuilder.

 ChangeLog                     |    4 +
 po/ChangeLog                  |    6 +
 po/fr.po                      |    6 +-
 src/cell-draw.c               |    2 +-
 src/dialogs/ChangeLog         |    8 +
 src/dialogs/Makefile.am       |    7 +-
 src/dialogs/cell-format.glade |    2 +-
 src/dialogs/dialog-search.c   |   47 ++--
 src/dialogs/search.glade      |  769 -----------------------------------------
 src/dialogs/search.ui         |  707 +++++++++++++++++++++++++++++++++++++
 10 files changed, 758 insertions(+), 800 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index c033c62..9c02265 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-08-26  Jean Brefort  <jean brefort normalesup org>
+
+	* src/cell-draw.c (cell_draw): fixed text rotation in cells. [#593114]
+
 2009-08-25  Jean Brefort  <jean brefort normalesup org>
 
 	* src/cell-draw.c: use GocCanvas ibstead of FooCanvas
diff --git a/po/ChangeLog b/po/ChangeLog
index 52007f2..22bb5fd 100644
--- a/po/ChangeLog
+++ b/po/ChangeLog
@@ -1,3 +1,9 @@
+2009-08-26  Jean Brefort  <jean brefort normalesup org>
+
+	reviewed by: <delete if not using a buddy>
+
+	* fr.po:
+
 2009-08-15  Morten Welinder <terra gnome org>
 
 	* Release 1.9.10
diff --git a/po/fr.po b/po/fr.po
index 62fa1a5..108b8f9 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -13342,18 +13342,16 @@ msgid "Edit the selected cell's comment"
 msgstr "�dite le commentaire de la cellule sélectionnée"
 
 #: ../src/wbc-gtk-actions.c:1921
-#, fuzzy
 msgid "S_earch..."
-msgstr "Rechercher"
+msgstr "Rec_hercher..."
 
 #: ../src/wbc-gtk-actions.c:1922
 msgid "Search for something"
 msgstr "Recherche un texte"
 
 #: ../src/wbc-gtk-actions.c:1924
-#, fuzzy
 msgid "Search _& Replace..."
-msgstr "Rechercher et remplacer"
+msgstr "Rechercher et re_mplacer"
 
 #: ../src/wbc-gtk-actions.c:1925
 msgid "Search for something and replace it with something else"
diff --git a/src/cell-draw.c b/src/cell-draw.c
index 003b1ad..f38ed45 100644
--- a/src/cell-draw.c
+++ b/src/cell-draw.c
@@ -349,7 +349,7 @@ cell_draw (GnmCell const *cell, cairo_t *cr,
 			     lines;
 			     lines = lines->next, li++) {
 				cairo_save (cr);
-				cairo_translate (cr, x1 + PANGO_PIXELS (x + li->dx), y1 + PANGO_PIXELS (y + li->dy));
+				cairo_move_to (cr, x1 + PANGO_PIXELS (x + li->dx), y1 + PANGO_PIXELS (y + li->dy));
 				cairo_rotate (cr, -rv->rotation * M_PI / 180);
 				pango_cairo_show_layout_line (cr, lines->data);
 				cairo_restore (cr);
diff --git a/src/dialogs/ChangeLog b/src/dialogs/ChangeLog
index 42cfde8..9c0060b 100644
--- a/src/dialogs/ChangeLog
+++ b/src/dialogs/ChangeLog
@@ -1,3 +1,11 @@
+2009-08-26  Jean Brefort  <jean brefort normalesup org>
+
+	* Makefile.am: update after goffice migration from Glade to GtkBuilder.
+	* cell-format.glade: ditto.
+	* dialog-search.c: ditto.
+	* search.glade: ditto.
+	* search.ui: ditto.
+
 2009-08-15  Morten Welinder <terra gnome org>
 
 	* Release 1.9.10
diff --git a/src/dialogs/Makefile.am b/src/dialogs/Makefile.am
index 0cb250a..f3e78d1 100644
--- a/src/dialogs/Makefile.am
+++ b/src/dialogs/Makefile.am
@@ -145,7 +145,6 @@ glade_DATA = 				\
 	sampling.glade			\
 	scenario-add.glade		\
 	scenario-manager.glade		\
-	search.glade			\
 	search-replace.glade		\
 	sheet-order.glade		\
 	sheet-resize.glade                \
@@ -162,4 +161,8 @@ glade_DATA = 				\
 	workbook-attr.glade		\
 	print.glade
 
-EXTRA_DIST = $(glade_DATA)
+uidir   = $(gnumeric_datadir)/ui
+ui_DATA = 				\
+	search.ui
+
+EXTRA_DIST = $(glade_DATA) $(ui_DATA)
diff --git a/src/dialogs/cell-format.glade b/src/dialogs/cell-format.glade
index 5d56318..fa22aa5 100644
--- a/src/dialogs/cell-format.glade
+++ b/src/dialogs/cell-format.glade
@@ -650,7 +650,7 @@
                                 <child>
                                   <widget class="Custom" id="underline_combo">
                                     <property name="visible">True</property>
-                                    <property name="creation_function">go_combo_text_glade_new</property>
+                                    <property name="creation_function">go_combo_text_new_default</property>
                                   </widget>
                                   <packing>
                                     <property name="position">1</property>
diff --git a/src/dialogs/dialog-search.c b/src/dialogs/dialog-search.c
index aafe41d..fa93a57 100644
--- a/src/dialogs/dialog-search.c
+++ b/src/dialogs/dialog-search.c
@@ -43,7 +43,6 @@
 
 #include <widgets/gnumeric-expr-entry.h>
 #include <widgets/gnumeric-lazy-list.h>
-#include <glade/glade.h>
 #include <gtk/gtk.h>
 #include <string.h>
 
@@ -59,7 +58,7 @@ enum {
 typedef struct {
 	WBCGtk *wbcg;
 
-	GladeXML *gui;
+	GtkBuilder *gui;
 	GtkDialog *dialog;
 	GnmExprEntry *rangetext;
 	GtkEntry *gentry;
@@ -226,15 +225,15 @@ range_focused (G_GNUC_UNUSED GtkWidget *widget,
 	       G_GNUC_UNUSED GdkEventFocus *event,
 	       DialogState *dd)
 {
-	GtkWidget *scope_range = glade_xml_get_widget (dd->gui, "scope_range");
+	GtkWidget *scope_range = go_gtk_builder_get_widget (dd->gui, "scope_range");
 	gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (scope_range), TRUE);
 	return FALSE;
 }
 
 static gboolean
-is_checked (GladeXML *gui, const char *name)
+is_checked (GtkBuilder *gui, const char *name)
 {
-	GtkWidget *w = glade_xml_get_widget (gui, name);
+	GtkWidget *w = go_gtk_builder_get_widget (gui, name);
 	return gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (w));
 }
 
@@ -282,7 +281,7 @@ cursor_change (GtkTreeView *tree_view, DialogState *dd)
 static void
 search_clicked (G_GNUC_UNUSED GtkWidget *widget, DialogState *dd)
 {
-	GladeXML *gui = dd->gui;
+	GtkBuilder *gui = dd->gui;
 	WBCGtk *wbcg = dd->wbcg;
 	WorkbookControl *wbc = WORKBOOK_CONTROL (wbcg);
 	GnmSearchReplace *sr;
@@ -292,10 +291,10 @@ search_clicked (G_GNUC_UNUSED GtkWidget *widget, DialogState *dd)
 	char *text;
 	gboolean is_regexp, is_number;
 
-	i = gnumeric_glade_group_value (gui, scope_group);
+	i = go_gtk_builder_group_value (gui, scope_group);
 	scope = (i == -1) ? GNM_SRS_SHEET : (GnmSearchReplaceScope)i;
 
-	i = gnumeric_glade_group_value (gui, search_type_group);
+	i = go_gtk_builder_group_value (gui, search_type_group);
 	is_regexp = (i == 1);
 	is_number = (i == 2);
 
@@ -315,7 +314,7 @@ search_clicked (G_GNUC_UNUSED GtkWidget *widget, DialogState *dd)
 			   "search-expressions", is_checked (gui, "search_expr"),
 			   "search-expression-results", is_checked (gui, "search_expr_results"),
 			   "search-comments", is_checked (gui, "search_comments"),
-			   "by-row", gnumeric_glade_group_value (gui, direction_group) == 0,
+			   "by-row", go_gtk_builder_group_value (gui, direction_group) == 0,
 			   NULL);
 
 	g_free (text);
@@ -449,10 +448,11 @@ make_matches_table (DialogState *dd)
 void
 dialog_search (WBCGtk *wbcg)
 {
-	GladeXML *gui;
+	GtkBuilder *gui;
 	GtkDialog *dialog;
 	DialogState *dd;
 	GtkTable *table;
+	char *f;
 
 	g_return_if_fail (wbcg != NULL);
 
@@ -462,12 +462,13 @@ dialog_search (WBCGtk *wbcg)
 		return;
 #endif
 
-	gui = gnm_glade_xml_new (GO_CMD_CONTEXT (wbcg),
-		"search.glade", NULL, NULL);
+	f = g_build_filename (gnm_sys_data_dir (), "ui", "search.ui", NULL);
+	gui = go_gtk_builder_new (f, NULL, GO_CMD_CONTEXT (wbcg));
+	g_free (f);
         if (gui == NULL)
                 return;
 
-	dialog = GTK_DIALOG (glade_xml_get_widget (gui, "search_dialog"));
+	dialog = GTK_DIALOG (gtk_builder_get_object (gui, "search_dialog"));
 
 	dd = g_new (DialogState, 1);
 	dd->wbcg = wbcg;
@@ -475,17 +476,17 @@ dialog_search (WBCGtk *wbcg)
 	dd->dialog = dialog;
 	dd->matches = g_ptr_array_new ();
 
-	dd->prev_button = glade_xml_get_widget (gui, "prev_button");
-	dd->next_button = glade_xml_get_widget (gui, "next_button");
+	dd->prev_button = go_gtk_builder_get_widget (gui, "prev_button");
+	dd->next_button = go_gtk_builder_get_widget (gui, "next_button");
 
-	dd->notebook = GTK_NOTEBOOK (glade_xml_get_widget (gui, "notebook"));
+	dd->notebook = GTK_NOTEBOOK (gtk_builder_get_object (gui, "notebook"));
 	dd->notebook_matches_page =
 		gtk_notebook_page_num (dd->notebook,
-				       glade_xml_get_widget (gui, "matches_tab"));
+				       go_gtk_builder_get_widget (gui, "matches_tab"));
 
 	dd->rangetext = gnm_expr_entry_new (wbcg, TRUE);
 	gnm_expr_entry_set_flags (dd->rangetext, 0, GNM_EE_MASK);
-	table = GTK_TABLE (glade_xml_get_widget (gui, "page1-table"));
+	table = GTK_TABLE (gtk_builder_get_object (gui, "page1-table"));
 	gtk_table_attach (table, GTK_WIDGET (dd->rangetext),
 			  1, 2, 6, 7,
 			  GTK_EXPAND | GTK_FILL, 0,
@@ -514,7 +515,7 @@ dialog_search (WBCGtk *wbcg)
 			gtk_scrolled_window_new (NULL, NULL);
 		gtk_container_add (GTK_CONTAINER (scrolled_window),
 				   GTK_WIDGET (dd->matches_table));
-		gtk_box_pack_start (GTK_BOX (glade_xml_get_widget (gui, "matches_vbox")),
+		gtk_box_pack_start (GTK_BOX (gtk_builder_get_object (gui, "matches_vbox")),
 				    scrolled_window,
 				    TRUE, TRUE, 0);
 		gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_window),
@@ -529,17 +530,17 @@ dialog_search (WBCGtk *wbcg)
 		G_CALLBACK (cursor_change), dd);
 	g_signal_connect (G_OBJECT (dd->matches_table), "select_cursor_row",
 		G_CALLBACK (cb_next), dd);
-	go_glade_signal_connect (gui, "search_button", "clicked",
+	go_gtk_builder_signal_connect (gui, "search_button", "clicked",
 		G_CALLBACK (search_clicked), dd);
 	g_signal_connect (G_OBJECT (dd->prev_button), "clicked",
 		G_CALLBACK (prev_clicked), dd);
 	g_signal_connect (G_OBJECT (dd->next_button), "clicked",
 		G_CALLBACK (next_clicked), dd);
-	go_glade_signal_connect_swapped (gui, "close_button", "clicked",
+	go_gtk_builder_signal_connect_swapped (gui, "close_button", "clicked",
 		G_CALLBACK (gtk_widget_destroy), dd->dialog);
 	g_signal_connect (G_OBJECT (gnm_expr_entry_get_entry (dd->rangetext)), "focus-in-event",
 		G_CALLBACK (range_focused), dd);
-	go_glade_signal_connect (gui, "scope_range", "toggled",
+	go_gtk_builder_signal_connect (gui, "scope_range", "toggled",
 		G_CALLBACK (cb_focus_on_entry), dd->rangetext);
 
 #ifdef USE_GURU
@@ -550,7 +551,7 @@ dialog_search (WBCGtk *wbcg)
 	gnm_dialog_setup_destroy_handlers (dialog, wbcg,
 		GNM_DIALOG_DESTROY_SHEET_REMOVED);
 	gnumeric_init_help_button (
-		glade_xml_get_widget (gui, "help_button"),
+		go_gtk_builder_get_widget (gui, "help_button"),
 		GNUMERIC_HELP_LINK_SEARCH);
 	gnumeric_restore_window_geometry (GTK_WINDOW (dialog), SEARCH_KEY);
 
diff --git a/src/dialogs/search.ui b/src/dialogs/search.ui
new file mode 100644
index 0000000..c153e60
--- /dev/null
+++ b/src/dialogs/search.ui
@@ -0,0 +1,707 @@
+<?xml version="1.0"?>
+<!--*- mode: xml -*-->
+<interface>
+  <object class="GtkDialog" id="search_dialog">
+    <property name="border_width">6</property>
+    <property name="title" translatable="yes">Search</property>
+    <property name="type">GTK_WINDOW_TOPLEVEL</property>
+    <property name="window_position">GTK_WIN_POS_NONE</property>
+    <property name="modal">False</property>
+    <property name="resizable">True</property>
+    <property name="destroy_with_parent">False</property>
+    <property name="has_separator">False</property>
+    <child internal-child="vbox">
+      <object class="GtkVBox" id="dialog-vbox1">
+        <property name="visible">True</property>
+        <property name="homogeneous">False</property>
+        <property name="spacing">6</property>
+        <child internal-child="action_area">
+          <object class="GtkHButtonBox" id="dialog-action_area1">
+            <property name="visible">True</property>
+            <property name="layout_style">GTK_BUTTONBOX_END</property>
+            <child>
+              <object class="GtkButton" id="help_button">
+                <property name="visible">True</property>
+                <property name="can_default">True</property>
+                <property name="can_focus">True</property>
+                <property name="label">gtk-help</property>
+                <property name="use_stock">True</property>
+                <property name="relief">GTK_RELIEF_NORMAL</property>
+              </object>
+            </child>
+            <child>
+              <object class="GtkButton" id="close_button">
+                <property name="visible">True</property>
+                <property name="tooltip-text" translatable="yes">Dismiss search center</property>
+                <property name="can_default">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>
+              </object>
+            </child>
+            <child>
+              <object class="GtkButton" id="prev_button">
+                <property name="visible">True</property>
+                <property name="tooltip-text" translatable="yes">Show previous match</property>
+                <property name="can_default">True</property>
+                <property name="can_focus">True</property>
+                <property name="label">gtk-go-back</property>
+                <property name="use_stock">True</property>
+                <property name="relief">GTK_RELIEF_NORMAL</property>
+              </object>
+            </child>
+            <child>
+              <object class="GtkButton" id="next_button">
+                <property name="visible">True</property>
+                <property name="tooltip-text" translatable="yes">Show next match</property>
+                <property name="can_default">True</property>
+                <property name="can_focus">True</property>
+                <property name="label">gtk-go-forward</property>
+                <property name="use_stock">True</property>
+                <property name="relief">GTK_RELIEF_NORMAL</property>
+              </object>
+            </child>
+            <child>
+              <object class="GtkButton" id="search_button">
+                <property name="visible">True</property>
+                <property name="tooltip-text" translatable="yes">Start search</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>
+              </object>
+            </child>
+          </object>
+          <packing>
+            <property name="padding">0</property>
+            <property name="expand">False</property>
+            <property name="fill">True</property>
+            <property name="pack_type">GTK_PACK_END</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GtkNotebook" id="notebook">
+            <property name="border_width">5</property>
+            <property name="visible">True</property>
+            <property name="can_focus">True</property>
+            <property name="show_tabs">True</property>
+            <property name="show_border">True</property>
+            <property name="tab_pos">GTK_POS_TOP</property>
+            <property name="scrollable">False</property>
+            <property name="enable_popup">False</property>
+            <child>
+              <object class="GtkVBox" id="vbox2">
+                <property name="border_width">12</property>
+                <property name="visible">True</property>
+                <property name="homogeneous">False</property>
+                <property name="spacing">4</property>
+                <child>
+                  <object class="GtkTable" id="page1-table">
+                    <property name="visible">True</property>
+                    <property name="n_rows">7</property>
+                    <property name="n_columns">2</property>
+                    <property name="homogeneous">False</property>
+                    <property name="row_spacing">6</property>
+                    <property name="column_spacing">6</property>
+                    <child>
+                      <object class="GtkLabel" id="label3">
+                        <property name="visible">True</property>
+                        <property name="label" translatable="yes">_Search for:</property>
+                        <property name="use_underline">True</property>
+                        <property name="use_markup">False</property>
+                        <property name="justify">GTK_JUSTIFY_CENTER</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>
+                      </object>
+                      <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"/>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkHSeparator" id="hseparator1">
+                        <property name="visible">True</property>
+                      </object>
+                      <packing>
+                        <property name="left_attach">0</property>
+                        <property name="right_attach">2</property>
+                        <property name="top_attach">1</property>
+                        <property name="bottom_attach">2</property>
+                        <property name="y_options"/>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkCheckButton" id="ignore_case">
+                        <property name="visible">True</property>
+                        <property name="tooltip-text" translatable="yes">When set, do not distinguish between upper and lower case letters</property>
+                        <property name="can_focus">True</property>
+                        <property name="label" translatable="yes">_Ignore case</property>
+                        <property name="use_underline">True</property>
+                        <property name="relief">GTK_RELIEF_NORMAL</property>
+                        <property name="active">True</property>
+                        <property name="inconsistent">False</property>
+                        <property name="draw_indicator">True</property>
+                      </object>
+                      <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"/>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkCheckButton" id="match_words">
+                        <property name="visible">True</property>
+                        <property name="tooltip-text" translatable="yes">Do not consider matches in the middle of words</property>
+                        <property name="can_focus">True</property>
+                        <property name="label" translatable="yes">Match _whole words only</property>
+                        <property name="use_underline">True</property>
+                        <property name="relief">GTK_RELIEF_NORMAL</property>
+                        <property name="active">False</property>
+                        <property name="inconsistent">False</property>
+                        <property name="draw_indicator">True</property>
+                      </object>
+                      <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="x_options">fill</property>
+                        <property name="y_options"/>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkHSeparator" id="hseparator2">
+                        <property name="visible">True</property>
+                      </object>
+                      <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="y_options"/>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkRadioButton" id="scope_workbook">
+                        <property name="visible">True</property>
+                        <property name="tooltip-text" translatable="yes">Search in all cells in the workbook</property>
+                        <property name="can_focus">True</property>
+                        <property name="label" translatable="yes">_Entire workbook</property>
+                        <property name="use_underline">True</property>
+                        <property name="relief">GTK_RELIEF_NORMAL</property>
+                        <property name="active">True</property>
+                        <property name="inconsistent">False</property>
+                        <property name="draw_indicator">True</property>
+                      </object>
+                      <packing>
+                        <property name="left_attach">0</property>
+                        <property name="right_attach">1</property>
+                        <property name="top_attach">4</property>
+                        <property name="bottom_attach">5</property>
+                        <property name="x_options">fill</property>
+                        <property name="y_options"/>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkRadioButton" id="scope_sheet">
+                        <property name="visible">True</property>
+                        <property name="tooltip-text" translatable="yes">Search in current sheet only</property>
+                        <property name="can_focus">True</property>
+                        <property name="label" translatable="yes">_Current sheet</property>
+                        <property name="use_underline">True</property>
+                        <property name="relief">GTK_RELIEF_NORMAL</property>
+                        <property name="active">False</property>
+                        <property name="inconsistent">False</property>
+                        <property name="draw_indicator">True</property>
+                        <property name="group">scope_workbook</property>
+                      </object>
+                      <packing>
+                        <property name="left_attach">0</property>
+                        <property name="right_attach">1</property>
+                        <property name="top_attach">5</property>
+                        <property name="bottom_attach">6</property>
+                        <property name="x_options">fill</property>
+                        <property name="y_options"/>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkRadioButton" id="scope_range">
+                        <property name="visible">True</property>
+                        <property name="tooltip-text" translatable="yes">Search in specified range only</property>
+                        <property name="can_focus">True</property>
+                        <property name="label" translatable="yes">_Range</property>
+                        <property name="use_underline">True</property>
+                        <property name="relief">GTK_RELIEF_NORMAL</property>
+                        <property name="active">False</property>
+                        <property name="inconsistent">False</property>
+                        <property name="draw_indicator">True</property>
+                        <property name="group">scope_workbook</property>
+                      </object>
+                      <packing>
+                        <property name="left_attach">0</property>
+                        <property name="right_attach">1</property>
+                        <property name="top_attach">6</property>
+                        <property name="bottom_attach">7</property>
+                        <property name="x_options">fill</property>
+                        <property name="y_options"/>
+                      </packing>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="padding">0</property>
+                    <property name="expand">True</property>
+                    <property name="fill">True</property>
+                  </packing>
+                </child>
+              </object>
+              <packing>
+                <property name="tab_expand">False</property>
+                <property name="tab_fill">True</property>
+              </packing>
+            </child>
+            <child type="tab">
+              <object class="GtkLabel" id="label1">
+                <property name="visible">True</property>
+                <property name="label" translatable="yes">Normal</property>
+                <property name="use_underline">False</property>
+                <property name="use_markup">False</property>
+                <property name="justify">GTK_JUSTIFY_CENTER</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>
+              </object>
+            </child>
+            <child>
+              <object class="GtkVBox" id="vbox4">
+                <property name="border_width">4</property>
+                <property name="visible">True</property>
+                <property name="homogeneous">False</property>
+                <property name="spacing">4</property>
+                <child>
+                  <object class="GtkTable" id="page2-table">
+                    <property name="visible">True</property>
+                    <property name="n_rows">2</property>
+                    <property name="n_columns">2</property>
+                    <property name="homogeneous">False</property>
+                    <property name="row_spacing">4</property>
+                    <property name="column_spacing">4</property>
+                    <child>
+                      <object class="GtkFrame" id="frame3">
+                        <property name="visible">True</property>
+                        <property name="label_xalign">0</property>
+                        <property name="label_yalign">0.5</property>
+                        <property name="shadow_type">GTK_SHADOW_ETCHED_IN</property>
+                        <child>
+                          <object class="GtkTable" id="table2">
+                            <property name="border_width">12</property>
+                            <property name="visible">True</property>
+                            <property name="n_rows">3</property>
+                            <property name="n_columns">2</property>
+                            <property name="homogeneous">True</property>
+                            <property name="row_spacing">6</property>
+                            <property name="column_spacing">6</property>
+                            <child>
+                              <object class="GtkCheckButton" id="search_other">
+                                <property name="visible">True</property>
+                                <property name="tooltip-text" translatable="yes">Find text within non-string values</property>
+                                <property name="can_focus">True</property>
+                                <property name="label" translatable="yes">_Other values</property>
+                                <property name="use_underline">True</property>
+                                <property name="relief">GTK_RELIEF_NORMAL</property>
+                                <property name="active">True</property>
+                                <property name="inconsistent">False</property>
+                                <property name="draw_indicator">True</property>
+                              </object>
+                              <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"/>
+                              </packing>
+                            </child>
+                            <child>
+                              <object class="GtkCheckButton" id="search_expr">
+                                <property name="visible">True</property>
+                                <property name="tooltip-text" translatable="yes">Find text within expressions</property>
+                                <property name="can_focus">True</property>
+                                <property name="label" translatable="yes">_Expressions</property>
+                                <property name="use_underline">True</property>
+                                <property name="relief">GTK_RELIEF_NORMAL</property>
+                                <property name="active">True</property>
+                                <property name="inconsistent">False</property>
+                                <property name="draw_indicator">True</property>
+                              </object>
+                              <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="x_options">fill</property>
+                                <property name="y_options"/>
+                              </packing>
+                            </child>
+                            <child>
+                              <object class="GtkCheckButton" id="search_string">
+                                <property name="visible">True</property>
+                                <property name="tooltip-text" translatable="yes">Find text within string values</property>
+                                <property name="can_focus">True</property>
+                                <property name="label" translatable="yes">_Strings</property>
+                                <property name="use_underline">True</property>
+                                <property name="relief">GTK_RELIEF_NORMAL</property>
+                                <property name="active">True</property>
+                                <property name="inconsistent">False</property>
+                                <property name="draw_indicator">True</property>
+                              </object>
+                              <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"/>
+                              </packing>
+                            </child>
+                            <child>
+                              <object class="GtkCheckButton" id="search_comments">
+                                <property name="visible">True</property>
+                                <property name="tooltip-text" translatable="yes">Find text within cell comments</property>
+                                <property name="can_focus">True</property>
+                                <property name="label" translatable="yes">_Comments</property>
+                                <property name="use_underline">True</property>
+                                <property name="relief">GTK_RELIEF_NORMAL</property>
+                                <property name="active">False</property>
+                                <property name="inconsistent">False</property>
+                                <property name="draw_indicator">True</property>
+                              </object>
+                              <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"/>
+                              </packing>
+                            </child>
+                            <child>
+                              <object class="GtkCheckButton" id="search_expr_results">
+                                <property name="visible">True</property>
+                                <property name="tooltip-text" translatable="yes">Find text within the calculated values of expressions</property>
+                                <property name="can_focus">True</property>
+                                <property name="label" translatable="yes">_Results</property>
+                                <property name="use_underline">True</property>
+                                <property name="relief">GTK_RELIEF_NORMAL</property>
+                                <property name="active">True</property>
+                                <property name="inconsistent">False</property>
+                                <property name="draw_indicator">True</property>
+                              </object>
+                              <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"/>
+                              </packing>
+                            </child>
+                          </object>
+                        </child>
+                        <child type="label">
+                          <object class="GtkLabel" id="label4">
+                            <property name="visible">True</property>
+                            <property name="label" translatable="yes">Search cells containing</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.5</property>
+                            <property name="yalign">0.5</property>
+                            <property name="xpad">0</property>
+                            <property name="ypad">0</property>
+                          </object>
+                        </child>
+                      </object>
+                      <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>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkFrame" id="frame5">
+                        <property name="visible">True</property>
+                        <property name="label_xalign">0</property>
+                        <property name="label_yalign">0.5</property>
+                        <property name="shadow_type">GTK_SHADOW_ETCHED_IN</property>
+                        <child>
+                          <object class="GtkTable" id="table5">
+                            <property name="border_width">12</property>
+                            <property name="visible">True</property>
+                            <property name="n_rows">3</property>
+                            <property name="n_columns">1</property>
+                            <property name="homogeneous">True</property>
+                            <property name="row_spacing">6</property>
+                            <property name="column_spacing">6</property>
+                            <child>
+                              <object class="GtkRadioButton" id="search_type_text">
+                                <property name="visible">True</property>
+                                <property name="tooltip-text" translatable="yes">The search text is taken literally.</property>
+                                <property name="can_focus">True</property>
+                                <property name="label" translatable="yes">_Plain text</property>
+                                <property name="use_underline">True</property>
+                                <property name="relief">GTK_RELIEF_NORMAL</property>
+                                <property name="active">True</property>
+                                <property name="inconsistent">False</property>
+                                <property name="draw_indicator">True</property>
+                              </object>
+                              <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"/>
+                              </packing>
+                            </child>
+                            <child>
+                              <object class="GtkRadioButton" id="search_type_regexp">
+                                <property name="visible">True</property>
+                                <property name="tooltip-text" translatable="yes">The search text is a regular expression</property>
+                                <property name="can_focus">True</property>
+                                <property name="label" translatable="yes">Re_gular expression</property>
+                                <property name="use_underline">True</property>
+                                <property name="relief">GTK_RELIEF_NORMAL</property>
+                                <property name="active">False</property>
+                                <property name="inconsistent">False</property>
+                                <property name="draw_indicator">True</property>
+                                <property name="group">search_type_text</property>
+                              </object>
+                              <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"/>
+                              </packing>
+                            </child>
+                            <child>
+                              <object class="GtkRadioButton" id="search_type_number">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="label" translatable="yes">_Number</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">search_type_text</property>
+                              </object>
+                              <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"/>
+                              </packing>
+                            </child>
+                          </object>
+                        </child>
+                        <child type="label">
+                          <object class="GtkLabel" id="label5">
+                            <property name="visible">True</property>
+                            <property name="label" translatable="yes">Search text is</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.5</property>
+                            <property name="yalign">0.5</property>
+                            <property name="xpad">0</property>
+                            <property name="ypad">0</property>
+                          </object>
+                        </child>
+                      </object>
+                      <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>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkFrame" id="frame4">
+                        <property name="visible">True</property>
+                        <property name="label_xalign">0</property>
+                        <property name="label_yalign">0.5</property>
+                        <property name="shadow_type">GTK_SHADOW_ETCHED_IN</property>
+                        <child>
+                          <object class="GtkTable" id="table4">
+                            <property name="border_width">6</property>
+                            <property name="visible">True</property>
+                            <property name="n_rows">1</property>
+                            <property name="n_columns">2</property>
+                            <property name="homogeneous">True</property>
+                            <property name="row_spacing">6</property>
+                            <property name="column_spacing">6</property>
+                            <child>
+                              <object class="GtkRadioButton" id="row_major">
+                                <property name="visible">True</property>
+                                <property name="tooltip-text" translatable="yes">Search line by line</property>
+                                <property name="label" translatable="yes">_Row major</property>
+                                <property name="use_underline">True</property>
+                                <property name="relief">GTK_RELIEF_NORMAL</property>
+                                <property name="active">True</property>
+                                <property name="inconsistent">False</property>
+                                <property name="draw_indicator">True</property>
+                              </object>
+                              <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"/>
+                              </packing>
+                            </child>
+                            <child>
+                              <object class="GtkRadioButton" id="column_major">
+                                <property name="visible">True</property>
+                                <property name="tooltip-text" translatable="yes">Search column by column</property>
+                                <property name="label" translatable="yes">C_olumn major</property>
+                                <property name="use_underline">True</property>
+                                <property name="relief">GTK_RELIEF_NORMAL</property>
+                                <property name="active">False</property>
+                                <property name="inconsistent">False</property>
+                                <property name="draw_indicator">True</property>
+                                <property name="group">row_major</property>
+                              </object>
+                              <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="x_options">fill</property>
+                                <property name="y_options"/>
+                              </packing>
+                            </child>
+                          </object>
+                        </child>
+                        <child type="label">
+                          <object class="GtkLabel" id="label6">
+                            <property name="visible">True</property>
+                            <property name="label" translatable="yes">Miscellaneous</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.5</property>
+                            <property name="yalign">0.5</property>
+                            <property name="xpad">0</property>
+                            <property name="ypad">0</property>
+                          </object>
+                        </child>
+                      </object>
+                      <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>
+                      </packing>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="padding">0</property>
+                    <property name="expand">True</property>
+                    <property name="fill">True</property>
+                  </packing>
+                </child>
+              </object>
+              <packing>
+                <property name="tab_expand">False</property>
+                <property name="tab_fill">True</property>
+              </packing>
+            </child>
+            <child type="tab">
+              <object class="GtkLabel" id="label2">
+                <property name="visible">True</property>
+                <property name="label" translatable="yes">Advanced</property>
+                <property name="use_underline">False</property>
+                <property name="use_markup">False</property>
+                <property name="justify">GTK_JUSTIFY_CENTER</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>
+              </object>
+            </child>
+            <child>
+              <object class="GtkVBox" id="matches_vbox">
+                <property name="visible">True</property>
+                <property name="homogeneous">False</property>
+                <property name="spacing">0</property>
+              </object>
+              <packing>
+                <property name="tab_expand">False</property>
+                <property name="tab_fill">True</property>
+              </packing>
+            </child>
+            <child type="tab">
+              <object class="GtkLabel" id="matches_tab">
+                <property name="visible">True</property>
+                <property name="label" translatable="yes">Matches</property>
+                <property name="use_underline">False</property>
+                <property name="use_markup">False</property>
+                <property name="justify">GTK_JUSTIFY_CENTER</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>
+              </object>
+            </child>
+          </object>
+          <packing>
+            <property name="padding">0</property>
+            <property name="expand">True</property>
+            <property name="fill">True</property>
+          </packing>
+        </child>
+      </object>
+    </child>
+    <action-widgets>
+      <action-widget response="0">help_button</action-widget>
+      <action-widget response="0">close_button</action-widget>
+      <action-widget response="0">prev_button</action-widget>
+      <action-widget response="0">next_button</action-widget>
+      <action-widget response="0">search_button</action-widget>
+    </action-widgets>
+  </object>
+</interface>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]