[gedit] Use only icon in the toolbar in windows



commit 50f31e6467c7cd30b4c5025f1014c2b69a822544
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Mon Nov 2 20:20:22 2009 +0100

    Use only icon in the toolbar in windows

 configure.ac             |    4 ++++
 data/gedit.schemas.in.in |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 6b7c603..ae6261d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,6 +55,9 @@ dnl active plugins for gedit.schemas
 ACTIVE_PLUGINS="docinfo,modelines,filebrowser,spell,time"
 AC_SUBST(ACTIVE_PLUGINS)
 
+dnl toolbar style for gedit schemas
+TOOLBAR_STYLE="GEDIT_TOOLBAR_SYSTEM"
+
 dnl check for win32 platform
 AC_MSG_CHECKING([for Win32 platform])
 case "$host" in
@@ -62,6 +65,7 @@ case "$host" in
     platform_win32=yes
     AC_CHECK_TOOL(WINDRES, windres)
     ACTIVE_PLUGINS="${ACTIVE_PLUGINS},checkupdate"
+    TOOLBAR_STYLE="GEDIT_TOOLBAR_ICONS"
     ;;
   *)
     platform_win32=no
diff --git a/data/gedit.schemas.in.in b/data/gedit.schemas.in.in
index aef60f5..b8cd4fa 100644
--- a/data/gedit.schemas.in.in
+++ b/data/gedit.schemas.in.in
@@ -278,7 +278,7 @@
       <applyto>/apps/gedit-2/preferences/ui/toolbar/toolbar_buttons_style</applyto>
       <owner>gedit</owner>
       <type>string</type>
-      <default>GEDIT_TOOLBAR_SYSTEM</default>
+      <default>@TOOLBAR_STYLE@</default>
       <locale name="C">
 	<short>Toolbar Buttons Style</short>
 	<long>Style for the toolbar buttons.  Possible values are



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