From a4f87d221cf7b13ceb213489fda234a1c5225ff2 Mon Sep 17 00:00:00 2001 From: ishmal Date: Tue, 26 Jun 2007 15:01:41 +0000 Subject: [PATCH] Add gtkrc to build.xml. Fix native path on --- build.xml | 48 +++++++++++++++++++++++++++++++++++++++++++++++- buildtool.cpp | 5 +++-- 2 files changed, 50 insertions(+), 3 deletions(-) diff --git a/build.xml b/build.xml index 72090f390..e83900662 100644 --- a/build.xml +++ b/build.xml @@ -499,7 +499,6 @@ - @@ -525,6 +524,53 @@ + + + gtk-icon-sizes = "gtk-menu=13,13:gtk-small-toolbar=16,16:gtk-large-toolbar=24,24:gtk-dnd=32,32:inkscape-decoration=16,16" + gtk-toolbar-icon-size = small-toolbar + + # disable images in buttons. i've only seen ugly delphi apps use this feature. + gtk-button-images = 0 + + # enable/disable images in menus. most "stock" microsoft apps don't use these, except sparingly. + # the office apps use them heavily, though. + gtk-menu-images = 1 + + # use the win32 button ordering instead of the GNOME HIG one, where applicable + gtk-alternative-button-order = 1 + + style "msw-default" + { + GtkWidget::interior-focus = 1 + GtkOptionMenu::indicator-size = { 9, 5 } + GtkOptionMenu::indicator-spacing = { 7, 5, 2, 2 } + GtkSpinButton::shadow-type = in + + # Owen and I disagree that these should be themable + #GtkUIManager::add-tearoffs = 0 + #GtkComboBox::add-tearoffs = 0 + + GtkComboBox::appears-as-list = 1 + GtkComboBox::focus-on-click = 0 + + GOComboBox::add_tearoffs = 0 + + GtkTreeView::allow-rules = 0 + GtkTreeView::expander-size = 12 + + GtkExpander::expander-size = 12 + + GtkScrolledWindow::scrollbar_spacing = 1 + + GtkSeparatorMenuItem::horizontal-padding = 2 + + engine "wimp" + { + } + } + class "*" style "msw-default" + + diff --git a/buildtool.cpp b/buildtool.cpp index 5975f86e1..94a430da3 100644 --- a/buildtool.cpp +++ b/buildtool.cpp @@ -38,7 +38,7 @@ * */ -#define BUILDTOOL_VERSION "BuildTool v0.7.0, 2007 Bob Jamison" +#define BUILDTOOL_VERSION "BuildTool v0.7.1, 2007 Bob Jamison" #include #include @@ -6852,8 +6852,9 @@ public: //trace("skipped "); return true; } + String fullNative = getNativePath(fullName); //trace("fullName:%s", fullName.c_str()); - FILE *f = fopen(fullName.c_str(), "w"); + FILE *f = fopen(fullNative.c_str(), "w"); if (!f) { error(" could not open %s for writing : %s", -- 2.30.2