diff options
author | Ted Gould <ted@gould.cx> | 2009-12-22 14:42:33 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2009-12-22 14:42:33 -0600 |
commit | fae3397a2ad00c87876d04131e9d2a6d2c04c5c7 (patch) | |
tree | f476321803e740affc8221847e7af307f7ec92a1 /src/users-service.c | |
parent | 9e9c366430db392d005442cc503e7cd990ca51c5 (diff) | |
parent | ca48c647eb998dbb41cca4c57274dfb24f6ee312 (diff) | |
download | ayatana-indicator-session-fae3397a2ad00c87876d04131e9d2a6d2c04c5c7.tar.gz ayatana-indicator-session-fae3397a2ad00c87876d04131e9d2a6d2c04c5c7.tar.bz2 ayatana-indicator-session-fae3397a2ad00c87876d04131e9d2a6d2c04c5c7.zip |
* Updating to use dbusmenu 0.2.0
* debian/control: Updating to depend on dbusmenu 0.2.0~dev or higher.
Diffstat (limited to 'src/users-service.c')
-rw-r--r-- | src/users-service.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/users-service.c b/src/users-service.c index b4310da..0297f01 100644 --- a/src/users-service.c +++ b/src/users-service.c @@ -65,9 +65,9 @@ static void gdm_settings_change (void) { if (!will_lock_screen()) { - dbusmenu_menuitem_property_set(lock_menuitem, DBUSMENU_MENUITEM_PROP_SENSITIVE, "false"); + dbusmenu_menuitem_property_set_bool(lock_menuitem, DBUSMENU_MENUITEM_PROP_SENSITIVE, FALSE); } else { - dbusmenu_menuitem_property_set(lock_menuitem, DBUSMENU_MENUITEM_PROP_SENSITIVE, "true"); + dbusmenu_menuitem_property_set_bool(lock_menuitem, DBUSMENU_MENUITEM_PROP_SENSITIVE, TRUE); } return; @@ -179,9 +179,9 @@ rebuild_items (DbusmenuMenuitem *root, g_signal_connect(G_OBJECT(lock_menuitem), DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED, G_CALLBACK(lock_screen), NULL); dbusmenu_menuitem_child_append(root, lock_menuitem); if (!will_lock_screen()) { - dbusmenu_menuitem_property_set(lock_menuitem, DBUSMENU_MENUITEM_PROP_SENSITIVE, "false"); + dbusmenu_menuitem_property_set_bool(lock_menuitem, DBUSMENU_MENUITEM_PROP_SENSITIVE, FALSE); } else { - dbusmenu_menuitem_property_set(lock_menuitem, DBUSMENU_MENUITEM_PROP_SENSITIVE, "true"); + dbusmenu_menuitem_property_set_bool(lock_menuitem, DBUSMENU_MENUITEM_PROP_SENSITIVE, TRUE); } if (can_activate == TRUE) |