From 06d723aefe7fb794f50b1e7a0ad8ad4473ae8ac6 Mon Sep 17 00:00:00 2001 From: rathnor Date: Thu, 17 Jul 2003 23:39:34 +0000 Subject: updates from han - solaris fix for fb-gm - some additions to .cvsignore --- data/styles/.cvsignore | 2 ++ src/.cvsignore | 1 + util/fluxbox-generate_menu | 6 ++++-- 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 data/styles/.cvsignore diff --git a/data/styles/.cvsignore b/data/styles/.cvsignore new file mode 100644 index 0000000..282522d --- /dev/null +++ b/data/styles/.cvsignore @@ -0,0 +1,2 @@ +Makefile +Makefile.in diff --git a/src/.cvsignore b/src/.cvsignore index 06fd55e..cd148f5 100644 --- a/src/.cvsignore +++ b/src/.cvsignore @@ -3,3 +3,4 @@ Makefile Makefile.in fluxbox +defaults.hh diff --git a/util/fluxbox-generate_menu b/util/fluxbox-generate_menu index 40b4aa3..2e7ce88 100755 --- a/util/fluxbox-generate_menu +++ b/util/fluxbox-generate_menu @@ -22,7 +22,7 @@ # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # DEALINGS IN THE SOFTWARE. # -# $Id: fluxbox-generate_menu,v 1.39 2003/07/03 13:05:38 fluxgen Exp $ +# $Id: fluxbox-generate_menu,v 1.40 2003/07/17 23:39:34 rathnor Exp $ # # Portability notes: @@ -100,7 +100,7 @@ EOF } # ugly code for solaris compat. -case $(uname) in +case `uname` in Linux|*BSD) find_it() { which $1 > /dev/null 2>&1 && shift && $* @@ -931,6 +931,8 @@ append_submenu "${FBSETTINGSMENU}" "[exec] (Windowname) {xprop WM_CLASS|cut -d \\\" -f 2|xmessage -file - -center}" find_it import append "[exec] (screenshot) {import screenshot.png && qiv -W 50 screenshot.png}" find_it fbrun append "[exec] (Run) {fbrun}" + find_it switch append "[exec] (gtk-theme-switch) {switch}" + find_it switch2 append "[exec] (gtk2-theme-switch) {switch2}" find_it fluxbox-generate_menu append "[exec] (regenerate menu) {fluxbox-generate_menu}" append_menu_end -- cgit v0.11.2