aboutsummaryrefslogtreecommitdiff
path: root/src/idobasicmenuitem.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/idobasicmenuitem.c')
-rw-r--r--src/idobasicmenuitem.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/idobasicmenuitem.c b/src/idobasicmenuitem.c
index 59e949c..b006d6a 100644
--- a/src/idobasicmenuitem.c
+++ b/src/idobasicmenuitem.c
@@ -21,8 +21,6 @@
#include "config.h"
#endif
-#include <string.h> /* strstr() */
-
#include <gtk/gtk.h>
#include "idoactionhelper.h"
@@ -304,7 +302,7 @@ ido_basic_menu_item_set_secondary_text (IdoBasicMenuItem * self, const char * se
/***
****
-****
+**** Progress Menu Item
****
***/
@@ -365,11 +363,6 @@ ido_progress_menu_item_new_from_model (GMenuItem * menu_item,
for (i=0; i<n; i++)
g_value_unset (&parameters[i].value);
- /* as per the spec, draw the progress widget greyed out */
-
- gtk_widget_set_sensitive (ido_menu_item->priv->label, FALSE);
- gtk_widget_set_sensitive (ido_menu_item->priv->secondary_label, FALSE);
-
/* give it an ActionHelper */
if (g_menu_item_get_attribute (menu_item, "action", "s", &str))