[gnome-panel] panel: Fix main menu detection for menu buttons
- From: Vincent Untz <vuntz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel] panel: Fix main menu detection for menu buttons
- Date: Mon, 4 Apr 2011 16:09:20 +0000 (UTC)
commit b6d96c86c75ccddd11e664860c3edacbb0e4bf81
Author: Vincent Untz <vuntz gnome org>
Date: Mon Apr 4 17:44:20 2011 +0200
panel: Fix main menu detection for menu buttons
The logic was inverted.
gnome-panel/panel-menu-button.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnome-panel/panel-menu-button.c b/gnome-panel/panel-menu-button.c
index ef95dfb..61cb5b5 100644
--- a/gnome-panel/panel-menu-button.c
+++ b/gnome-panel/panel-menu-button.c
@@ -656,7 +656,7 @@ panel_menu_button_is_main_menu (PanelMenuButton *button)
{
g_return_val_if_fail (PANEL_IS_MENU_BUTTON (button), FALSE);
- return !PANEL_GLIB_STR_EMPTY (button->priv->menu_path);
+ return PANEL_GLIB_STR_EMPTY (button->priv->menu_path);
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]