[Xfce4-commits] <xfce4-panel:master> Fix typo in applicationSmenu debugging.
Nick Schermer
noreply at xfce.org
Tue Jan 4 22:10:04 CET 2011
Updating branch refs/heads/master
to cad0a5c268ca9f6051ec0b33445e7f05b97f7ce8 (commit)
from 98795060c0edbf9e0bf066e3b65ca0fb4fea1c89 (commit)
commit cad0a5c268ca9f6051ec0b33445e7f05b97f7ce8
Author: Nick Schermer <nick at xfce.org>
Date: Tue Jan 4 20:05:16 2011 +0100
Fix typo in applicationSmenu debugging.
common/panel-debug.c | 2 +-
common/panel-debug.h | 26 +++++++++++++-------------
plugins/applicationsmenu/applicationsmenu.c | 6 +++---
3 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/common/panel-debug.c b/common/panel-debug.c
index efc7cd3..205c305 100644
--- a/common/panel-debug.c
+++ b/common/panel-debug.c
@@ -46,7 +46,7 @@ static const GDebugKey panel_debug_keys[] =
{ "external46", PANEL_DEBUG_EXTERNAL46 },
{ "tasklist", PANEL_DEBUG_TASKLIST },
{ "base-window", PANEL_DEBUG_BASE_WINDOW },
- { "applicationmenu", PANEL_DEBUG_APPLICATIONMENU },
+ { "applicationsmenu", PANEL_DEBUG_APPLICATIONSMENU },
{ "gdb", PANEL_DEBUG_GDB },
{ "valgrind", PANEL_DEBUG_VALGRIND }
};
diff --git a/common/panel-debug.h b/common/panel-debug.h
index 15ef492..4d93079 100644
--- a/common/panel-debug.h
+++ b/common/panel-debug.h
@@ -23,19 +23,19 @@
typedef enum
{
- PANEL_DEBUG_YES = 1 << 0, /* always enabled if PANEL_DEBUG is not %NULL */
- PANEL_DEBUG_MAIN = 1 << 1,
- PANEL_DEBUG_POSITIONING = 1 << 2,
- PANEL_DEBUG_DISPLAY_LAYOUT = 1 << 3,
- PANEL_DEBUG_STRUTS = 1 << 4,
- PANEL_DEBUG_APPLICATION = 1 << 5,
- PANEL_DEBUG_EXTERNAL = 1 << 6,
- PANEL_DEBUG_EXTERNAL46 = 1 << 7,
- PANEL_DEBUG_TASKLIST = 1 << 8,
- PANEL_DEBUG_BASE_WINDOW = 1 << 9,
- PANEL_DEBUG_APPLICATIONMENU = 1 << 10,
- PANEL_DEBUG_GDB = 1 << 11, /* run plugin in gdb */
- PANEL_DEBUG_VALGRIND = 1 << 12 /* run plugin in valgrind */
+ PANEL_DEBUG_YES = 1 << 0, /* always enabled if PANEL_DEBUG is not %NULL */
+ PANEL_DEBUG_MAIN = 1 << 1,
+ PANEL_DEBUG_POSITIONING = 1 << 2,
+ PANEL_DEBUG_DISPLAY_LAYOUT = 1 << 3,
+ PANEL_DEBUG_STRUTS = 1 << 4,
+ PANEL_DEBUG_APPLICATION = 1 << 5,
+ PANEL_DEBUG_EXTERNAL = 1 << 6,
+ PANEL_DEBUG_EXTERNAL46 = 1 << 7,
+ PANEL_DEBUG_TASKLIST = 1 << 8,
+ PANEL_DEBUG_BASE_WINDOW = 1 << 9,
+ PANEL_DEBUG_APPLICATIONSMENU = 1 << 10,
+ PANEL_DEBUG_GDB = 1 << 11, /* run plugin in gdb */
+ PANEL_DEBUG_VALGRIND = 1 << 12 /* run plugin in valgrind */
}
PanelDebugFlag;
diff --git a/plugins/applicationsmenu/applicationsmenu.c b/plugins/applicationsmenu/applicationsmenu.c
index 21a8511..8098767 100644
--- a/plugins/applicationsmenu/applicationsmenu.c
+++ b/plugins/applicationsmenu/applicationsmenu.c
@@ -211,7 +211,7 @@ applications_menu_plugin_init (ApplicationsMenuPlugin *plugin)
plugin->show_button_title = TRUE;
plugin->custom_menu = FALSE;
- panel_debug (PANEL_DEBUG_APPLICATIONMENU,
+ panel_debug (PANEL_DEBUG_APPLICATIONSMENU,
"XDG_MENU_PREFIX is set to \"%s\"",
g_getenv ("XDG_MENU_PREFIX"));
@@ -816,7 +816,7 @@ applications_menu_plugin_menu_reload (ApplicationsMenuPlugin *plugin)
if (plugin->menu != NULL)
{
- panel_debug (PANEL_DEBUG_APPLICATIONMENU,
+ panel_debug (PANEL_DEBUG_APPLICATIONSMENU,
"destroy menu for reload");
/* if the menu is opened, do not destroy it under the users'
@@ -1024,7 +1024,7 @@ applications_menu_plugin_menu (GtkWidget *button,
filename = g_file_get_parse_name (file);
g_object_unref (G_OBJECT (file));
- panel_debug (PANEL_DEBUG_APPLICATIONMENU,
+ panel_debug (PANEL_DEBUG_APPLICATIONSMENU,
"loading from %s", filename);
g_free (filename);
}
More information about the Xfce4-commits
mailing list