[aisleriot] The theme menu is never empty
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [aisleriot] The theme menu is never empty
- Date: Tue, 12 Apr 2011 16:47:04 +0000 (UTC)
commit 3522ee426155e37325c7111771becd384b3e35ea
Author: Christian Persch <chpe gnome org>
Date: Tue Apr 12 15:38:29 2011 +0200
The theme menu is never empty
... since it will always contain the Installâ?¦ item.
src/window.c | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/src/window.c b/src/window.c
index 5eada13..fc598f5 100644
--- a/src/window.c
+++ b/src/window.c
@@ -2348,15 +2348,6 @@ aisleriot_window_init (AisleriotWindow *window)
g_signal_connect (action, "activate",
G_CALLBACK (view_menu_activate_cb), window);
- /* FIXMEchpe: this isn't right. We do want to hide the menu if there's no
- * entry in it after the list is updated...
- */
-#if 0
- /* So the menu doesn't change size when the theme submenu is installed */
- action = gtk_action_group_get_action (priv->action_group, "ThemeMenu");
- g_object_set (action, "hide-if-empty", GINT_TO_POINTER (FALSE), NULL);
-#endif
-
/* It's possible that the themes list has already been loaded (e.g.
* if the theme loading above involved the fallback); in that case
* we need to update the menu right now.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]