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 92f9462928e4665d00db8f49fad6979f5b7c28ef (commit)
from 58e8b089afd8be882954f45bebe5abdeaca4ada2 (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/92f9462928e4665d00db8f49fad6979f5b7c28ef
commit 92f9462928e4665d00db8f49fad6979f5b7c28ef
Author: David Maciejak <[email protected]>
Date: Sun Aug 17 10:12:15 2014 +0800
wmaker: src/dialog cosmetic code change
This patch is just renaming the variable used for the info panel
from 'thePanel' to 'infoPanel'.
diff --git a/src/dialog.c b/src/dialog.c
index 20c82ac6..3d5d9d01 100644
--- a/src/dialog.c
+++ b/src/dialog.c
@@ -4,6 +4,7 @@
*
* Copyright (c) 1997-2003 Alfredo K. Kojima
* Copyright (c) 1998-2003 Dan Pascu
+ * Copyright (c) 2014 Window Maker Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -1127,7 +1128,7 @@ typedef struct {
"Copyright xc2xa9 1998-2006 Dan Pascun" "Copyright xc2xa9 2013-2014
Window Maker Developers Team"
-static InfoPanel *thePanel = NULL;
+static InfoPanel *infoPanel = NULL;
static void destroyInfoPanel(WCoreWindow *foo, void *data, XEvent *event)
{
@@ -1136,11 +1137,11 @@ static void destroyInfoPanel(WCoreWindow *foo, void
*data, XEvent *event)
(void) data;
(void) event;
- WMUnmapWidget(thePanel);
- wUnmanageWindow(thePanel->wwin, False, False);
- WMDestroyWidget(thePanel->win);
- wfree(thePanel);
- thePanel = NULL;
+ WMUnmapWidget(infoPanel);
+ wUnmanageWindow(infoPanel->wwin, False, False);
+ WMDestroyWidget(infoPanel->win);
+ wfree(infoPanel);
+ infoPanel = NULL;
}
void wShowInfoPanel(WScreen *scr)
@@ -1167,10 +1168,10 @@ void wShowInfoPanel(WScreen *scr)
"DirectColor"
};
- if (thePanel) {
- if (thePanel->scr == scr) {
- wRaiseFrame(thePanel->wwin->frame->core);
- wSetFocusTo(scr, thePanel->wwin);
+ if (infoPanel) {
+ if (infoPanel->scr == scr) {
+ wRaiseFrame(infoPanel->wwin->frame->core);
+ wSetFocusTo(scr, infoPanel->wwin);
}
return;
}
@@ -1382,7 +1383,7 @@ void wShowInfoPanel(WScreen *scr)
wWindowMap(wwin);
panel->wwin = wwin;
- thePanel = panel;
+ infoPanel = panel;
}
/*
-----------------------------------------------------------------------
Summary of changes:
src/dialog.c | 23 ++++++++++++-----------
1 files changed, 12 insertions(+), 11 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].