aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-07-24 13:10:19 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-07-24 13:10:19 -0500
commit2ef49dc4fcf1b156310cd937ab8a5ff65afb1874 (patch)
treece6b87ffef2b547407be7122db0769066b95508e /src
parent69f5f2cbbb7f12e71cf79ed3ae50187455dfd03a (diff)
downloadayatana-ido-2ef49dc4fcf1b156310cd937ab8a5ff65afb1874.tar.gz
ayatana-ido-2ef49dc4fcf1b156310cd937ab8a5ff65afb1874.tar.bz2
ayatana-ido-2ef49dc4fcf1b156310cd937ab8a5ff65afb1874.zip
don't hardcode making com.canonical.indicator.progress insensitive; its sensitivity should follow its action's sensitivity.
Diffstat (limited to 'src')
-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))