Skip to contentSkip to conversation

Matchbox theme update

PATCH New Jussi Kukkonen 1 participant 3 messages Apr 28, 2016

lore
Share & tools
lore
#0 lore raw

cover Matchbox theme update

Update the matchbox window manager theme to be more compatible with current GTK default themes. The theme is now gray and boring but hopefully does not clash with everything else as badly. The titlebar is much thinner in preparation for the separation of panel and
titlebar: With client side decorations their integration is no longer possible.

This patchset is part of the quest to make Sato compatible with GTK+3. Complete WIP collection of patches can be found in jku/matchbox-wip branch at git://git.yoctoproject.org/poky-contrib

I'll try to send the rest of matchbox-* patchsets during this week.

Cheers,
Jussi

The following changes since commit e3ccc08d4a680d70fd4891fca966aa6ce503065c:

Fix png file name after rename (2011-09-16 10:44:13 +0100)

are available in the git repository at:

git://github.com/jku/matchbox-sato gtk3
https://github.com/jku/matchbox-sato/tree/gtk3

Jussi Kukkonen (2):
Make titlebar more like default GTK3
Remove the qvga theme

 Sato/matchbox/Makefile.am                  |  21 +-----
 Sato/matchbox/arrow-down-active-qvga.png   | Bin 333 -> 0 bytes
 Sato/matchbox/arrow-down-active.png        | Bin 511 -> 0 bytes
 Sato/matchbox/arrow-down-qvga.png          | Bin 332 -> 0 bytes
 Sato/matchbox/arrow-down.png               | Bin 556 -> 0 bytes
 Sato/matchbox/close-button-active-qvga.png | Bin 400 -> 0 bytes
 Sato/matchbox/close-button-active.png      | Bin 706 -> 251 bytes
 Sato/matchbox/close-button-qvga.png        | Bin 362 -> 0 bytes
 Sato/matchbox/close-button.png             | Bin 710 -> 251 bytes
 Sato/matchbox/dia-left-edge-qvga.png       | Bin 218 -> 0 bytes
 Sato/matchbox/dia-right-edge-qvga.png      | Bin 225 -> 0 bytes
 Sato/matchbox/dia-tile-qvga.png            | Bin 188 -> 0 bytes
 Sato/matchbox/open-menu-active.png         | Bin 0 -> 161 bytes
 Sato/matchbox/open-menu.png                | Bin 0 -> 161 bytes
 Sato/matchbox/theme-qvga.xml               | 109 -----------------------------
 Sato/matchbox/{theme-vga.xml => theme.xml} |  67 ++++++++++--------
 Sato/matchbox/titlebar-left-edge-qvga.png  | Bin 383 -> 0 bytes
 Sato/matchbox/titlebar-right-edge-qvga.png | Bin 385 -> 0 bytes
 Sato/matchbox/titlebar-tile-qvga.png       | Bin 267 -> 0 bytes
 configure.ac                               |  16 +----
 20 files changed, 39 insertions(+), 174 deletions(-)
 delete mode 100644 Sato/matchbox/arrow-down-active-qvga.png
 delete mode 100644 Sato/matchbox/arrow-down-active.png
 delete mode 100644 Sato/matchbox/arrow-down-qvga.png
 delete mode 100644 Sato/matchbox/arrow-down.png
 delete mode 100644 Sato/matchbox/close-button-active-qvga.png
 delete mode 100644 Sato/matchbox/close-button-qvga.png
 delete mode 100644 Sato/matchbox/dia-left-edge-qvga.png
 delete mode 100644 Sato/matchbox/dia-right-edge-qvga.png
 delete mode 100644 Sato/matchbox/dia-tile-qvga.png
 create mode 100644 Sato/matchbox/open-menu-active.png
 create mode 100644 Sato/matchbox/open-menu.png
 delete mode 100644 Sato/matchbox/theme-qvga.xml
 rename Sato/matchbox/{theme-vga.xml => theme.xml} (55%)
 delete mode 100644 Sato/matchbox/titlebar-left-edge-qvga.png
 delete mode 100644 Sato/matchbox/titlebar-right-edge-qvga.png
 delete mode 100644 Sato/matchbox/titlebar-tile-qvga.png
Signature · 1 line
2.8.1
#1 lore raw

PATCH 1/2 Make titlebar more like default GTK3

Includes titlebar layout, close and arrow buttons. Removes gradient, rounded corners and the bold green: The theme is now plain boring gray.

Button active states are currently same as inactive.

The new icons are modified from adwaita-icon-theme which is CC-BY-SA 3.0 (or LGPL 3+).

