This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project wmaker-crm.git.

The branch, next has been updated
       via  43544fcb4e08c25b73ac00686e06317a1cc5b052 (commit)
       via  3c7646f87cb7cebde5bbea49b2a7b8a3c0cd4e80 (commit)
      from  137a571fece4b21bfca24b97e76d6b1a8151a477 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://repo.or.cz/w/wmaker-crm.git/commit/43544fcb4e08c25b73ac00686e06317a1cc5b052

commit 43544fcb4e08c25b73ac00686e06317a1cc5b052
Author: Doug Torrance <[email protected]>
Date:   Tue Jun 3 07:52:29 2014 -0600

    Add checkpatch.pl to distribution tarball.
    
    This patch includes checkpatch.pl in the EXTRA_DIST variable in Makefile.am 
so
    that it is included when a tarball is built using "make dist".

diff --git a/Makefile.am b/Makefile.am
index 3309718d..b92e0dde 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -36,7 +36,7 @@ EXTRA_DIST = TODO BUGS BUGFORM FAQ FAQ.I18N INSTALL   
INSTALL-WMAKER README.definable-cursor          
The-perfect-Window-Maker-patch.txt      README COPYING.WTFPL autogen.sh -       
email-clients.txt
+       email-clients.txt checkpatch.pl
 
 if USE_LCOV
 coverage-reset:

http://repo.or.cz/w/wmaker-crm.git/commit/3c7646f87cb7cebde5bbea49b2a7b8a3c0cd4e80

commit 3c7646f87cb7cebde5bbea49b2a7b8a3c0cd4e80
Author: David Maciejak <[email protected]>
Date:   Tue Jun 3 22:09:39 2014 +0800

    WPrefs: add expert option to disable switch panel
    
    This patch is adding a checkbox option in the expert panel
    to be able to disable the Alt-Tab window switching panel from the pref GUI.

diff --git a/WPrefs.app/Expert.c b/WPrefs.app/Expert.c
index e939df03..0ed0e149 100644
--- a/WPrefs.app/Expert.c
+++ b/WPrefs.app/Expert.c
@@ -31,6 +31,7 @@ static const struct {
 
        enum {
                OPTION_WMAKER,
+               OPTION_WMAKER_ARRAY,
                OPTION_USERDEF
        } class;
 
@@ -50,6 +51,9 @@ static const struct {
        { N_("Use SaveUnder in window frames, icons, menus and other objects."),
          /* default: */ False, OPTION_WMAKER, "UseSaveUnders" },
 
+       { N_("Disable Alt-Tab window switching panel."),
+         /* default: */ False, OPTION_WMAKER_ARRAY, "SwitchPanelImages" },
+
        { N_("Disable confirmation panel for the Kill command."),
          /* default: */ False, OPTION_WMAKER, "DontConfirmKill" },
 
@@ -96,7 +100,7 @@ typedef struct _Panel {
 #define ICON_FILE      "expert"
 
 
-static void createPanel(Panel * p)
+static void createPanel(Panel *p)
 {
        _Panel *panel = (_Panel *) p;
        WMScrollView *sv;
@@ -134,6 +138,15 @@ static void createPanel(Panel * p)
                                state = expert_options[i].def_state;
                        break;
 
+               case OPTION_WMAKER_ARRAY: {
+                               char *str = 
GetStringForKey(expert_options[i].op_name);
+                               if (str && strcasecmp(str, "None") == 0)
+                                       state = True;
+                               else
+                                       state = expert_options[i].def_state;
+                       }
+                       break;
+
                case OPTION_USERDEF:
                        state = WMGetUDBoolForKey(udb, 
expert_options[i].op_name);
                        break;
@@ -141,7 +154,7 @@ static void createPanel(Panel * p)
                default:
 #ifdef DEBUG
                        wwarning("export_options[%d].class = %d, this should 
not happenn",
-                                i, expert_options[i].class);
+                               i, expert_options[i].class);
 #endif
                        state = expert_options[i].def_state;
                        break;
@@ -154,7 +167,7 @@ static void createPanel(Panel * p)
        WMRealizeWidget(panel->box);
 }
 
-static void storeDefaults(_Panel * panel)
+static void storeDefaults(_Panel *panel)
 {
        WMUserDefaults *udb = WMGetStandardUserDefaults();
        int i;
@@ -165,6 +178,17 @@ static void storeDefaults(_Panel * panel)
                        SetBoolForKey(WMGetButtonSelected(panel->swi[i]), 
expert_options[i].op_name);
                        break;
 
+               case OPTION_WMAKER_ARRAY:
+                       if (WMGetButtonSelected(panel->swi[i]))
+                               SetStringForKey("None", 
expert_options[i].op_name);
+                       else {
+                               /* check if the array was not manually modified 
*/
+                               char *str = 
GetStringForKey(expert_options[i].op_name);
+                               if (str && strcasecmp(str, "None") == 0)
+                                       
RemoveObjectForKey(expert_options[i].op_name);
+                       }
+                       break;
+
                case OPTION_USERDEF:
                        WMSetUDBoolForKey(udb, 
WMGetButtonSelected(panel->swi[i]), expert_options[i].op_name);
                        break;

-----------------------------------------------------------------------

Summary of changes:
 Makefile.am         |    2 +-
 WPrefs.app/Expert.c |   30 +++++++++++++++++++++++++++---
 2 files changed, 28 insertions(+), 4 deletions(-)


repo.or.cz automatic notification. Contact project admin [email protected]
if you want to unsubscribe, or site admin [email protected] if you receive
no reply.
-- 
wmaker-crm.git ("The Window Maker window manager")


-- 
To unsubscribe, send mail to [email protected].

Reply via email to