Commit 78667a20 authored by Jody Goldberg's avatar Jody Goldberg

More dialog conversions

still needs work
parent c1184ac5
2002-01-24 Jody Goldberg <jody@gnome.org>
* src/Makefile.am : Apparently the sources list is order dependent.
Put the built sources at the top.
2002-01-24 Rodrigo Moya <rodrigo@gnome-db.org> 2002-01-24 Rodrigo Moya <rodrigo@gnome-db.org>
* configure.in: fixed libgda detection for GNOME 2. * configure.in: fixed libgda detection for GNOME 2.
2002-01-23 Jody Goldberg <jody@gnome.org> 2002-01-23 Jody Goldberg <jody@gnome.org>
* src/gui-util.c (gnumeric_textview_get_text) : new utility.
(gnumeric_textview_set_text) : ditto.
* src/history.c : tidy up a mite. * src/history.c : tidy up a mite.
* src/gui-util.c : Some initial conversions to gnome2. Needs work. * src/gui-util.c : Some initial conversions to gnome2. Needs work.
......
2002-01-24 Jody Goldberg <jody@gnome.org>
* src/Makefile.am : Apparently the sources list is order dependent.
Put the built sources at the top.
2002-01-24 Rodrigo Moya <rodrigo@gnome-db.org> 2002-01-24 Rodrigo Moya <rodrigo@gnome-db.org>
* configure.in: fixed libgda detection for GNOME 2. * configure.in: fixed libgda detection for GNOME 2.
2002-01-23 Jody Goldberg <jody@gnome.org> 2002-01-23 Jody Goldberg <jody@gnome.org>
* src/gui-util.c (gnumeric_textview_get_text) : new utility.
(gnumeric_textview_set_text) : ditto.
* src/history.c : tidy up a mite. * src/history.c : tidy up a mite.
* src/gui-util.c : Some initial conversions to gnome2. Needs work. * src/gui-util.c : Some initial conversions to gnome2. Needs work.
......
2002-01-24 Jody Goldberg <jody@gnome.org>
* src/Makefile.am : Apparently the sources list is order dependent.
Put the built sources at the top.
2002-01-24 Rodrigo Moya <rodrigo@gnome-db.org> 2002-01-24 Rodrigo Moya <rodrigo@gnome-db.org>
* configure.in: fixed libgda detection for GNOME 2. * configure.in: fixed libgda detection for GNOME 2.
2002-01-23 Jody Goldberg <jody@gnome.org> 2002-01-23 Jody Goldberg <jody@gnome.org>
* src/gui-util.c (gnumeric_textview_get_text) : new utility.
(gnumeric_textview_set_text) : ditto.
* src/history.c : tidy up a mite. * src/history.c : tidy up a mite.
* src/gui-util.c : Some initial conversions to gnome2. Needs work. * src/gui-util.c : Some initial conversions to gnome2. Needs work.
......
2002-01-24 Jody Goldberg <jody@gnome.org>
* src/Makefile.am : Apparently the sources list is order dependent.
Put the built sources at the top.
2002-01-24 Rodrigo Moya <rodrigo@gnome-db.org> 2002-01-24 Rodrigo Moya <rodrigo@gnome-db.org>
* configure.in: fixed libgda detection for GNOME 2. * configure.in: fixed libgda detection for GNOME 2.
2002-01-23 Jody Goldberg <jody@gnome.org> 2002-01-23 Jody Goldberg <jody@gnome.org>
* src/gui-util.c (gnumeric_textview_get_text) : new utility.
(gnumeric_textview_set_text) : ditto.
* src/history.c : tidy up a mite. * src/history.c : tidy up a mite.
* src/gui-util.c : Some initial conversions to gnome2. Needs work. * src/gui-util.c : Some initial conversions to gnome2. Needs work.
......
...@@ -451,6 +451,7 @@ src/pixmaps/Makefile ...@@ -451,6 +451,7 @@ src/pixmaps/Makefile
src/widgets/Makefile src/widgets/Makefile
doc/Makefile doc/Makefile
doc/C/Makefile doc/C/Makefile
omf-install/Makefile
plugins/Makefile plugins/Makefile
plugins/numtheory/Makefile plugins/numtheory/Makefile
plugins/derivatives/Makefile plugins/derivatives/Makefile
......
...@@ -23,6 +23,8 @@ INCLUDES = \ ...@@ -23,6 +23,8 @@ INCLUDES = \
$(GNUMERIC_CFLAGS) $(GNUMERIC_CFLAGS)
GNUMERIC_BASE = \ GNUMERIC_BASE = \
gui-gtkmarshalers.h \
gui-gtkmarshalers.c \
analysis-tools.c \ analysis-tools.c \
analysis-tools.h \ analysis-tools.h \
application.c \ application.c \
...@@ -244,9 +246,7 @@ GNUMERIC_BASE = \ ...@@ -244,9 +246,7 @@ GNUMERIC_BASE = \
xml-io.h \ xml-io.h \
xml-io-version.h \ xml-io-version.h \
xml-io-autoft.c \ xml-io-autoft.c \
xml-io-autoft.h \ xml-io-autoft.h
gui-gtkmarshalers.h \
gui-gtkmarshalers.c
# TODO : split the bonobo and corba tests one day # TODO : split the bonobo and corba tests one day
GNUMERIC_CORBA = \ GNUMERIC_CORBA = \
......
2002-01-23 Jody Goldberg <jody@gnome.org>
* cell-format.glade : Add use_underline to the radio buttons.
* dialog-cell-format.c (validation_rebuild_validation) : Use
gnumeric_textview_get_text.
2002-01-23 Jody Goldberg <jody@gnome.org> 2002-01-23 Jody Goldberg <jody@gnome.org>
* cell-format.glade : remove place holders, s/columns/n-columns/ * cell-format.glade : remove place holders, s/columns/n-columns/
......
...@@ -155,7 +155,7 @@ ...@@ -155,7 +155,7 @@
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xpad">5</property> <property name="xpad">5</property>
<property name="ypad">0</property> <property name="ypad">0</property>
<property name="focus_target">alpha-entry</property> <property name="mnemonic_widget">alpha-entry</property>
<property name="visible">yes</property> <property name="visible">yes</property>
<property name="use_underline">yes</property> <property name="use_underline">yes</property>
</widget> </widget>
...@@ -201,7 +201,7 @@ ...@@ -201,7 +201,7 @@
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xpad">5</property> <property name="xpad">5</property>
<property name="ypad">0</property> <property name="ypad">0</property>
<property name="focus_target">replication-entry</property> <property name="mnemonic_widget">replication-entry</property>
<property name="visible">yes</property> <property name="visible">yes</property>
<property name="use_underline">yes</property> <property name="use_underline">yes</property>
</widget> </widget>
......
...@@ -390,7 +390,7 @@ ...@@ -390,7 +390,7 @@
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xpad">0</property> <property name="xpad">0</property>
<property name="ypad">0</property> <property name="ypad">0</property>
<property name="focus_target">entry2</property> <property name="mnemonic_widget">entry2</property>
<property name="visible">yes</property> <property name="visible">yes</property>
<property name="use_underline">yes</property> <property name="use_underline">yes</property>
</widget> </widget>
...@@ -584,7 +584,7 @@ ...@@ -584,7 +584,7 @@
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xpad">0</property> <property name="xpad">0</property>
<property name="ypad">0</property> <property name="ypad">0</property>
<property name="focus_target">entry1</property> <property name="mnemonic_widget">entry1</property>
<property name="visible">yes</property> <property name="visible">yes</property>
<property name="use_underline">yes</property> <property name="use_underline">yes</property>
</widget> </widget>
......
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xpad">4</property> <property name="xpad">4</property>
<property name="ypad">0</property> <property name="ypad">0</property>
<property name="focus_target">minutes</property> <property name="mnemonic_widget">minutes</property>
<property name="visible">yes</property> <property name="visible">yes</property>
<property name="use_underline">yes</property> <property name="use_underline">yes</property>
</widget> </widget>
......
...@@ -5,12 +5,12 @@ ...@@ -5,12 +5,12 @@
<requires lib="gnome" /> <requires lib="gnome" />
<requires lib="canvas" /> <requires lib="canvas" />
<widget class="GnomePropertyBox" id="CellFormat"> <widget class="GtkDialog" id="CellFormat">
<property name="visible">no</property> <property name="visible">no</property>
<property name="modal">no</property> <property name="modal">no</property>
<property name="allow_shrink">no</property> <property name="allow_shrink">no</property>
<property name="allow_grow">no</property> <property name="allow_grow">no</property>
<property name="window-position">GTK_WIN_POS_NONE</property> <property name="window-position">GTK_WIN_POS_MOUSE</property>
<child internal-child="notebook"> <child internal-child="notebook">
<widget class="GtkNotebook" id="MainNotebook"> <widget class="GtkNotebook" id="MainNotebook">
...@@ -52,6 +52,7 @@ ...@@ -52,6 +52,7 @@
<property name="draw_indicator">yes</property> <property name="draw_indicator">yes</property>
<property name="height-request">22</property> <property name="height-request">22</property>
<property name="visible">yes</property> <property name="visible">yes</property>
<property name="use_underline">yes</property>
</widget> </widget>
<packing> <packing>
<property name="padding">0</property> <property name="padding">0</property>
...@@ -69,6 +70,7 @@ ...@@ -69,6 +70,7 @@
<property name="height-request">22</property> <property name="height-request">22</property>
<property name="visible">yes</property> <property name="visible">yes</property>
<property name="group">format_general</property> <property name="group">format_general</property>
<property name="use_underline">yes</property>
</widget> </widget>
<packing> <packing>
<property name="padding">0</property> <property name="padding">0</property>
...@@ -86,6 +88,7 @@ ...@@ -86,6 +88,7 @@
<property name="height-request">22</property> <property name="height-request">22</property>
<property name="visible">yes</property> <property name="visible">yes</property>
<property name="group">format_general</property> <property name="group">format_general</property>
<property name="use_underline">yes</property>
</widget> </widget>
<packing> <packing>
<property name="padding">0</property> <property name="padding">0</property>
...@@ -103,6 +106,7 @@ ...@@ -103,6 +106,7 @@
<property name="height-request">22</property> <property name="height-request">22</property>
<property name="visible">yes</property> <property name="visible">yes</property>
<property name="group">format_general</property> <property name="group">format_general</property>
<property name="use_underline">yes</property>
</widget> </widget>
<packing> <packing>
<property name="padding">0</property> <property name="padding">0</property>
...@@ -120,6 +124,7 @@ ...@@ -120,6 +124,7 @@
<property name="height-request">22</property> <property name="height-request">22</property>
<property name="visible">yes</property> <property name="visible">yes</property>
<property name="group">format_general</property> <property name="group">format_general</property>
<property name="use_underline">yes</property>
</widget> </widget>
<packing> <packing>
<property name="padding">0</property> <property name="padding">0</property>
...@@ -137,6 +142,7 @@ ...@@ -137,6 +142,7 @@
<property name="height-request">22</property> <property name="height-request">22</property>
<property name="visible">yes</property> <property name="visible">yes</property>
<property name="group">format_general</property> <property name="group">format_general</property>
<property name="use_underline">yes</property>
</widget> </widget>
<packing> <packing>
<property name="padding">0</property> <property name="padding">0</property>
...@@ -154,6 +160,7 @@ ...@@ -154,6 +160,7 @@
<property name="height-request">22</property> <property name="height-request">22</property>
<property name="visible">yes</property> <property name="visible">yes</property>
<property name="group">format_general</property> <property name="group">format_general</property>
<property name="use_underline">yes</property>
</widget> </widget>
<packing> <packing>
<property name="padding">0</property> <property name="padding">0</property>
...@@ -171,6 +178,7 @@ ...@@ -171,6 +178,7 @@
<property name="height-request">22</property> <property name="height-request">22</property>
<property name="visible">yes</property> <property name="visible">yes</property>
<property name="group">format_general</property> <property name="group">format_general</property>
<property name="use_underline">yes</property>
</widget> </widget>
<packing> <packing>
<property name="padding">0</property> <property name="padding">0</property>
...@@ -188,6 +196,7 @@ ...@@ -188,6 +196,7 @@
<property name="height-request">22</property> <property name="height-request">22</property>
<property name="visible">yes</property> <property name="visible">yes</property>
<property name="group">format_general</property> <property name="group">format_general</property>
<property name="use_underline">yes</property>
</widget> </widget>
<packing> <packing>
<property name="padding">0</property> <property name="padding">0</property>
...@@ -205,6 +214,7 @@ ...@@ -205,6 +214,7 @@
<property name="height-request">22</property> <property name="height-request">22</property>
<property name="visible">yes</property> <property name="visible">yes</property>
<property name="group">format_general</property> <property name="group">format_general</property>
<property name="use_underline">yes</property>
</widget> </widget>
<packing> <packing>
<property name="padding">0</property> <property name="padding">0</property>
...@@ -222,6 +232,7 @@ ...@@ -222,6 +232,7 @@
<property name="height-request">22</property> <property name="height-request">22</property>
<property name="visible">yes</property> <property name="visible">yes</property>
<property name="group">format_general</property> <property name="group">format_general</property>
<property name="use_underline">yes</property>
</widget> </widget>
<packing> <packing>
<property name="padding">0</property> <property name="padding">0</property>
...@@ -239,6 +250,7 @@ ...@@ -239,6 +250,7 @@
<property name="height-request">22</property> <property name="height-request">22</property>
<property name="visible">yes</property> <property name="visible">yes</property>
<property name="group">format_general</property> <property name="group">format_general</property>
<property name="use_underline">yes</property>
</widget> </widget>
<packing> <packing>
<property name="padding">0</property> <property name="padding">0</property>
...@@ -715,6 +727,7 @@ ...@@ -715,6 +727,7 @@
<property name="active">no</property> <property name="active">no</property>
<property name="draw_indicator">yes</property> <property name="draw_indicator">yes</property>
<property name="visible">yes</property> <property name="visible">yes</property>
<property name="use_underline">yes</property>
</widget> </widget>
<packing> <packing>
<property name="left_attach">2</property> <property name="left_attach">2</property>
...@@ -736,6 +749,7 @@ ...@@ -736,6 +749,7 @@
<property name="draw_indicator">yes</property> <property name="draw_indicator">yes</property>
<property name="visible">yes</property> <property name="visible">yes</property>
<property name="group">halign_justify</property> <property name="group">halign_justify</property>
<property name="use_underline">yes</property>
</widget> </widget>
<packing> <packing>
<property name="left_attach">2</property> <property name="left_attach">2</property>
...@@ -757,6 +771,7 @@ ...@@ -757,6 +771,7 @@
<property name="draw_indicator">yes</property> <property name="draw_indicator">yes</property>
<property name="visible">yes</property> <property name="visible">yes</property>
<property name="group">halign_justify</property> <property name="group">halign_justify</property>
<property name="use_underline">yes</property>
</widget> </widget>
<packing> <packing>
<property name="left_attach">1</property> <property name="left_attach">1</property>
...@@ -778,6 +793,7 @@ ...@@ -778,6 +793,7 @@
<property name="draw_indicator">yes</property> <property name="draw_indicator">yes</property>
<property name="visible">yes</property> <property name="visible">yes</property>
<property name="group">halign_justify</property> <property name="group">halign_justify</property>
<property name="use_underline">yes</property>
</widget> </widget>
<packing> <packing>
<property name="left_attach">1</property> <property name="left_attach">1</property>
...@@ -799,6 +815,7 @@ ...@@ -799,6 +815,7 @@
<property name="draw_indicator">yes</property> <property name="draw_indicator">yes</property>
<property name="visible">yes</property> <property name="visible">yes</property>
<property name="group">halign_justify</property> <property name="group">halign_justify</property>
<property name="use_underline">yes</property>
</widget> </widget>
<packing> <packing>
<property name="left_attach">0</property> <property name="left_attach">0</property>
...@@ -820,6 +837,7 @@ ...@@ -820,6 +837,7 @@
<property name="draw_indicator">yes</property> <property name="draw_indicator">yes</property>
<property name="visible">yes</property> <property name="visible">yes</property>
<property name="group">halign_justify</property> <property name="group">halign_justify</property>
<property name="use_underline">yes</property>
</widget> </widget>
<packing> <packing>
<property name="left_attach">0</property> <property name="left_attach">0</property>
...@@ -848,6 +866,7 @@ ...@@ -848,6 +866,7 @@
<property name="draw_indicator">yes</property> <property name="draw_indicator">yes</property>
<property name="visible">yes</property> <property name="visible">yes</property>
<property name="group">halign_justify</property> <property name="group">halign_justify</property>
<property name="use_underline">yes</property>
</widget> </widget>
<packing> <packing>
<property name="padding">0</property> <property name="padding">0</property>
...@@ -959,6 +978,7 @@ ...@@ -959,6 +978,7 @@
<property name="active">no</property> <property name="active">no</property>
<property name="draw_indicator">yes</property> <property name="draw_indicator">yes</property>
<property name="visible">yes</property> <property name="visible">yes</property>
<property name="use_underline">yes</property>
</widget> </widget>
<packing> <packing>
<property name="padding">0</property> <property name="padding">0</property>
...@@ -975,6 +995,7 @@ ...@@ -975,6 +995,7 @@
<property name="draw_indicator">yes</property> <property name="draw_indicator">yes</property>
<property name="visible">yes</property> <property name="visible">yes</property>
<property name="group">valign_top</property> <property name="group">valign_top</property>
<property name="use_underline">yes</property>
</widget> </widget>
<packing> <packing>
<property name="padding">0</property> <property name="padding">0</property>
...@@ -991,6 +1012,7 @@ ...@@ -991,6 +1012,7 @@
<property name="draw_indicator">yes</property> <property name="draw_indicator">yes</property>
<property name="visible">yes</property> <property name="visible">yes</property>
<property name="group">valign_top</property> <property name="group">valign_top</property>
<property name="use_underline">yes</property>
</widget> </widget>
<packing> <packing>
<property name="padding">0</property> <property name="padding">0</property>
...@@ -1014,6 +1036,7 @@ ...@@ -1014,6 +1036,7 @@
<property name="draw_indicator">yes</property> <property name="draw_indicator">yes</property>
<property name="visible">yes</property> <property name="visible">yes</property>
<property name="group">valign_top</property> <property name="group">valign_top</property>
<property name="use_underline">yes</property>
</widget> </widget>
<packing> <packing>
<property name="padding">5</property> <property name="padding">5</property>
......
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xpad">0</property> <property name="xpad">0</property>
<property name="ypad">0</property> <property name="ypad">0</property>
<property name="focus_target">function</property> <property name="mnemonic_widget">function</property>
<property name="visible">yes</property> <property name="visible">yes</property>
<property name="use_underline">yes</property> <property name="use_underline">yes</property>
</widget> </widget>
......
...@@ -76,11 +76,10 @@ dialog_about (WorkbookControlGUI *wbcg) ...@@ -76,11 +76,10 @@ dialog_about (WorkbookControlGUI *wbcg)
#ifdef ENABLE_NLS #ifdef ENABLE_NLS
{ {
int i; int i;
for (i = 0; authors[i] != NULL; i++){ for (i = 0; authors[i] != NULL; i++)
authors[i] = _(authors[i]); authors[i] = _(authors[i]);
}
} }
#endif #endif
/* Ensure we only pop up one copy per workbook */ /* Ensure we only pop up one copy per workbook */
...@@ -95,11 +94,10 @@ dialog_about (WorkbookControlGUI *wbcg) ...@@ -95,11 +94,10 @@ dialog_about (WorkbookControlGUI *wbcg)
gdk_pixbuf_new_from_file ("gnome-gnumeric.png", NULL)); gdk_pixbuf_new_from_file ("gnome-gnumeric.png", NULL));
hbox = gtk_hbox_new (TRUE, 0); hbox = gtk_hbox_new (TRUE, 0);
{ gtk_box_pack_start (GTK_BOX (hbox),
GtkWidget *href = gnome_href_new ("http://www.gnumeric.org", gnome_href_new ("http://www.gnumeric.org", _("Gnumeric Home Page")),
_("Gnumeric Home Page")); FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX (hbox), href, FALSE, FALSE, 0);
}
#ifdef WEB_BIT_ROT #ifdef WEB_BIT_ROT
{ {
GtkWidget *href = gnome_href_new ("http://www.ximian.com/apps/gnumeric.php3", GtkWidget *href = gnome_href_new ("http://www.ximian.com/apps/gnumeric.php3",
...@@ -112,7 +110,5 @@ dialog_about (WorkbookControlGUI *wbcg) ...@@ -112,7 +110,5 @@ dialog_about (WorkbookControlGUI *wbcg)
gtk_widget_show_all (hbox); gtk_widget_show_all (hbox);
gnumeric_keyed_dialog (wbcg, GTK_WINDOW (about), ABOUT_KEY); gnumeric_keyed_dialog (wbcg, GTK_WINDOW (about), ABOUT_KEY);
gnumeric_dialog_show (wbcg, GTK_DIALOG (about), TRUE, TRUE);
/* Close on click, close with parent */
gnumeric_dialog_show (wbcg, GNOME_DIALOG (about), TRUE, TRUE);
} }
...@@ -225,7 +225,7 @@ dialog_advanced_filter (WorkbookControlGUI *wbcg) ...@@ -225,7 +225,7 @@ dialog_advanced_filter (WorkbookControlGUI *wbcg)
gtk_widget_grab_focus (list_range); gtk_widget_grab_focus (list_range);
gtk_widget_set_sensitive (copy_to, FALSE); gtk_widget_set_sensitive (copy_to, FALSE);
loop: loop:
v = gnumeric_dialog_run (wbcg, GNOME_DIALOG (dia)); v = gnumeric_dialog_run (wbcg, GTK_DIALOG (dia));
sheet = wb_control_cur_sheet (WORKBOOK_CONTROL (wbcg)); sheet = wb_control_cur_sheet (WORKBOOK_CONTROL (wbcg));
......
...@@ -812,7 +812,7 @@ dialog_tool_init_outputs (GenericToolState *state, GtkSignalFunc sensitivity_cb) ...@@ -812,7 +812,7 @@ dialog_tool_init_outputs (GenericToolState *state, GtkSignalFunc sensitivity_cb)
GNUM_EE_SINGLE_RANGE, GNUM_EE_SINGLE_RANGE,
GNUM_EE_MASK); GNUM_EE_MASK);
gnumeric_expr_entry_set_scg (state->output_entry, gnumeric_expr_entry_set_scg (state->output_entry,