---
 Sato/matchbox/Makefile.am             |   4 +-
 Sato/matchbox/arrow-down-active.png   | Bin 511 -> 0 bytes
 Sato/matchbox/arrow-down.png          | Bin 556 -> 0 bytes
 Sato/matchbox/close-button-active.png | Bin 706 -> 251 bytes
 Sato/matchbox/close-button.png        | Bin 710 -> 251 bytes
 Sato/matchbox/open-menu-active.png    | Bin 0 -> 161 bytes
 Sato/matchbox/open-menu.png           | Bin 0 -> 161 bytes
 Sato/matchbox/theme-vga.xml           |  67 ++++++++++++++++++----------------
 8 files changed, 38 insertions(+), 33 deletions(-)
 delete mode 100644 Sato/matchbox/arrow-down-active.png
 delete mode 100644 Sato/matchbox/arrow-down.png
 create mode 100644 Sato/matchbox/open-menu-active.png
 create mode 100644 Sato/matchbox/open-menu.png
Sato/matchbox/Makefile.am +2 -2
index 3dc25a4..1bbc49e 100644
@@ -1,8 +1,8 @@
 pngs = \
   close-button.png         \
   close-button-active.png  \
-  arrow-down.png           \
-  arrow-down-active.png    \
+  open-menu.png            \
+  open-menu-active.png     \
   titlebar-left-edge.png   \
   titlebar-right-edge.png  \
   titlebar-tile.png        \
Sato/matchbox/arrow-down-active.png deleted binary +0 -0
deleted file mode 100644
index 62de85da7bea2a7de9f20affdb532574d1ad7f97..0000000000000000000000000000000000000000
GIT binary patch
Sato/matchbox/arrow-down.png deleted binary +0 -0
deleted file mode 100644
index 847be6b30468e09a5b55119d19b1850008a86bf5..0000000000000000000000000000000000000000
GIT binary patch
Sato/matchbox/close-button-active.png binary +0 -0
index 88b0845de8e709d917e80436e2c262d365adc43f..803083ebeb4dc8e8e689ac3d416dfb5905e3a5ef 100644
GIT binary patch
Sato/matchbox/close-button.png binary +0 -0
index 93786fb2a18003cbaf56e6f14f04f39ffaa4bc61..803083ebeb4dc8e8e689ac3d416dfb5905e3a5ef 100644
GIT binary patch
Sato/matchbox/open-menu-active.png new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..eac74bb221c10c336a2f663344df45a0b2d94d05
GIT binary patch
Sato/matchbox/open-menu.png new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..eac74bb221c10c336a2f663344df45a0b2d94d05
GIT binary patch
Sato/matchbox/theme-vga.xml +36 -31

111 lines not on this page · raw message

Signature · 1 line
2.8.1
#2 lore raw

PATCH 2/2 Remove the qvga theme

Not maintaining a 320px theme in 2016...

---
 Sato/matchbox/Makefile.am                  |  17 -----
 Sato/matchbox/arrow-down-active-qvga.png   | Bin 333 -> 0 bytes
 Sato/matchbox/arrow-down-qvga.png          | Bin 332 -> 0 bytes
 Sato/matchbox/close-button-active-qvga.png | Bin 400 -> 0 bytes
 Sato/matchbox/close-button-qvga.png        | Bin 362 -> 0 bytes
 Sato/matchbox/dia-left-edge-qvga.png       | Bin 218 -> 0 bytes
 Sato/matchbox/dia-right-edge-qvga.png      | Bin 225 -> 0 bytes
 Sato/matchbox/dia-tile-qvga.png            | Bin 188 -> 0 bytes
 Sato/matchbox/theme-qvga.xml               | 109 -----------------------------
 Sato/matchbox/{theme-vga.xml => theme.xml} |   0
 Sato/matchbox/titlebar-left-edge-qvga.png  | Bin 383 -> 0 bytes
 Sato/matchbox/titlebar-right-edge-qvga.png | Bin 385 -> 0 bytes
 Sato/matchbox/titlebar-tile-qvga.png       | Bin 267 -> 0 bytes
 configure.ac                               |  16 +----
 14 files changed, 1 insertion(+), 141 deletions(-)
 delete mode 100644 Sato/matchbox/arrow-down-active-qvga.png
 delete mode 100644 Sato/matchbox/arrow-down-qvga.png
 delete mode 100644 Sato/matchbox/close-button-active-qvga.png
 delete mode 100644 Sato/matchbox/close-button-qvga.png
 delete mode 100644 Sato/matchbox/dia-left-edge-qvga.png
 delete mode 100644 Sato/matchbox/dia-right-edge-qvga.png
 delete mode 100644 Sato/matchbox/dia-tile-qvga.png
 delete mode 100644 Sato/matchbox/theme-qvga.xml
 rename Sato/matchbox/{theme-vga.xml => theme.xml} (100%)
 delete mode 100644 Sato/matchbox/titlebar-left-edge-qvga.png
 delete mode 100644 Sato/matchbox/titlebar-right-edge-qvga.png
 delete mode 100644 Sato/matchbox/titlebar-tile-qvga.png
Sato/matchbox/Makefile.am +0 -17
index 1bbc49e..177ba77 100644
@@ -10,27 +10,10 @@ pngs = \
   dia-right-edge.png       \
   dia-tile.png
   
