Rename enumeration to MENU_LABEL_FILESYSTEM

To match the renaming performed as part of Bug 741424 "Add support for
GPT partition names".  In particular this is most closely similar to:
    d480800600
    Rename enum to OPERATION_LABEL_FILESYSTEM (#741424)
This commit is contained in:
Mike Fleetwood 2019-06-27 12:48:26 +01:00 committed by Curtis Gedak
parent 3140b76a80
commit dae4deff39
2 changed files with 3 additions and 3 deletions

View File

@ -122,7 +122,7 @@ private:
toggle_item( state, MENU_CHECK ) ; }
void allow_label_filesystem( bool state ) {
toggle_item( state, MENU_LABEL_PARTITION ) ; }
toggle_item(state, MENU_LABEL_FILESYSTEM); }
void allow_name_partition( bool state ) {
toggle_item( state, MENU_NAME_PARTITION ); }
@ -294,7 +294,7 @@ private:
MENU_NAME_PARTITION,
MENU_FLAGS,
MENU_CHECK,
MENU_LABEL_PARTITION,
MENU_LABEL_FILESYSTEM,
MENU_CHANGE_UUID,
MENU_INFO
};

View File

@ -506,7 +506,7 @@ void Win_GParted::init_partition_menu()
GParted::Menu_Helpers::MenuElem(_("_Label File System"),
sigc::mem_fun(*this, &Win_GParted::activate_label_filesystem)));
menu_partition.append(*item);
partitionmenu_items[MENU_LABEL_PARTITION] = item;
partitionmenu_items[MENU_LABEL_FILESYSTEM] = item;
item = manage(new
GParted::Menu_Helpers::MenuElem(_("New UU_ID"),