aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog11
-rw-r--r--Makefile.am5
-rw-r--r--configure.ac13
-rw-r--r--data/titlebar-panel-applet-background-qvga.pngbin0 -> 184 bytes
-rw-r--r--data/titlebar-panel-applet-background.pngbin217 -> 142 bytes
-rw-r--r--data/titlebar-panel-background-qvga.pngbin0 -> 420 bytes
-rw-r--r--data/titlebar-panel-background.pngbin1496 -> 742 bytes
7 files changed, 29 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index cdff245..841b93a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2008-08-06 Galen Wetterling <wetterlg@openedhand.com>
+
+ * Makefile.am:
+ * configure.ac:
+ * data/titlebar-panel-applet-background-qvga.png
+ * data/titlebar-panel-background-qvga.png
+
+ Added qvga-sized images and a configure flag to use them:
+ --with-mode=vga (default, uses original images)
+ --with-mode=qvga (uses new images)
+
2008-02-22 Ross Burton <ross@openedhand.com>
* NEWS:
diff --git a/Makefile.am b/Makefile.am
index 7e9ed65..e794fdd 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -20,5 +20,10 @@ libsato_engine_la_LIBADD = $(GTK_LIBS)
themedir = $(datadir)/themes/Sato/
dist_theme_DATA = data/index.theme
+if WITH_QVGA
+gtkthemedir = $(themedir)/gtk-2.0
+dist_gtktheme_DATA = data/gtkrc data/titlebar-panel-background-qvga.png data/titlebar-panel-applet-background-qvga.png
+else
gtkthemedir = $(themedir)/gtk-2.0
dist_gtktheme_DATA = data/gtkrc data/titlebar-panel-background.png data/titlebar-panel-applet-background.png
+endif
diff --git a/configure.ac b/configure.ac
index 928235a..c856043 100644
--- a/configure.ac
+++ b/configure.ac
@@ -30,6 +30,15 @@ else
AC_SUBST(DRAW_C)
fi
+flavour=vga
+AC_ARG_WITH([mode],
+ AC_HELP_STRING([--with-mode=@<:@vga/qvga@:>@],
+ [Use vga or qvga images sizes [default vga]]),
+ flavour=$with_mode)
+
+AM_CONDITIONAL(WITH_QVGA, test "x$flavour" = "xqvga")
+
+
AC_SUBST(GTK_CFLAGS)
AC_SUBST(GTK_LIBS)
@@ -42,3 +51,7 @@ Makefile
AC_OUTPUT
+
+echo "
+ Using images for screen size : ${flavour}
+"
diff --git a/data/titlebar-panel-applet-background-qvga.png b/data/titlebar-panel-applet-background-qvga.png
new file mode 100644
index 0000000..28b1f91
--- /dev/null
+++ b/data/titlebar-panel-applet-background-qvga.png
Binary files differ
diff --git a/data/titlebar-panel-applet-background.png b/data/titlebar-panel-applet-background.png
index 71db739..6f52f71 100644
--- a/data/titlebar-panel-applet-background.png
+++ b/data/titlebar-panel-applet-background.png
Binary files differ
diff --git a/data/titlebar-panel-background-qvga.png b/data/titlebar-panel-background-qvga.png
new file mode 100644
index 0000000..c46b5e7
--- /dev/null
+++ b/data/titlebar-panel-background-qvga.png
Binary files differ
diff --git a/data/titlebar-panel-background.png b/data/titlebar-panel-background.png
index 34d068b..93802e7 100644
--- a/data/titlebar-panel-background.png
+++ b/data/titlebar-panel-background.png
Binary files differ