extensions-tool: Rename ENABLED/DISABLED states
Follow the update terminology used by the extension system, in particular when displaying extension details to the user. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7004 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3073>
This commit is contained in:

committed by
Marge Bot

parent
7a9bfa2744
commit
01e9724d75
@ -31,10 +31,10 @@ extension_state_to_string (ExtensionState state)
|
||||
{
|
||||
switch (state)
|
||||
{
|
||||
case STATE_ENABLED:
|
||||
return "ENABLED";
|
||||
case STATE_DISABLED:
|
||||
return "DISABLED";
|
||||
case STATE_ACTIVE:
|
||||
return "ACTIVE";
|
||||
case STATE_INACTIVE:
|
||||
return "INACTIVE";
|
||||
case STATE_ERROR:
|
||||
return "ERROR";
|
||||
case STATE_OUT_OF_DATE:
|
||||
@ -43,10 +43,10 @@ extension_state_to_string (ExtensionState state)
|
||||
return "DOWNLOADING";
|
||||
case STATE_INITIALIZED:
|
||||
return "INITIALIZED";
|
||||
case STATE_DISABLING:
|
||||
return "DISABLING";
|
||||
case STATE_ENABLING:
|
||||
return "ENABLING";
|
||||
case STATE_DEACTIVATING:
|
||||
return "DEACTIVATING";
|
||||
case STATE_ACTIVATING:
|
||||
return "ACTIVATING";
|
||||
case STATE_UNINSTALLED:
|
||||
return "UNINSTALLED";
|
||||
}
|
||||
|
Reference in New Issue
Block a user