-qvgapngs = \
-  close-button-qvga.png         \
-  close-button-active-qvga.png  \
-  arrow-down-qvga.png           \
-  arrow-down-active-qvga.png    \
-  titlebar-left-edge-qvga.png   \
-  titlebar-right-edge-qvga.png  \
-  titlebar-tile-qvga.png        \
-  dia-left-edge-qvga.png        \
-  dia-right-edge-qvga.png       \
-  dia-tile-qvga.png
-
 themesdir = $(datadir)/themes/Sato/matchbox
 
-if WITH_QVGA
-themes_DATA = theme.xml $(qvgapngs)
-EXTRA_DIST = theme.xml $(qvgapngs) 
-else
 themes_DATA = theme.xml $(pngs)
 EXTRA_DIST = theme.xml $(pngs) 
-endif
 
 clean:
 	rm -f theme.desktop
Sato/matchbox/arrow-down-active-qvga.png deleted binary +0 -0
deleted file mode 100644
index 165a89021ae7b71e8b29c1a87c3ce632bb695210..0000000000000000000000000000000000000000
GIT binary patch
Sato/matchbox/arrow-down-qvga.png deleted binary +0 -0
deleted file mode 100644
index ed60885f1ffce5768f8a3dc84e52712c486a0154..0000000000000000000000000000000000000000
GIT binary patch
Sato/matchbox/close-button-active-qvga.png deleted binary +0 -0
deleted file mode 100644
index bdb081602b5b72ffee1df7a652a4409e232f7fb2..0000000000000000000000000000000000000000
GIT binary patch
Sato/matchbox/close-button-qvga.png deleted binary +0 -0
deleted file mode 100644
index 8d10c21cd1ce2b4eac0bd1f49eecfdb3a45d1bf8..0000000000000000000000000000000000000000
GIT binary patch
Sato/matchbox/dia-left-edge-qvga.png deleted binary +0 -0
deleted file mode 100644
index 1ab21a2b3f6df5506d2299a82191087ce4ac3bed..0000000000000000000000000000000000000000
GIT binary patch
Sato/matchbox/dia-right-edge-qvga.png deleted binary +0 -0
deleted file mode 100644
index 21bc6b92bd7291fe46f370c5569065cbf67ce129..0000000000000000000000000000000000000000
GIT binary patch
Sato/matchbox/dia-tile-qvga.png deleted binary +0 -0
deleted file mode 100644
index 9d442925637907ff07ef71705ca7dfcf0278c0a5..0000000000000000000000000000000000000000
GIT binary patch
Sato/matchbox/theme-qvga.xml deleted +0 -109

109 lines not on this page · raw message

Sato/matchbox/theme.xml renamed from Sato/matchbox/theme-vga.xml +0 -0
similarity index 100%
rename from Sato/matchbox/theme-vga.xml
rename to Sato/matchbox/theme.xml
Sato/matchbox/titlebar-left-edge-qvga.png deleted binary +0 -0
deleted file mode 100644
index 75342e618cef1a71151920ed3c677c3f64e30324..0000000000000000000000000000000000000000
GIT binary patch
Sato/matchbox/titlebar-right-edge-qvga.png deleted binary +0 -0
deleted file mode 100644
index 6e79c7fabeee5a39ee7d00f07b8693d7a3a7adca..0000000000000000000000000000000000000000
GIT binary patch
Sato/matchbox/titlebar-tile-qvga.png deleted binary +0 -0
deleted file mode 100644
index 26946a5712eeaa229d356796edb7ac92784a28ea..0000000000000000000000000000000000000000
GIT binary patch
configure.ac +1 -15
index e88b4a7..fab8464 100644
@@ -1,5 +1,5 @@
 # Process this file with autoconf to produce a configure script.
-AC_INIT(Sato/matchbox/theme-vga.xml)
+AC_INIT(Sato/matchbox/theme.xml)
 AM_INIT_AUTOMAKE(matchbox-theme-sato, 0.1)
 AM_CONFIG_HEADER(config.h)
 
@@ -17,19 +17,6 @@ AC_ARG_ENABLE(matchbox-2,
 AM_CONDITIONAL(MATCHBOX1, [test "x$matchbox1" = "xyes"])
 AM_CONDITIONAL(MATCHBOX2, [test "x$matchbox2" = "xyes"])
 
-flavour=vga
-AC_ARG_WITH([mode],
-            AC_HELP_STRING([--with-mode=@<:@vga/qvga@:>@], []),
-            flavour=$with_mode)
-
-AM_CONDITIONAL(WITH_QVGA, test "x$flavour" = "xqvga")
-
-if test "x$flavour" = "xqvga" ; then
-  cp Sato/matchbox/theme-qvga.xml Sato/matchbox/theme.xml
-else
-  cp Sato/matchbox/theme-vga.xml Sato/matchbox/theme.xml
-fi
-
 AC_OUTPUT([
 Makefile
 Sato/Makefile
@@ -43,5 +30,4 @@ echo "
 
         Matchbox WM 1 theme : ${matchbox1}
         Matchbox WM 2 theme : ${matchbox2}
-        Screen Mode         : ${flavour}
 "
Signature · 1 line
2.8.1