Commit 302faa39 authored by Jody Goldberg's avatar Jody Goldberg Committed by Jody Goldberg

renamed from wbcg_set_transient_for and remove the old virtual wrapper.

2007-07-23  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c (wbcg_set_transient) : renamed from
	  wbcg_set_transient_for and remove the old virtual wrapper.

2007-07-23  Jody Goldberg <jody@gnome.org>

	* icons/win32-gnumeric.ico : regenerate using icotool and the new
	  tango icons.  Fixes the background. [#305311]

svn path=/trunk/; revision=15693
parent 6ee3cb1b
2007-07-23 Jody Goldberg <jody@gnome.org>
* src/workbook-control-gui.c (wbcg_set_transient) : renamed from
wbcg_set_transient_for and remove the old virtual wrapper.
* icons/win32-gnumeric.ico : regenerate using icotool and the new
tango icons. Fixes the background. [#305311]
2007-07-23 Morten Welinder <terra@gnome.org>
* configure.in (python): survive missing python stuff.
......
......@@ -880,14 +880,13 @@ if test "x$python_msg" = xyes; then
PYTHON_INCLUDE=`$echo "$PYTHON_INCLUDE" | sed -e 's/\\\\/\\//g'`
py_exec_prefix=`echo "$py_exec_prefix" | sed -e 's/\\\\/\\//g'`
pylibversion=`echo $PY_VERSION | sed -e 's/\\.//'`
GNM_PY_LDFLAGS="-L${py_exec_prefix}/libs -lpython${pylibversion}"
else
pylibversion="$PY_VERSION"
PY_APP="$PYTHON"
GNM_PY_LDFLAGS="-lpython${PY_VERSION}"
fi
AC_SUBST(PY_APP)
GNM_PY_LDFLAGS="-L${py_exec_prefix}/libs -lpython${pylibversion}"
m4_define([pygtk_required_version], [2.10.4])
PKG_CHECK_MODULES(PYGTK, pygtk-2.0 >= pygtk_required_version,,
[python_msg=no])
......
icons/win32-gnumeric.ico

17.6 KB | W: | H:

icons/win32-gnumeric.ico

16.8 KB | W: | H:

icons/win32-gnumeric.ico
icons/win32-gnumeric.ico
icons/win32-gnumeric.ico
icons/win32-gnumeric.ico
  • 2-up
  • Swipe
  • Onion skin
......@@ -316,7 +316,7 @@ dialog_search_replace_query (WorkbookControlGUI *wbcg,
new_text);
set_checked (gui, "qd_query", sr->query);
wbcg_set_transient_for (wbcg, GTK_WINDOW (dialog));
wbcg_set_transient (wbcg, GTK_WINDOW (dialog));
go_dialog_guess_alternative_button_order (dialog);
gtk_widget_show_all (GTK_WIDGET (dialog));
......
......@@ -536,7 +536,7 @@ static void
cb_custom_color_created (GOActionComboColor *caction, GtkWidget *dialog, WorkbookControlGUI *wbcg)
{
wbcg_edit_attach_guru (wbcg, dialog);
wbcg_set_transient_for (wbcg, GTK_WINDOW (dialog));
wbcg_set_transient (wbcg, GTK_WINDOW (dialog));
g_signal_connect_object (dialog,
"destroy",
G_CALLBACK (wbcg_edit_detach_guru), wbcg, G_CONNECT_SWAPPED);
......
......@@ -89,7 +89,6 @@ typedef struct {
void (*markup_changed) (WorkbookControlGUI const *wbcg);
/* virtuals */
void (*set_transient) (WorkbookControlGUI *wbcg, GtkWindow *window);
void (*create_status_area) (WorkbookControlGUI *wbcg, GtkWidget *progress,
GtkWidget *status, GtkWidget *autoexpr);
void (*actions_sensitive) (WorkbookControlGUI *wbcg,
......
......@@ -117,9 +117,6 @@ enum {
TARGET_SHEET
};
WBCG_VIRTUAL (set_transient,
(WorkbookControlGUI *wbcg, GtkWindow *window), (wbcg, window))
static WBCG_VIRTUAL (actions_sensitive,
(WorkbookControlGUI *wbcg, gboolean actions, gboolean font_actions), (wbcg, actions, font_actions))
static WBCG_VIRTUAL (reload_recent_file_menu,
......@@ -196,7 +193,7 @@ wbcg_toplevel (WorkbookControlGUI *wbcg)
}
void
wbcg_set_transient_for (WorkbookControlGUI *wbcg, GtkWindow *window)
wbcg_set_transient (WorkbookControlGUI *wbcg, GtkWindow *window)
{
go_gtk_window_set_transient (wbcg_toplevel (wbcg), window);
}
......@@ -2802,8 +2799,6 @@ workbook_control_gui_class_init (GObjectClass *gobject_class)
{
WorkbookControlClass *wbc_class =
WORKBOOK_CONTROL_CLASS (gobject_class);
WorkbookControlGUIClass *wbcg_class =
WORKBOOK_CONTROL_GUI_CLASS (gobject_class);
g_return_if_fail (wbc_class != NULL);
......@@ -2847,7 +2842,6 @@ workbook_control_gui_class_init (GObjectClass *gobject_class)
wbc_class->claim_selection = wbcg_claim_selection;
wbc_class->paste_from_selection = wbcg_paste_from_selection;
wbc_class->validation_msg = wbcg_validation_msg;
wbcg_class->set_transient = wbcg_set_transient_for;
wbcg_signals [WBCG_MARKUP_CHANGED] = g_signal_new ("markup-changed",
WORKBOOK_CONTROL_GUI_TYPE,
......
......@@ -36,12 +36,8 @@ void wbcg_copy_toolbar_visibility (WorkbookControlGUI *new_wbcg,
void wbcg_set_end_mode (WorkbookControlGUI *wbcg, gboolean flag);
void wbcg_set_transient_for (WorkbookControlGUI *wbcg, GtkWindow *window);
PangoFontDescription *wbcg_get_font_desc (WorkbookControlGUI *wbcg);
WorkbookControlGUI *wbcg_find_for_workbook (Workbook *wb,
WorkbookControlGUI *candidate,
GdkScreen *pref_screen,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment