Browse Source

Fix typo in applicationSmenu debugging.

upstream/xfce4-panel-4.10.1
Nick Schermer 13 years ago
parent
commit
cad0a5c268
  1. 2
      common/panel-debug.c
  2. 26
      common/panel-debug.h
  3. 6
      plugins/applicationsmenu/applicationsmenu.c

2
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 }
};

26
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;

6
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);
}

Loading…
Cancel
Save