diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-07-24 13:10:19 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2013-07-24 13:10:19 -0500 |
commit | 2ef49dc4fcf1b156310cd937ab8a5ff65afb1874 (patch) | |
tree | ce6b87ffef2b547407be7122db0769066b95508e | |
parent | 69f5f2cbbb7f12e71cf79ed3ae50187455dfd03a (diff) | |
download | ayatana-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.
-rw-r--r-- | src/idobasicmenuitem.c | 9 |
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 (¶meters[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)) |